3 ms·
> a mission to build the most elegant framework ever This is where it lost me. Why is elegance a priority? What problem is elegance trying to solve here? Elega
by franciscop 7y ago
> a mission to build the most elegant framework ever
This is where it lost me. Why is elegance a priority? What problem is elegance trying to solve here? Elegance is just a feature, that ill-suits many people who might be better served by others. Also seeing the examples in the homepage don't seem very "elegant":
// A first Activity, similar to the Controller in an MVC approach
export class MainActivity extends
PageViewActivity.with(view) {
- enraged_camel 7y agoElegance might be a priority insofar as it correlates with developer productivity.
- jcormont 7y agoAgreed, might have rushed this part of the intro. Edited the story to add some more important goals. Thanks for your feedback!
- darkerside 7y agoExamples aside, here's how I think about elegance. Sometimes you run across, or imagine in your head, or accidentally stumble into writing some Especially Good Code. The code just seems to work, extends easily, repels bugs, scales appropriately, etc etc. I think what's happened in these cases is, typically by luck, you've written code that matches up very simply and beautifully with an undescribed and perhaps indescribable pattern that's present in a larger problem domain. Like poetry, your code expresses the nuances of that problem in a way that prose simply can't (efficiently). You can't always tell or explain what's so great about it, but working with it is a pleasure, and it rarely lets you down. To me, that's the ideal of elegant code.