2,859 karma · joined Feb 27, 2013 (13y ago) · 3,460 submissions
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.
comment 6mo ago · link · parent
It is fun and IMHO the best way to learn LISP.
If you get stuck read through one of the many examples online and then try again without looking at those examples.
comment 6mo ago · link · parent
That said, it still frequently introduces subtle bugs, so I have to review every change carefully.
The real trick is learning when to use it. Some tasks are much faster to do myself, while others are faster with Claude Code.
comment 7mo ago · link · parent
However my #1 productivity tool is still a custom code generator I have been using for years. It routinely generates 90+% of the code needed to write a typical biz web application, leaving just the business logic.
No AI. Just straightforward high-level-spec-to-server-client-DB code that is 100% trusted and proven in battle.
comment 7mo ago · link · parent
Developing a "new kind of programming system" has been done many times before. Think case tools, functional programming, object oriented programming, CORBA, DDD, etc. etc. etc.
So best of luck but I highly recommend not investing your time unless you have at least one truly new idea that will change the outcome for the better.
comment 7mo ago · link · parent
If you are an UI designer and want to create art then fine do that in your spare time. But at work be a professional and make the UI predictable and functional above all else.
317.
Why Companies Are Quietly Rehiring Software Engineers(youtube.com ↗)
3 points · by deterministic · 7mo ago · 1 comment
comment 7mo ago · link · parent
In other words, the code was proven correct according to spec by LEAN. Which is exactly what LEAN claims to do.
comment 7mo ago · link · parent
Instead just get started with the smallest possible step you can just about manage to do. And then do another smallest step. A lot of times you almost automatically keep going and the motivation then arrives.
Maybe the first step is to create a basic "Hello World" application. And then a few empty functions/methods that flesh out what the app needs to do. Then maybe a few of those methods/functions are really easy to do (or AI can write them for you) so you quickly do those. Etc.
comment 7mo ago · link · parent
It is easy to come up with questions that the author would fail in an interview. Simply because there are thousands of minutia details that most senior developers wouldn't know about.
What the interviewer should focus on is the ability to solve real world problems. For example by walking the interviewee through a real world business scenario and letting the interviewee describe how he/she would solve the problem.
comment 7mo ago · link · parent
Both when initially writing the code and later when maintaining it.
Good code dramatically reduce bugs and makes the remaining bugs more visible.
I spend almost zero time fixing bugs. Because there aren't many. Not a brag. Just the truth.