digitalmars.D - Go 2017 Survey Results
- Ali (10/10) Feb 26 2018 This link was posted today on hacker news (ycombinator)
- Russel Winder (11/23) Feb 26 2018 People choosing to complete a Go-oriented survey are=E2=80=A6
- H. S. Teoh (8/9) Feb 26 2018 [...]
- bachmeier (8/15) Feb 27 2018 It's also something that they've kept out of the language by
- JN (7/14) Feb 27 2018 I'm no expert on programming language design, but I think there
- Ola Fosheim =?UTF-8?B?R3LDuHN0YWQ=?= (6/12) Feb 27 2018 Generic programming just means that you leave out the
- bachmeier (4/10) Feb 27 2018 I agree. But I don't know of any way to add generics without
- jmh530 (2/9) Feb 26 2018 Or why I learned D.
This link was posted today on hacker news (ycombinator) https://blog.golang.org/survey2017-results https://news.ycombinator.com/item?id=16468358 My biggest takes from this are 1) people are looking for python alternatives, probably more so than c alternatives 2) generic programming is important As I understand the results of this survey, will be use to guide Go's development this is in my opinion very inclusive and transparent
Feb 26 2018
On Mon, 2018-02-26 at 21:04 +0000, Ali via Digitalmars-d wrote:This link was posted today on hacker news (ycombinator) https://blog.golang.org/survey2017-results https://news.ycombinator.com/item?id=3D16468358 =20 My biggest takes from this are 1) people are looking for python alternatives, probably more so=20 than c alternativesPeople choosing to complete a Go-oriented survey are=E2=80=A6 =202) generic programming is important =20 As I understand the results of this survey, will be use to guide=20 Go's development this is in my opinion very inclusive and transparentI can't imagine Go getting templates anytime soon. --=20 Russel. =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Dr Russel Winder t: +44 20 7585 2200 41 Buckmaster Road m: +44 7770 465 077 London SW11 1EN, UK w: www.russel.org.uk
Feb 26 2018
On Mon, Feb 26, 2018 at 09:04:20PM +0000, Ali via Digitalmars-d wrote: [...]2) generic programming is important[...] It's something sorely lacking in Go, so it's not unsurprising it's a big item on the list. T -- BREAKFAST.COM halted...Cereal Port Not Responding. -- YHL
Feb 26 2018
On Monday, 26 February 2018 at 21:37:40 UTC, H. S. Teoh wrote:On Mon, Feb 26, 2018 at 09:04:20PM +0000, Ali via Digitalmars-d wrote: [...]It's also something that they've kept out of the language by design. I don't disagree with that decision either. If the selling points are fast compilation and code that is simple to write and read without much knowledge of the language, it's hard to see how generics fit in. Look at D. Templates slow compilation and having a standard library that emphasizes generic code makes it much harder to learn.2) generic programming is important[...] It's something sorely lacking in Go, so it's not unsurprising it's a big item on the list. T
Feb 27 2018
On Tuesday, 27 February 2018 at 15:01:45 UTC, bachmeier wrote:It's also something that they've kept out of the language by design. I don't disagree with that decision either. If the selling points are fast compilation and code that is simple to write and read without much knowledge of the language, it's hard to see how generics fit in. Look at D. Templates slow compilation and having a standard library that emphasizes generic code makes it much harder to learn.I'm no expert on programming language design, but I think there is a difference between templates and generics. At the basic level they are used for similar things - specializing container types, etc. But templates usually allow much more, so they end up being layers of layers of compile time code, e.g. D and Boost, which while nifty has it's compilation time cost.
Feb 27 2018
On Tuesday, 27 February 2018 at 15:30:44 UTC, JN wrote:I'm no expert on programming language design, but I think there is a difference between templates and generics. At the basic level they are used for similar things - specializing container types, etc. But templates usually allow much more, so they end up being layers of layers of compile time code, e.g. D and Boost, which while nifty has it's compilation time cost.Generic programming just means that you leave out the specification for some types in the code for later. C++-style templates like D has is one solution to generic programming. When some people write «generics» they probably think of Java and something that is like that...
Feb 27 2018
On Tuesday, 27 February 2018 at 15:30:44 UTC, JN wrote:I'm no expert on programming language design, but I think there is a difference between templates and generics. At the basic level they are used for similar things - specializing container types, etc. But templates usually allow much more, so they end up being layers of layers of compile time code, e.g. D and Boost, which while nifty has it's compilation time cost.I agree. But I don't know of any way to add generics without slowing compilation or making the language harder to use, even if it's something other than templates.
Feb 27 2018
On Monday, 26 February 2018 at 21:04:20 UTC, Ali wrote:This link was posted today on hacker news (ycombinator) https://blog.golang.org/survey2017-results https://news.ycombinator.com/item?id=16468358 My biggest takes from this are 1) people are looking for python alternatives, probably more so than c alternatives 2) generic programming is importantOr why I learned D.
Feb 26 2018