top | item 15015270

Ask HN: If you were better at programming, what program would you write?

33 points| acidus | 8 years ago | reply

32 comments

order
[+] neilsimp1|8 years ago|reply
It's rarely me not being good enough that's the problem. If I had more time, that would allow me to write the programs I'd want to write.
[+] crypticlizard|8 years ago|reply
Well I'd argue being better night make all the difference. If the set of possible programs includes ones extremely difficult to program, then are those programs possible to program given an ordinary developer and sufficient time? Definitely not imo. Some things only a genius programmer could do. That programmer could come along and invent a way to do ai using today's commodity hardware. Without that ingeniousness it's doubtful more time would do the same for ordinary developers. Do I believe I could do it given enough time? No. Could some genius somewhere today? Maybe.i wouldn't rule it out, in fact I'm fascinated by it.
[+] shortoncash|8 years ago|reply
I love this comment because this is how I always feel.

Programming just feels like a large game of managing expectations. It often feels like I never have time to do anything "right", so I have to make trade-offs before some impending deadline. This is a serious source of discomfort in this profession that never seems to want to go away.

[+] twoquestions|8 years ago|reply
As neilsimp1 mentioned, it's not about not being good enough, as that's fixable with sufficient time.

To answer your question, I'd write a fantasy economic sim game like a sequel to Patrician III or something, except with wizards and weird races and stuff. A big bit of the game would be negotiating with customers for custom goods and services.

Exactly how much money would it cost to for a casting of Bull's Strength before a mercenary engagement? What are the obligations a wizard has in the event their town gets attacked? When is the Teleport spell economically viable vs just taking a boat? How do you negotiate with beings very alien to you?

Classic pet project that I've wanted to do for years, just never had the time/concentration to do it.

[+] natch|8 years ago|reply
I'd find which top python modules have not been ported to python 3 and port them to python 3, working in descending order of popularity. Anything to end version hell with python modules and their related installation, dependencies, documentation, examples, and tutorials.

Sure, it may be possible to get things working smoothly today, but that doesn't mean that all the areas I mentioned (documentation, etc.) have caught up. The primary reason they don't catch up is the straggler libraries keep many teams in a past era.

[+] jamesmishra|8 years ago|reply
If I was really really good, I'd advance the state-of-the-art in neural network-based machine translation, recurrent neural network language models, neural Turing machines, etc.

Right now, the state-of-the-art is exciting but falls short in some world-changing areas like question-answering. As much as I want to, though, I have no idea how to push the field forward, however.

For the other things I want to do, I am probably sufficiently skilled to do, but I just need the time and motivation.

[+] crypticlizard|8 years ago|reply
Intelligent answers are hard to come by, that's why I too would write a a program capable of Spock like question answering facility.
[+] mhh__|8 years ago|reply
If I had an infinite amount of time, I would write a much higher level equivalent of LLVM. Specifically, I would spend time investigating ways to easily generate code generators from specifications. I'm also very interested to see how things like theorem provers can be used inside compilers.

If I could be bothered, I would write a really detailed political simulator a la Democracy but with much more detail and elections.

[+] rajeshp1986|8 years ago|reply
I doubt any engineer considers himself not good enough to write any app/program and is sitting without building it. I feel many people have the ability to dive and explore and build things once they get a problem to solve. many of us don't realize the problems itself because they are busy working on something else. Also, you only realize the problems when you are actively involved into it. As an example, I have no idea if there is big problem that could be solved in say Finance industry. Identifying problem is a big hurdle. Also, many engineers are sitting in echo chamber where they don't get to know about relevant problems which they can solve.
[+] muzani|8 years ago|reply
Some kind of procedurally generated fantasy world, designed around generating stories.
[+] 3minus1|8 years ago|reply
this sounds really cool. some of my favorite games are essentially sandboxes (mount & blade, pirates), and I like the idea of taking the sandbox and building in non-trivial, non-artificial non-deterministic stories.
[+] quickthrower2|8 years ago|reply
A Bitcoin trading bot that makes me a tonne of money
[+] devotedtoneu|8 years ago|reply
I wrote one of these, and it was incredibly successful!

disregarding transaction fees of course, otherwise it was horrible :)

[+] shakna|8 years ago|reply
The "hard" programs I've come up with over the years very rarely have anything to do with programming skill.

A content-first web browser (think Reader-Mode for every page), depends on: a) Learning the differences between the HTTP|HTML|CSS|JS specs, and what browsers actually implement, and b) heuristically lifting out the content.

b) is a programming problem, not easy to solve well, but there's been a lot of work in that area to lean on.

a) is a documentation/people problem. Not my area of expertise, but definitely the harder problem of the two.

[+] mattbgates|8 years ago|reply
It's not the type of programming I'd write, but what I'd write it in... I develop web apps.. which are mobile friendly, but I've yet to really have any desire to break into the iOS and Android app market.
[+] mars4rp|8 years ago|reply
I would create a DB engine that runs on FPGA, it will translate SQL store procedures to HDL and run the query on FPGA. It might be stupid, but I am not a better programmer to know!
[+] bobosha|8 years ago|reply
A daemon app that saves my slack messages to gmail or even local text files, so I can find older messages. I know this is not difficult, but wish I had some bandwidth to work on this...
[+] thexa4|8 years ago|reply
A fetchmail cronjob will probably get you pretty far. I use this to backup my mail.
[+] prodboard|8 years ago|reply
I would write an app which offers the best places to visit in any city or town according to my preferences and likes&dislikes indicated.
[+] Artlav|8 years ago|reply
The same, only i would have finished some of them.
[+] soulchild37|8 years ago|reply
Probably not write but if I have more knowledge on computer/programming I would want to understand source code of Linux/Rails.
[+] SKYRHO_|8 years ago|reply
If(I){ were better at programming I would write a program that would teach me how to program better }
[+] sova|8 years ago|reply
Distributed blockchain democracy
[+] kleer001|8 years ago|reply
Excellent, I'm right with you. But, ahhh, I'm afraid that's more of a software problem than just a program problem.