Quote from: BobRay at Feb 01, 2008, 05:58 AM
I certainly can’t justify it logically, but it makes me uneasy to have variable names inside of quotation marks. I imagine it’s my background in other languages that makes me want to use quotation marks strictly for "string literals."
Don’t know how much people have looked these "guidelines"
, but the single quotes for literals and single quote concatenation has been there all along.. but of course those guidelines in wiki have not been very official..
"He can have a lollipop any time he wants to. That's what it means to be a programmer."
Quote from: OpenGeek at Feb 01, 2008, 03:39 AM
Too many formal rules limits creativity, and IMHO, how one builds a string with variable replacements is an issue that really should be decided by based on the problem being solved.
I think this is a fantastic point. And with the coming changes wrt patch contribution and peer review, we can hope for an ecosystem where the community can more easily hash out performance and readability issues after the initial contribution is made, the important part being the developer inspired by an idea and freely creating and sharing it.
Tangentially related to not stifling creativity over nitpicking the small stuff: I participated in my first Crucible review last night and I can say they’re insanely cool indeed, and will be a huge boon to taking patches from anyone.
, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me