Jump to content

Recommended Posts

Posted

I just found out that there is a name for the practice of writing variables in code in the form "myVariable"...

 

I have been doing this for yonks but never realised anybody had named it :)

Posted
I just found out that there is a name for the practice of writing variables in code in the form "myVariable"...

 

I have been doing this for yonks but never realised anybody had named it :)

 

Ahh yes, would that be the wonderfully named "camel back" convention?

 

When I used to write C++, "Hungarian naming" was popular, e.g. iCounter

 

This is my method of choice, however my current OU course insists on camel back. I suppose camel back is more readable (plus it's Scratch so variable type is unimportant) but I keep finding myself drawn back to Hungarian...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...