Hi, you all !
I've wanted to look at D for the last two years, being a C fanboy and not fond of C++.
It seemed like a good alternative between some delightful extra new stuff and keeping C-like experience : performances and code style wise.
I wrote my first CLI program this weekend and would like some code review, if some of you don't mind. :)
The source code can be found here : https://git.sr.ht/~nasmevka/tmp/tree/main/item/tmp.d
I apologize for the way my code looks like. I do not use LSPs and having function definition's name on their own line make grep ^funcname
really powerful.
Templates are really powerful, and I feel like I do not use them near enough ? 🤷
Open to all form of criticism ☺️