DEV Community

Discussion on: What's wrong with code in 2022? πŸ€·πŸ»β€β™€οΈ

Collapse
 
amyswen451 profile image
Amanda Swensen

A 20-year-old calculator did not have to think about hidpi, 4k, multi-monitor configurations, touch control, support for a dozen interface themes, synchronization to the cloud, loading exchange rates from the Internet and a whole lot of functionality that an individual user may not need, but others users do, and writing millions of versions for each is unprofitable.

Thread Thread
 
bangyslower profile image
Bangy Slower

The fact is that a modern calculator does not have to think about it either. All these themes/touchs/hidpi and others like them β€” all this is resolved by the libraries of the operating system. And in terms of functionality, it has not gone too far from a 20-year-old calculator, but it eats resources like AutoCAD or MathLab 20 years ago.

Thread Thread
 
amyswen451 profile image
Amanda Swensen

It is precisely the libraries that are part of the calculator that occupy those megabytes

Thread Thread
 
bangyslower profile image
Bangy Slower

They are part of the OS, why separate them? And it is highly doubtful that touch control support will increase the code by 40-50 MB.
This is the characteristic mindset of some modern programmers, justifying bloat with incredible complexity: all those "touchs/hidpi/unicode" is just a mantra to stop thinking. "What are you doing? Don't go there! It’s difficult, there are touch, hidpi, currency conversion and some other important things!”