To view parent comment, click here.
To read all comments associated with this story, please click here.
Right. I personally think this gets a bit too intrusive in the coding style area, but there is room for everyone's taste in the programming language world, and anyway you indeed proved that this is doable
Edited 2010-09-11 17:09 UTC
Well, I've seen a language entirely based on postfix notation : SysRPL, used to code fast applications on HP calculators.
My experience was that it was horrible, after years of Pascal, Python, and C(++), to even try to understand it. One seem to be able to get comfortable with it in the long run, but I couldn't get that far. It just looked too much like a glorified rebranding of Assembly with its stack-based way of thinking...
Edited 2010-09-12 14:10 UTC
I think most newer languages do it that way, and I agree, thats how I roll too
wrt it being a matter of taste, I slightly disagree. Camel case doesn't scale up as well, passed about three words it gets very hard to read. Wide casing doesn't have that problem, but it means additional characters. You could say that you shouldn't really be going passed 3 words anyways in variable or function names, but I find there are times when inspiration totally fails me, and I end up writing a five word function because I can't think of a more succinct way to write it.
In a world where everything could be expressed clearly in two words or less, I think camel case would make more sense. But especially when you take into account that its main bastion of use is in java, the land of enterprisey code like AbstractFoobarFactoryAdapters, I have learned to really downright hate it.




Member since:
2010-03-08
Problem is, a language that allows "-" in variable naming can't do the most basic mathematics who need this minus sign, except by bringing a very exotic syntax like Lisp's
.
Myself, I think that the camel case vs underscore argument is highly a matter of taste. In my code, type names use camel case and variable names use underscores, because I like to differentiate those at first sight (especially when I dive in some code left alone for some months) and a starting capital is not enough for me