Neatening Types.

BlitzPlus Forums/BlitzPlus Programming/Neatening Types.

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

Yep, agree with Skully.

I always do:

if bla1 = bla2
    bla2 = bla1
endif


instead of:

if bla1 = bla2 then bla2 = bla1


or worse.. i've seen:

if bla1 = bla2 bla2 = bla1


brr...

for example, better readability is what i do that for mostly. :) For the rest it's the exact same thing.

I never use Gosub/Return or Goto's either. Same reason. Boxing all the stuff into Functions is just more readable IMHO, especially in giant source codes.

Tracer