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
-
pmso4164yI'm sick of seeing this.
I mostly work with PL/SQL, and I cant count the times I see something like that.
Or ifs checking if a error message is returned, but you have a exception catching that and exiting the function -
@alexbrooklyn that would’ve saved me two hours of debugging. I’m okay with that today.
-
@bashleigh I'm stuck passing this callback function to a 3rd party library. I'm getting ready to just copy and paste the parts of the library I need into our own codebase and refactor it the right way.
Related Rants
if ( condition ) {
callback(data)
}
callback(error)
--is a lot different than--
if ( condition ) {
callback(data)
} else {
callback(error)
}
callbacks are not return statements π€¦βοΈ
rant
typescript