Hacker News new | ask | show | jobs
by austin-cheney 95 days ago
I prefer to write in TypeScript. The "moat" for any TypeScript artifacts is training/experience. Most people who write in this language, or especially JavaScript, cannot confidently write original code. They cannot architect, struggle to plan, and cannot navigate multi-dimensional data structures. So if you want to be safe from other humans just write in vanilla code without use of frameworks, dependencies, or code agents. The code can be exceptionally well organized, well commented with explicit instructions, and amazing clear to read and even still the idea of deviating away from a small collection of finite memorized patterns will be unforgivably emotionally traumatizing to most people who write in this language professionally.

That has down stream consequences as well. If developers feed logic they do not understand to an LLM and then use that output as though they wrote it themselves they own the consequences of those changes. Open source licenses frequently include a no warranty clause, but at the very least you can reach out to the authors and ask for guidance/assistance. No original author is going to spend their time decoding your AI slop when you haven't spent the time to understand the code in the first place.