DEV Community

Discussion on: What habit do many senior engineers have that juniors should try to avoid adopting?

 
mortoray profile image
edA‑qa mort‑ora‑y

Note though, on the second I think any api that accepts something other than seconds for duration by default is broken. Seconds is the natural time, milliseconds is unusual. Thus a conversion function would be nice to see there.

Thread Thread
 
sunnysingh profile image
Sunny Singh

It's clever in that scenario because seeing the exponential notation for most people will require more brain processing power than simply seeing 5000 milliseconds or 5 seconds.

It also really just depends on what you're building. Web development rarely requires you to use exponential notation, and so declaring it as "something that every coder should learn" is not an absolute that I can get behind.