Re:Zig's New Relationship with LLVM
by degurechaff on Monday September 28, 2020 @01:50PM
(#24619345)
many new language put type in last part of declaration. rust, go, typescript, and other
Everything old is new again!
The style dates back to Pascal. I think it's better, personally, and that might be because Pascal was my first programming language, but I don't care, I'm just happy it's back in fashion.
As a side note, I was quite sure that it dated back to Algol 60, but looked it up for this comment, and nope! Type came before variable.
Re:Zig's New Relationship with LLVM
by AndyKelley on Monday September 28, 2020 @04:31PM
(#24620928)
Re:Zig's New Relationship with LLVM
by higerordermap on Tuesday September 29, 2020 @01:29AM
(#24624425)
I am a programmer and I make very scientific decisions. I don't like this language because syntax is not like C.
I know it's an extremely superficial observation, but it just doesn't feel good to me.