DEV Community

Discussion on: Beautiful HTML-free desk-calculator app, built with just 61 lines of Javascript, framework included...

Collapse
 
artydev profile image
artydev • Edited

Hey Eckehard,

Very nice, that is a step towords 'Core DML' :-)

Regards

For the one who want to test Eckehard's work, you can click here :

Calculator

Collapse
 
efpage profile image
Eckehard

Just trying to explain the core principles.

Reducing a library to its core is appealing, as it reduces the overhead for page downloads. I just think, we should not go this way. A broad ecosystem of useful tools is very important to speed up your work. So, we should do some tree-shaking instead to get rid of the overhead. I was checking some tools like parcel.js, or even move to typescript or dart, but did not find a realy hassle-free option til now.

For really small tools like the desk calculator, we should not have such a big overhead.