News for hackers. Stuff that matters.
Re:Let's learn D game programming development (2021) [video] by samuell on Wednesday June 15, 2022 @06:44AM (#31751193)
I played with D quite a bit, and really liked its syntax, perhaps apart from the fact that you start with the type in declarations, which IMO is a bit detrimental to visual scannability.

Anyways, the strong concurrency story in Go finally bought me over there though.

I still miss the super readable (almost python-like) syntax from D though.

Re:Let's learn D game programming development (2021) [video] by Asooka on Wednesday June 15, 2022 @10:04AM (#31753054)
I quite prefer types on the left. The name of a variable expresses hope about its use and purpose, but the type is a definite statement about what the behaviour of the object is. I've used both and really prefer left types.
Re:Let's learn D game programming development (2021) [video] by arunc on Thursday June 16, 2022 @02:04AM (#31762886)
Lack of structured concurrency is the reason I stay away from Go
Re:Let's learn D game programming development (2021) [video] by bsdooby on Friday June 17, 2022 @02:38AM (#31774797)
You can almost always use `auto`, which might help for a visually more pleasing experience...