Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

D's embedded underscores in integer literals came from Ada. It soon migrated from D to the other popular languages.


This was one of the little things that impressed me about Ada when I first found it. In spite of the murmuring about camels, and designs by committee, my first impression of Ada was a language where attention had been given to the little details with regards to making the language easy to comprehend. Having said that, I don't think that its syntax has necessarily stood the test of time as being super-ergonomic.


Such a wonderfully human-conscious feature.


It is amazing how little things like that make a difference. It's a very popular feature with D.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: