Walter Bright, el 29 de octubre a las 16:06 me escribiste: > Lars T. Kyllingstad wrote: > >What I cannot for the life of me understand is WHY the double > >underscores? What's wrong with just "traits"? > > Because D needed the feature, and it wasn't clear what a good syntax > for it would be. So __traits is a "put something out there, make it > work, if it proves its usefulness and a good syntax for it appears, > then that can be adopted."
And now, being moderately close to D2 stabilization, isn't a good moment to think about a better syntax or just live with traits() as it is (but without the leading __)? Same for __gshared. -- Leandro Lucarella (AKA luca) http://llucax.com.ar/ ---------------------------------------------------------------------- GPG Key: 5F5A8D05 (F8CD F9A7 BF00 5431 4145 104C 949E BFB6 5F5A 8D05) ---------------------------------------------------------------------- Es mucho mas probable que el salchichón sea primavera a que la primavera sea salchichón. -- Peperino Pómoro