Timeline for Why does the type go after the variable name in modern programming languages?
Current License: CC BY-SA 3.0
24 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Feb 14 at 9:55 | comment | added | August Karlstrom | Because Niklaus Wirth was right. | |
| Mar 15, 2022 at 2:35 | answer | added | david | timeline score: 0 | |
| Jan 12, 2022 at 19:39 | answer | added | ChrisoLosoph | timeline score: 1 | |
| Sep 22, 2019 at 1:06 | comment | added | Alexander | I think function types really sell this. Prefixing the types makes higher order functions really complicated to define. | |
| Oct 5, 2018 at 14:45 | review | Close votes | |||
| Oct 10, 2018 at 3:05 | |||||
| Oct 5, 2018 at 14:28 | history | edited | gnat | edited tags | |
| Dec 31, 2016 at 10:55 | review | Close votes | |||
| Jan 24, 2017 at 3:04 | |||||
| Dec 31, 2016 at 10:37 | history | protected | gnat | ||
| May 1, 2016 at 9:34 | history | tweeted | twitter.com/StackProgrammer/status/726706412986970114 | ||
| S Apr 23, 2016 at 13:24 | history | suggested | Miguel van de Laar | CC BY-SA 3.0 | Fixed grammar |
| Apr 23, 2016 at 6:37 | review | Suggested edits | |||
| S Apr 23, 2016 at 13:24 | |||||
| Apr 20, 2016 at 10:45 | comment | added | Marjan Venema | Hihi, so Delphi, which is (Object) Pascal, and has had types after variable names since its inception, way back when in the dark ages of the previous century, is modern again ;) Btw, readability is much affected by what you are used to. Coming from Delphi, C# with its type before the var name, had me thumping my head for quite some time. | |
| Apr 20, 2016 at 1:19 | answer | added | Jörg W Mittag | timeline score: 46 | |
| Apr 19, 2016 at 19:26 | vote | accept | André Polykanine | ||
| Apr 19, 2016 at 19:24 | comment | added | André Polykanine | Sorry guys, I did see the question about Kotlin when googling, but I re-asked it for not to get answers like "Because Kotlin (Go, Rust, ...) dev team decided like this". I was interested in a more common answer: why does it become kind of an epidemic? | |
| Apr 19, 2016 at 19:23 | comment | added | gnat | see also: What's the rationale behind the ordering of Scala's value/variable declaration when including a type identifier? | |
| Apr 19, 2016 at 18:58 | review | Close votes | |||
| Apr 28, 2016 at 3:01 | |||||
| Apr 19, 2016 at 18:57 | answer | added | Martin Maat | timeline score: 7 | |
| Apr 19, 2016 at 18:56 | comment | added | Robert Harvey | Yep, that's a dupe alright. Although it refers specifically to the Kotlin language, the question (and its answers) apply to all languages having this practice. | |
| Apr 19, 2016 at 18:53 | answer | added | Ixrec | timeline score: 90 | |
| Apr 19, 2016 at 18:45 | answer | added | Mason Wheeler | timeline score: 0 | |
| Apr 19, 2016 at 18:43 | review | First posts | |||
| Apr 23, 2016 at 6:37 | |||||
| Apr 19, 2016 at 18:43 | comment | added | 8bittree | Possible duplicate of Why does Kotlin require type after variable, rather than before? | |
| Apr 19, 2016 at 18:39 | history | asked | André Polykanine | CC BY-SA 3.0 |