• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

Bring out the camels

arno

Administrator
Staff member
FSDevConf team
Resource contributor
Messages
34,715
Country
netherlands
While working on some new scenProc feature I also decided to experiment with a new naming scheme for the steps. This was suggested on the forum a while ago to make the script more readable. I’m using CamelCase now for the step names. So that means that a step like ADDATTRIBUTEIFINSIDE would now become AddAttributeIfInside.

I think it’s an improvement so I plan to make this the default for all steps soon. To not break old scripts I’ll make sure the old names keep working as well of course (scenProc is case sensitive when it comes to validating the script).

Continue reading...
 
Agree, an improvement. Some of those words were like reading "Supercalifragilisticxpalidosious" from Mary Poppins. Still think
Add_Attribute_If_Inside or ADD_ATTRIBUTE_IF_INSIDE would be my preference but this is a step in the right direction. Go Camel!
 
I use the "CamelCase" technique along with the occasional _ character for several reasons in XML scripts, the most important of which is that it allows me to "double-click" on them for quick and reliable "cut-and-paste" operations!
 
It's a scheme I use when naming objects in Max and first read of in Code Complete which still occupies space in my bookcase. It's probably much older than that!
 
Oddly enough Tom, I'm anal enough that I use the same name for the object in Max, the <Name>xxx</Name> and the bloody XML L:variable whenever possible as well!

Darn sure reduces any ambiguity, that's for sure and certain... :rotfl:
 
Back
Top