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
-
Kimmax109877yI'm pretty solid in some languages, but only have a basic understanding of Javascript. Why shouldn't I tech python?
-
@Kimmax everybody can teach machine learning with Python. The problem is on the error condition 🤔 can you spot it? 😏
-
Kimmax109877y@sunfishcc probably !==
I would expect that findUser wouldn't / shouldn't execute that callback at all if user == null
But maybe that's just JS things
Or a badly designed SDK -
Kimmax109877yAnd that else could be saved, code after that second statement wouldn't execute anyways since the early return
-
@Kimmax you've passed this trail! better than the Indian lecturer in Hong Kong university. Omg. How am I end up there ?! 😨
-
Looks like someone barfed on a keyboard and called it code, so id say its perfectly valid javascript.
I can't take this anymore. How can you teach someone else if you don't know how to code js?!😫
rant
coursera
node.js
javascript
express