DEV Community

loading...

Discussion on: Cracking The Frontend Interview, Part 4: JavaScript

Collapse
mateiadrielrafael profile image
Matei Adriel

It's a must to fully understand JavaScript functions and surrounding concepts like functional programming...

You cannot say you need to understand functional programming to get a js job, there are a lot of fp-related things javasript doean't even touc on (typeclasses, currying by default, algebraic data types, higher kinded types, operator overloading, do-notation, handling side effects and state using mondads etc), fp in js (without something like fp-ts) isnt anything more than "know how functions work" so I think this would be a better tip than "understand functional programming"

Collapse
hoangbkit profile image
Hoang Nguyen Author

This post focuses heavily on javascript in interview, in this situation interviewers do love to ask those confusing concepts related to functional programming. Even though as your point JS doesn't have fully support for FP yet or you barely use it in daily basis, failing to fully understand functions and FP concepts around functions will cost your interview with many red flags especially at middle or senior level.

Collapse
mateiadrielrafael profile image
Matei Adriel

What I was saying is that when someone sees that sentence he might go and get lost in a sea of complex stuff which he doesnt need, what he really needs to know is just everything about how functions work in javascript