3 ms·
Why would a theme contain code in the first place. Shouldn't it just be made of static value containing color codes?
by prmoustache 2y ago
Why would a theme contain code in the first place. Shouldn't it just be made of static value containing color codes?
- 7373737373 2y agoWhy would any add-on have more authority than it needs? Oh right - because no currently popular language supports implementing that kind of resource/rights monitoring and control: https://medium.com/agoric/pola-would-have-prevented-the-event-stream-incident-45653ecbda99 https://medium.com/agoric/pola-would-have-prevented-the-even... An absolute failure of contemporary programming language design. Software firms need to think harder about what kind of guarantees the languages they use can give them - which part of a project's code can access which (and how many) resources - access to other project components, filesystems, the network, and the amount of process memory and CPU time they are allowed to consume. The current default answer is usually "any place has authority to access everything else, and a simple infinite loop will use up all the system's resources"