Most commonly used naming conventions.

BlitzMax Forums/BlitzMax Programming/Most commonly used naming conventions.

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.

Yeah that's close to what I use now, although I tend not to underline variables.

I was thinking of changing to a 3 letter prefix, kinda like file extentions.. but not sure if its OTT or not.


Const Con_NAME
Int : Int_Number
String : Str_Name
Float : Flt_LongNumber
Double : Dbl_ReallyLong
Function HelloWorld() : Fnc_HelloWorld()
Method HelloWorld() : Mth_HelloWorld()
Type Bullet : Typ_Bullet
Global Var : Glb_Str_PlayerName etc....


Not sure tho, I did a quick find and replace on some code and tried it like the above and also like file extentions at the end and both actually look ok.