←back to thread

Open-source Zig book

(www.zigbook.net)
692 points rudedogg | 1 comments | | HN request time: 0.226s | source
1. dominicrose ◴[] No.45953188[source]
> Most programming languages hide complexity from you

A garbage collector isn't "hidden complexity". We all know they exist and use memory and CPU.

How Zig is better than Ruby:

- it has a linear performance gain

- the IDE has more information

That's great if you absolutely need it, but in a lot of cases:

- you don't need linear performance gains or you need the gains to be more than linear

- the linear performance gains come at a huge cost: code readability (assuming you managed to write it and it compiles)

- relying too much on the IDE won't make better programs and won't make you a better programmer