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
-
This is PHP right? And yes, things like misspelling names are the errors you expect the least
-
Tasperen9947y@iatanasov it's for specific scenarios when I add parameters that will be used in other special functions that would require them. Say I make an array of users and parse it in the second parameter. Array("user1" => Someval, "user2" => anotherval); and a function that might require $this->user1. Yeah. I also do it so I don't have unused variables. Plus I'm not really thinking far ahead. I mean, I can't think of all the things I want right now, so I'm just writing this now so that if I come up with anything later, it'd be easier to implement. This probably didn't make sense. But yeah lol.
Related Rants
-
cdrice105"You gave us bad code! We ran it and now production is DOWN! Join this bridgeline now and help us fix this!" ...
-
MoboTheHobo36My Friend: Dude our Linux Server is not working anymore! Me: What? What did you do? My friend: Nothing I swe...
-
tommy15Right now someone at Google is coding something useless for us to laugh at on April Fools.
Just spent the last 10-20 minutes debugging a stupid error. Turns out I spelt construct wrong. FML.
undefined
spelling
why
debug
fml
class
error
php