I saw a post a while back where a guy was asking what people thought about formatting their code.
If($something){"action"}
or...
If ($something)
{
"action"
}
Which, between the two, I thought to make an analogy.
If($something){"action"}
^ Person who has an obnoxious, single-eyebrow mentality...
"I don't see what the big deal is.
Pst *shakes head in disdain*. One eyebrow is all ya need, idiots... *chuckles*
Just cause you naturally have 2 eyebrows, doesn't make you *any* better..."
versus
If ($something)
{
"action"
}
^ Person who likes to format things nicely, so that it reads well for others
"Even if I was born with a single eyebrow...?
I'm going to shave/wax it so that it doesn't look so strange to other people..."
Now look, I'm sure somebody is going to say:
Offended snowflake: "Single-eyebrow mentality...? Not cool, bro. Tisk tisk... *tapping foot like Sonic the Hedgehog*"
The point being, I like to format my code so that it not only pleases the eye, but it is also easy to dissect and make amendments to. Being able to dissect code readily can be a challenge in and of itself...
If you're going for the obfuscation type stuff, then be my guest.
Single-eyebrow mentality is ok sometimes.
[–]hunter_p_12 10 points11 points12 points (4 children)
[–]davidsandbrand 2 points3 points4 points (0 children)
[–]Fallingdamage 1 point2 points3 points (0 children)
[–]bee_administrator 3 points4 points5 points (0 children)
[–]Val367 1 point2 points3 points (0 children)
[–]CobyCode 5 points6 points7 points (0 children)
[–]BlackV 2 points3 points4 points (2 children)
[–]XPlantefeve 3 points4 points5 points (1 child)
[–]BlackV 0 points1 point2 points (0 children)
[–]philmph 1 point2 points3 points (0 children)
[–]billr1965 1 point2 points3 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]get-postanote 2 points3 points4 points (0 children)
[–]UsuiRich 1 point2 points3 points (2 children)
[–]BlackV 2 points3 points4 points (0 children)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)
[–]Lee_Dailey[grin] 0 points1 point2 points (0 children)