|
||||||||||||||||||
|
|
previous story
next story ![]() |
|
"NeHe tutorials ported to D" Discussion |
|
![]() anewdev
Member since: 9/2/2007 From: Sato, IL | ||||
| No bad tutorials, Thanks for this info. software reviews | latest games | ||||
| ||||
![]() anewdev
Member since: 9/2/2007 From: Sato, IL | ||||
| No bad tutorials, Thanks for this info. | ||||
| ||||
![]() V-man
Member since: 3/2/2002 From: Montreal, Quebec | ||||
Quote: I already hate this language just by reading that. | ||||
| ||||
![]() Aldacron
Member since: 10/17/1999 From: Seoul, Seoul-tukpyolsi | ||||
Quote: While auto type inference is supported by D, it is not a requirement. You can explicitly specify the types just as you can in C and C++ if you want. D's auto type inference is very useful for templates and other specific cases. It's done at compile-time, not runtime. | ||||
| ||||
![]() DeadXorAlive
Member since: 7/24/2005 From: Utrecht, Utrecht | ||||
Nice to see so many of Nehe's tutorials ported to D.Quote: Really? Why? It isn't a big deal to insert the type here, but when you can say 'auto i = ...' instead of 'vector<int>::iterator i == ...' it is quite helpful. And that's just one of the less verbose use cases. Besides, it helps to make code more generic. Anyway, YMMV I guess. | ||||
| ||||
All times are ET (US)![]() | previous story
next story ![]() |
|