4 ms·
C has to be up there. One thing I find particularly beautiful is the elegance of how if and else work, which obviates the need for a separate elseif/elif keywo
by torstenvl 3y ago
C has to be up there.
One thing I find particularly beautiful is the elegance of how if and else work, which obviates the need for a separate elseif/elif keyword.
I also like that types are always on the left, which provides a nice symmetry for assignments. When I declare `int x` with int on the left, what I'm saying is that an assignment of x (e.g., y = x) results in an int being passed to the left of the = operator. This is different from Rust, Zig, etc., which IMO get this wrong (or at least ugly/counterintuitive).