I learned from a discussion on the dlang forum that while WinMain works, it isn't actually necessary and a standard main function works as well - though it requires to do a bit more boilerplate ourselves.
I don't have a understanding clear enough to judge one approach versus the other, but I'm asking the question: given that this project is a list of examples of D code, should it use the standard main function instead of WinMain?
I learned from a discussion on the dlang forum that while
WinMainworks, it isn't actually necessary and a standardmainfunction works as well - though it requires to do a bit more boilerplate ourselves.I don't have a understanding clear enough to judge one approach versus the other, but I'm asking the question: given that this project is a list of examples of D code, should it use the standard
mainfunction instead ofWinMain?