2,860 karma · joined Feb 27, 2013 (13y ago) · 3,455 submissions
comment 6mo ago · link · parent
Thinking hard (and discussing with experienced colleagues) before writing any code can dramatically speed up your overall delivery time and completely remove whole classes of potential errors.
If you skip the "thinking hard" bit to "go fast" you will probably end up being 10x slower overall.
comment 6mo ago · link · parent
What is shocking to me is that people give away their work for free and then get upset when they have financial problems. It should be kinda obvious that one leads to the other. Except in unusual cases (Linus for example).
Yes I agree it would be nice if that was not the case. If people were always generous and always did the right thing. However that is not how people operate in general. Pretending otherwise is crazy.
comment 6mo ago · link · parent
I thought so too, spend a bit of time getting deeply into it, and then realised that nope it really isn't that interesting if all you care about is writing good software.
There are people in the Haskell community who is really into math and how it can be mapped to Haskell. And hey that's all good and fine but there are much better things to study if what you focus on is writing good software.
I would (for example) recommend learning LEAN. It is mind blowingly good for your brain and will make you a better software developer.
comment 6mo ago · link · parent
LLVM at the IR level has no understanding of the semantics of your language and therefore can't do the kind of optimisations that will really make a big speed difference.
I ended up having two custom IR's for a very high performance compiler I maintain at work. It made a big difference.
comment 6mo ago · link · parent
I spend a significant amount of time improving performance for our paying customers because performance absolutely matters to them. They might use a single simple feature hundreds of times during a normal workday. When we make that experience even 10% faster or smoother, they notice immediately and are genuinely delighted by it. That creates an enormous amount of goodwill.
And sometimes we can go even further and completely automate tedious workflows they hate doing manually. That’s even more valuable.
Developers with experience from the games industry understand this instinctively. Even when the software has nothing to do with games, they tend to have a deep appreciation for responsiveness, efficiency, and user experience. That’s why I’m always excited to hire people with that background.
comment 6mo ago · link · parent
Instead, simply be a professional and fix what is needed, while working on non-developer visible tasks.
Don't allow people with zero clue to make those decisions. You are the expect. Make the decision.
comment 6mo ago · link · parent
Some of the worst programmers I have ever worked with had 30+ years of experience. They basically spend all of their time fixing bug after bug in a never ending cycle because the software they produced was so fragile that it would crash if you just looked at it wrong or the temperature in the room wasn't perfect.
While others with the same number of years of experience had massive systems in production for years with not a single bug reported by the happy users.
comment 6mo ago · link · parent
I have tried everything from generating a complete, detailed spec using AI and then one-shot generating the code, to generating code one step at a time with me reviewing each result.
The speed is pretty much the same. But generating code one step at a time is IMHO vastly superior because I deeply understand the code and can easily fix issues that the AI get stuck trying to fix.
comment 6mo ago · link · parent
However if you make your own programming language and want to post about it on HN, please add something new to the language that makes the language interesting.
I don't think we need yet another look-mum-I-made-a-compiler-for-a-language-that-is-similar-to-N-other-languages-but-with-a-slightly-different-syntax-and-zero-libraries post on HN.
Just saying.
comment 6mo ago · link · parent
Often is not goo enough. I always carefully review AI generated code and sometimes find and fix bugs.
Apparently (according to a Google survey I think?) AI's produce 1.7 times the number of bugs that a human typically does.