4 ms·
Can it be that you‘re using „stupid“ exactly what is meant by „simple“ in the KISS principle? ;-)
by st-keller 4y ago
Can it be that you‘re using „stupid“ exactly what is meant by „simple“ in the KISS principle? ;-)
- kristopolous 4y agoSure. Related. It's an art. Generally the less code, the cleaner the conceptual execution. I always strive to remove and reduce conceptually deceits Here's some code I wrote earlier, probably a good example https://github.com/kristopolous/music-explorer/blob/master/web/get_playlist.php https://github.com/kristopolous/music-explorer/blob/master/w... It's self contained, not very big, not trying to be fancy, as direct as possible. It's worth noting a few things: Some things are repeated when there's no reasonable way to refactor it in a way that simplify things. No framework. No view/model/controller/provider/orm separation. It's not doing much and it does it fine Stuff is composed but intentionally not abstracted Here's a frontend https://github.com/kristopolous/music-explorer/blob/master/web/scripts.js https://github.com/kristopolous/music-explorer/blob/master/w... Again, no react or angular or other framework. Just direct modern code. As far as what it looks like, it's a music player frontend to some sprawling project Example https://9ol.es/pl/ https://9ol.es/pl/