Re: Win4Eu dilemma
- Posted by Greg Haberek <ghaberek at gmail.com> Sep 16, 2004
- 414 views
> - Literal: True, False, ... This is probably the best route. > - Prefixed: [prefix]True, [prefix]False, ... This is a good substitute, but often confusing and hard to read. > - Postfixed: True[postfix], False[postfix], ... Lord no! I can only imagine the confusion.. it just looks horrible. > - Dude-style synonyms: Cool, NoWay, ... Yes! Go with it!
-- sample dude-o-nyms if MyStuff = WayCool then doSomething( Radical ) elsif MyStuff = TotallyBogus then doSomething( Wicked ) else doSomething( Sick ) end if
In my opinion, I think we should follow a majority-rules type policy. I don't think Derek ever should have prefixed the Win32Lib constants and routines. A *lot* of programs and libraries are developed *around* Win32Lib, so why shouldn't Win32Lib set the precedent? I say go with just straight-faced values (True, False) and let everyone else work around that.