Re: Win4Eu dilemma

new topic     » goto parent     » topic index » view thread      » older message » newer message

>  - 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.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu