Algol (1958) is the spiritual parent language of the C/C++/C#/Java family. It introduced the accursed "int x" syntax which Niklaus Wirth tried to undo with Pascal and other designs. Yet the notation persists and perpetures a 60-year confusion around types and values.
-
-
Scala was one of the "new" languages that picked up on the pascal notation, which is not that strange, since Odersky was a student to Wirth...
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
The only confusion that exists is the one in my brain after reading this.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
and in haskell's f :: int -> int, what would you call either instance of the string int?
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I think you're in an interesting position. Epic has done so much with a language you seem increasingly unhappy with. For projects I drift to when idle, the bottleneck is always my brain's limited rate at clarifying the logic I want to implement as opposed to language features.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
Isn't this handled in Java with int and Integer class
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
-
-
I have many problems with C's syntax but this is not one of them. int is always a type, the variable/constant that holds a value of that type is the identifier right next to it. i:int or int i, both are of type int and are named i. Pretty obvious for me.
-
The ugly part of C is that you can omit the parameter name. And that this here can be different things: A b(); But a "var" Keyword could fix that, or a "func" keyword, or both
End of conversation
New conversation -
-
-
This Tweet is unavailable.
-
Sorry, but with 32-bit precision for distance calculation their server range is rather limited... ;w;
End of conversation
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.