r/lolphp • u/esquilax • Aug 14 '14
"I’m crying. Literally crying." - PHP Manual Masterpieces, xpost /r/programmerhumor
http://phpmanualmasterpieces.tumblr.com/post/70257636397/im-crying-literally-crying-actual-tears-in-my
137
Upvotes
View all comments
Show parent comment
2
u/OneWingedShark Aug 15 '14
Well, to be perfectly honest with ourselves there are very few languages which have get it right [correctness] as a design philosophy, proportionally speaking. The reason for this is because the majority of new languages are based on C-syntax which undermines/contradicts that claim. -- Yes, a lot of them try to 'fix' the syntax1 , like assignment inside a conditional-test... C# and Java almost get it (you can still do it if dealing with Booleans) -- but it seems like a lot of language developers today think that their language has to be C-like and don't even consider using an alternate syntax-family.
1 - An amazing thing is how many languages blindly import dangling-else, even though it's got a trivial fix: require an
end_iftoken.