Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: