DEV Community

Discussion on: Functions, fat arrows and parentheses

Collapse
jonrandy profile image
Comment marked as low quality/non-constructive by the community. View Code of Conduct
Info Comment hidden by post author - thread only visible in this permalink
Jon Randy • Edited on

For me, it was last week. I called a function without parentheses and it didn't exactly do what I wanted. But why? Why was that a mistake? In React there are lots of times we use functions without parentheses and everything works just fine!

I have to say that for a 'Senior Software Engineer at Netflix' - this is somewhat worrying 😛

Collapse
rounakcodes profile image
rounakcodes

In my view, you were actually being very kind by mentioning just one designation. Unfortunate, that it still got marked as low quality/non-constructive by this site.

Collapse
lukeshiru profile image
LUKESHIRU

What is worrying is that you believe that a "Senior software engineer" can't make this kind of mistake. FYI, Senior devs are still human beings, that still need to Google stuff, and still make mistakes...... and I'm still wondering what does Netflix have to do with anything mentioned in this post :/

Collapse
jonrandy profile image
Comment marked as low quality/non-constructive by the community. View Code of Conduct
Jon Randy • Edited on

Mistakes like knowing the difference between calling a function and referring to a function? That is really basic

Thread Thread
lukeshiru profile image
LUKESHIRU

So .... Im guessing you never trip on anything ... right? .... I mean is just walking .... is REALLY basic........... 🤦

Some comments have been hidden by the post's author - find out more