News for hackers. Stuff that matters.
Re:Zig, the Small Language by ironmagma on Wednesday September 07, 2022 @01:32PM (#32753556)
The most perfect code is no code at all. A language being small means it unlocks power without complexity. Smalltalk is a great example of this as it was rewritten over and over until it was tiny.

Of course, "no code at all" isn't useful, so there's a medium to be found.

Re:Zig, the Small Language by bluGill on Wednesday September 07, 2022 @02:10PM (#32754056)
I consider my most productive days as a programmer ones that I was net negative lines of code. Often those are the days when I implemented the most customer features. There is a lot of needlessly complex code out there.
Re:Zig, the Small Language by mirekrusin on Wednesday September 07, 2022 @03:33PM (#32755518)
Unlocking power without complexity is not implied by being small. Logo doesn't unlock power by allowing you to move turtle and binary encoding doesn't make things easier by allowing you to write 0 or 1 only.
Re:Zig, the Small Language by ironmagma on Wednesday September 07, 2022 @04:05PM (#32755999)
Right, and I didn’t mean to imply that it did. But languages like Smalltalk do unlock power.