DEV Community


Discussion on: And then the interviewer asks, "Can you do this with less code?"

twistacz profile image
Michal Haták

While I completely agree with that, I think main purpose of that excercise is to identify that developer know what performance limits of that code are.

I mean, You don't have to worry about performance issues when your devs are delivering optimized code by default, while avoiding premature optimizations :)

dak425 profile image
Donald Feury

Of course, if they answer with "Lets assume that yes it has become/will become a bottle neck", then I would do my best to optimize.

Forem Open with the Forem app