4 ms·
Pfff. What kind of hackers use pre-made framework ?
by dikei 10y ago
Pfff. What kind of hackers use pre-made framework ?
- qwertyuiop924 10y ago12 year olds, who think they're hackers, because they kind of know HTML/CSS/JS
- groovy2shoes 10y agoWe used to call them script kiddies, or even more jokingly, in some circles (or maybe even just my circle...), scrip kitties. But I agree with the sentiment. Frameworks seem pretty much antithetical to the spirit of hacking.
- qwertyuiop924 10y agoWell, yeah. But I wouldn't say that frameworks are INHERENTLY antithetical to the sprit of hacking. A framwork approximating a library, like Mithril, provides a useful set of abstractions and code for building your project. What IS antithetical to hacker sprit is frameworks that like rails that believe that there is one way to do it, only one way to do it. And if you would like to write or organize your code another way, shut up, you're wrong. Not that that's necessarily bad, but it's directly counter to the hacker spirit.
- groovy2shoes 10y agoNah. Hackers invented NIH syndrome! ;) (I don't know anything about Mithril, so I can't comment. Everything I've ever used that's a "framework" rather than a "library" tends to be pretty restrictive, and I feel like many frameworks do all the fun stuff for you, leaving you with just the boring stuff to do).
- qwertyuiop924 10y agoMithril defines a vdom, routing, a $.ajax style XHR request, a few handy wrapper functions, an mvc-style structure for your apps, and a rendering loop that knows about ajax, and can be integrated with external libraries, so it only rerenders when necessary, and not while the application's state is inconsistant. However, the VDOM implementation, and kinda-sorta-not-really the MVC structure is all that's required. Yes, you can even write your own render loop if you want. Although why you'd want to do that is beyond me.