Live data from Hacker News

A bunch of programming advice I'd give to myself 15 years ago

mbuffett.com

11–20 of 327 posts

Re: A bunch of programming advice I'd give to myself 15 years ago

#11
Most of this advice has already clicked with me, but this part:

> If you can't easily explain why something is difficult, then it's incidental complexity, which is probably worth addressing

That's a real eye-opener. Hope I remember this next time I implement something complex. The thing is, I don't think this stuff would've helped me much when I was a junior dev. A lot of them are just too nuanced.

Re: A bunch of programming advice I'd give to myself 15 years ago

#12
> If you can’t easily explain why something is difficult, then it’s incidental complexity, which is probably worth addressing.

This one is good and has been following me since I've became a manager. Thanks to you, I know how to apply that objection to "press" people when I feel we're dealing with this kind of complexity.

Re: A bunch of programming advice I'd give to myself 15 years ago

#13
The one thing I disagree is the thing about editors.

When I began coding I spent hours tweaking my vimrc file and learning all the essentially random shortcuts, and dealing with the absurdities of vimscript. (and debugging vim plugins that broke each other.) It felt like actual work while I was producing nothing.

Now I just open vscode with default settings and I am productive right away. Who cares about editors, vscode is good enough.

But maybe just vim sucks and I should have been playing with emacs all along, I don't know.

Re: A bunch of programming advice I'd give to myself 15 years ago

#14

The one thing I disagree is the thing about editors. When I began coding I spent hours tweaking my vimrc file and learning all the essentially random shortcuts, and dealing with the absurdities of vimscript. (and debugging vim plugins that broke each other.) It felt like actual work while I was producing nothing. Now I just open vscode with default settings and I am productive right away. Who cares about editors, vsc…

When you began coding, was there vscode? These days there's lazyvim to let you skip all that fine tuning if you want to "just use vim".

Re: A bunch of programming advice I'd give to myself 15 years ago

#15

Those are way too abstract advice when you start programming. You can only understand them because you lived those situations, which implies experience you don't have. I would say (specifically to my young self): - There is no substitute for doing. Less tutorials, more coding. - Stop being obsessed with quality: you are not at the level where you can provide it yet. Do dirty. Do badly. But ship. Some people will be m…

I have a very severe case of impostor syndrome. :(

In a world of imposters, the half decent imposter is king.

Re: A bunch of programming advice I'd give to myself 15 years ago

#16
post #4

Those are way too abstract advice when you start programming. You can only understand them because you lived those situations, which implies experience you don't have. I would say (specifically to my young self): - There is no substitute for doing. Less tutorials, more coding. - Stop being obsessed with quality: you are not at the level where you can provide it yet. Do dirty. Do badly. But ship. Some people will be m…

A bit snarky, but I would add - don’t read opinions from a list and take it as gospel. Adapt to the jobs you’re in, and you’ll develop your own opinions, but now with experience to explain why. Opinions are formed by getting repeatedly hit with the consequences of your (and other’s) decisions, and everyone just has to take enough hits till the pattern seeking area of your brain takes over.

I agree, form your opinions when you have enough information.

For example, if you can’t decide between two data structures or tech, pick one and add a comment:

// I’m not sure

Re: A bunch of programming advice I'd give to myself 15 years ago

#18
post #5

Those are way too abstract advice when you start programming. You can only understand them because you lived those situations, which implies experience you don't have. I would say (specifically to my young self): - There is no substitute for doing. Less tutorials, more coding. - Stop being obsessed with quality: you are not at the level where you can provide it yet. Do dirty. Do badly. But ship. Some people will be m…

* This * - The users don't care about the tech. They care about the result.

To the extent users do care about the tech, they care about performance not how "clean" the code is or whether you're using the newest framework. Users hate when software is slow or uses an exorbitant amount of memory.

Re: A bunch of programming advice I'd give to myself 15 years ago

#19

Those are way too abstract advice when you start programming. You can only understand them because you lived those situations, which implies experience you don't have. I would say (specifically to my young self): - There is no substitute for doing. Less tutorials, more coding. - Stop being obsessed with quality: you are not at the level where you can provide it yet. Do dirty. Do badly. But ship. Some people will be m…

> There is no substitute for doing. Less tutorials, more coding.

This may be good advice for yourself in the past, and for many people at lots of times, but I'd hesitate to give it as general advice. Reading code others have written should not be understated as way to learn valuable things from fundamental patterns and algorithms to language features and idioms. If you have a job in a team, this may happen anyway, but it's possible to write lots of code without realizing there's a better way.

Re: A bunch of programming advice I'd give to myself 15 years ago

#20

Those are way too abstract advice when you start programming. You can only understand them because you lived those situations, which implies experience you don't have. I would say (specifically to my young self): - There is no substitute for doing. Less tutorials, more coding. - Stop being obsessed with quality: you are not at the level where you can provide it yet. Do dirty. Do badly. But ship. Some people will be m…

Stop being obsessed with quality: you are not at the level where you can provide it yet. Do dirty. Do badly. But ship.

You'll reach the level you want to avoid doing all this.

What if future you has reached that level and people on your team are shipping spaghetti?

Post reply on HN