4 ms·
Yeah, it does have that stigma. It certainly did for me; "Why the hell are there colons before these variables..?" It's funny how much the first languages you
by ketzo 6y ago
Yeah, it does have that stigma. It certainly did for me;
"Why the hell are there colons before these variables..?"
It's funny how much the first languages you learn (for lots of people, Java/C/JS) have such an impact on what "feels weird," when every programming language is basically magic anyway.
- dnautics 6y agoWell, Ruby and Julia and scheme, I think?) all have those same colons too, so it's not totally crazy. It's the post- colon that's strange (but Ruby has those too)
- pmontra 6y agoIn a JSON world post colons are normal :-) and we've been living there for ages. Ruby added x: y as a short form for :x => y