DEV Community

Discussion on: Algorithms and Data Structures are irrelevant

Collapse
 
pyrsmk profile image
Aurélien Delogu

I don't do React ahah. But I see your point.

IMO understanding time complexity is, in fact, mandatory. For example, it is not rare that junior devs write O(N) code around REST requests or SQL queries. Just saying 😂

Thread Thread
 
pyrsmk profile image
Aurélien Delogu

I also saw someone writing HTML input fields creation with a time complexity of O(N^3) thanks to a wrong understanding of hooks and component lifecycle.