A question of function design?

WhatMeWorry via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Fri Oct 28 06:19:19 PDT 2016


On Thursday, 27 October 2016 at 22:51:13 UTC, pineapple wrote:
> On Thursday, 27 October 2016 at 22:17:35 UTC, WhatMeWorry wrote:
>>
>> I'm using Derelict GLFW3 and I found the following GLFW3 code 
>> snippet in a demo.
>
> In a small demo, crap like this usually isn't a big deal.
>
> It's not common practice, though, and for good reason. You 
> should definitely avoid imitating it.

Anyone have a good example of what I should be doing?


More information about the Digitalmars-d-learn mailing list