News for hackers. Stuff that matters.
Re:Zig, the Small Language by VyseofArcadia on Wednesday September 07, 2022 @01:41PM (#32753660)
> If it's simplicity, it seems like complex programs would be supported by complex libraries instead of complex language features, leading to the same level of complexity but with less consistency.

In my experience, languages with complex features still have complex libraries. Library complexity is a constant. If you simplify the language, at least you free up a little cognitive load there.

In addition, simplifying the language often implies (or is even equivalent to) minimizing footguns.

Re:Zig, the Small Language by adamddev1 on Wednesday September 07, 2022 @01:57PM (#32753882)
Like Smalltalk/Pharo, you have 6 keywords in the language and the syntax fits on a postcard. But all the classes/library/environment is huge and complex.
Re:Zig, the Small Language by mirekrusin on Wednesday September 07, 2022 @03:29PM (#32755444)
Binary is very simple you need to memorize 0 and 1 and that's it, screw Newton from one of comments above, right?
Re:Zig, the Small Language by _gabe_ on Wednesday September 07, 2022 @05:16PM (#32757029)
If you really want to argue about this, binary makes no sense in this scenario. There's assembly which gets assembled into machine code. Machine code for all intents and purposes is the lowest level that you would consider a language, binary by itself accomplishes nothing.

Now you can go see all the arguments about RISC vs CISC, which is the same argument. Should I have a small instruction set that bloats the final program's instruction count? Or a complex set with slower instructions?