- 2 Posts
- 9 Comments
What’s interesting is that people learning to code are more likely to say “I’m not using AI and I don’t plan to” then professionals.
Sounds counter intuitive to me because I expected professionals to be more conservative in that matter. They already have some habits developed, as opposed to new learners that in theory should benefit from AI because it makes doing simple things easier and can quite well explain basic concepts.
vermaterc@lemmy.mlto Programming@programming.dev•This Overly Long Variable Name Could Have Been a Comment | Jonathan's Blog1·2 months agoEverything comes down to proper function naming. If it wasn’t clear what function should return, then it was not named properly.
vermaterc@lemmy.mlto Programming@programming.dev•This Overly Long Variable Name Could Have Been a Comment | Jonathan's Blog6·2 months agoThat hits me like something a teacher tells you in a coding class that turns out to be nonsense when you get to the real world.
In a company I work in, we have “no comments policy” for at least ~10 years now and we are not planning to change that. It’s not just theory, we work like this in practice and purpose of each part of code is perfectly understandable just from variable names, file names, namespaces, function names.
vermaterc@lemmy.mlto Programming@programming.dev•This Overly Long Variable Name Could Have Been a Comment | Jonathan's Blog36·2 months agoThe biggest problem with comments is that they can become outdated. If you change code but forget to change comment you introduce very dangerous situation where they become not only not useful, but also misleading.
If you rely on variable names, you’ve got a single source of truth, one thing to change at a time. Information updates itself.
I mean: it is a writing error, because you can’t compare “class based” to OOP, since they are just different things, but this is what is suspect was the case ;)
Object oriented languages can be either class based or prototype based. Java is class based, JS was back then prototype based
This clearly shows how chaotic development of javascript really was.
It has always been like:
- Design a language for small browser scripts
- People suddenly start using it somewhere else
- It turns out it does not fit to where people try to use it
- Hundreds of frameworks appear to fix this, milion standards appear, people fight for years to work out a single go-to solution
- Return to point 2
vermaterc@lemmy.mlto Programming@programming.dev•Devs sound alarm after Microsoft subtracts C/C++ extension from VS Code forks226·4 months agoA few things to point out:
- Microsoft created this extension and pays money to develop it
- Despite that, they give it to programmers for free. It is still free of charge.
- They explicitly said that using it outside of their products is forbidden (according to article: at least 5 years ago), they just didn’t enforce it
- Someone (here: Cursor developers), despite that, used it in their products and started to make money from it
What exactly are you mad at? When will programming community finally understand that Microsoft is not a non-profit company and its primary purpose is to make money?
I don’t think it has anything to do with vibe coding, the problem with MCP is just it needed to be done fast (because otherwise another protocol would appear and get all the hype) and needed to be very easy to use for hobbyists (again: to get hype, Enterprise software is boring)