Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
if (cond)
{
stuff
}
is slightly more pleasing to read but
if (cond) {
stuff
}
feels more practical and faster -
eljamz228y@comunist you think so?? I think is faster my first option... No useless lines and everything with spaces between conditions...
-
eljamz228y@Communist @uziiuzair I really really have an issue with the "different" way to use the if...
There's two types of people:
if ($foo == $bar) {
// Something...
}
AND
if($foo==$bar)
{
// Something...
}
undefined