DEV Community

loading...

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

Collapse
dak425 profile image
Donald Feury

My answer to "Can you make it faster" is:

Do we need to? Has this become a bottle neck performance wise?

If not, don't care, lets spend time building a better product where it actually matters.

Collapse
ky1e_s profile image
Kyle Stephens

^^^^ This ^^^^

Users don't care how a product is built. They care what the product is and that it solves their problems.

Collapse
dak425 profile image
Donald Feury

And this extends beyond programming

Hows the marketing?
Hows user retention?
Is it actually solving the target group's problem?

You can have the most efficient and well engineered product but if no one knows about it or it isn't solving their problem, none of that matters

Collapse
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 :)

Collapse
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