Live data from Hacker News

Ask HN: Which hard skills can I learn to become a better programmer?

news.ycombinator.com

1–10 of 20 posts

Re: Ask HN: Which hard skills can I learn to become a better programmer?

#2
* Recursive file system management tools. Most developers cannot navigate a tree model and cower in great fear

* performance analysis/monitoring tools. Most developers are astoundingly bad at performance and then lie about it with weird unfounded guesses

* markdown to html parser or the opposite. Most developers have no idea the actual cost of involvement required for basic string parsing and wrongly believe it’s free

* network proxy. Aside from authentication this is mind blowingly simple. Most developers will supremely over engineer this

* API documentation. In a world where the average developer struggles to write an email actually describing inputs, purpose, and outputs clear enough for a stranger to follow can be quite the impossibility

---

That is taken from a recent comment in this thread: https://news.ycombinator.com/item?id=42157595

Re: Ask HN: Which hard skills can I learn to become a better programmer?

#5
You haven't mentioned which hard skills you've already mastered.

* Abstract reasoning - everything in programming is abstraction

* Critical thinking - is the first way you've thought of to solve something actually an optimal way? how could you improve it?

* Problem decomposition - solve large problems by breaking them down into smaller component problems

* Multiprocessing/multithreading and IPC - at some point one process/thread isn't enough

* Networking fundamentals - may not contribute directly to better programming per se but will for sure help with debugging/troubleshooting

Re: Ask HN: Which hard skills can I learn to become a better programmer?

#6
Learn when to pushback and when to give in. Pushing back makes you looks smarter giving in more of a team player. Figuring out a proper balance for your environment is key.

Learn to constantly explore and be curious. Think like a hacker and the skills you need will become apparent when you try to do something and hit a wall.

Read this once a day for 7 days. You already are a better programmer.

https://www.mit.edu/~xela/tao.html

Re: Ask HN: Which hard skills can I learn to become a better programmer?

#8
Some of the other skills mentioned are on the softer side but still good but touch typing is a specific, practicable hard skill that does help. You can be a decent programmer without knowing how to touch type, and so much of programming is reading, not writing, but when you are going from thought to code, being able to do so at 120 wpm vs 20 wpm makes a difference.

Re: Ask HN: Which hard skills can I learn to become a better programmer?

#9
A lot of emphasis is put on programming "the code". What I find can simplify a lot of thought processes is to think of the overall action from the outside of the code. Often a system is transitioning from one persisted, consistent state to another persisted consistent state. Reasoning should begin from what needs to be applied to the persisted state at the lower level (e.g. SQL statements). The 'consistency' can be thought of in terms of invariants which must be upheld. Once you have those in mind, you only have to work out the 'plumbing' details of how the code is structured to get the job done.

Besides that learn the details about your infrastructure (what it can and can't do, datastores, networking) and your frameworks/libraries. Don't be afraid to go outside the frequently painted lines to do what's possible, not only what's been done before.

In terms of programming, it's good to learn other languages and formulations that let you think at a higher level. e.g. using map or reduce level processing or single assignment of variable values, immutable collections once constructed, etc simplifies code construction while avoiding common pitfalls like off-by-one errors, shared mutable references, or distributing a single piece of logic in different places. Pay a lot of attention to how to name things, lower level constructs should simply be what they do, higher level things go toward why they're being done. Separation of mechanism (lower implementation) and policy (higher level uses) fits naturally into structuring which is easy to work with and highly adaptable to new requirements.

Lastly don't refactor dogmatically. Choose what the factors are before redrawing the system/process along those seams. Deal with each factor once and avoid having to write, reason about, test factors in combination whenever possible.

I wouldn't consider any of these things as 'hard' (unless you meant technical), it only seems so because they are considered later (after being painted into a corner) rather than sooner.

Re: Ask HN: Which hard skills can I learn to become a better programmer?

#10
Attention to soft skills involving people might be a hard skill for you. Or not. The question does not contain sufficient context. But often people want to improve in areas that avoid dealing with areas they want to avoid.

Hard skills can be outsourced (Facebook hired Carmac, Google hired Norvig). Soft skills can't. Soft skills are what usually makes someone a good-programmer-in-the-sense-people-want-to-work-with-them-again. Good luck.

Post reply on HN