r/javascript • u/[deleted] • Mar 14 '21
I build a front-end "framework". Nothing fancy. Just plain old HTML and ES
https://github.com/i5ik/exoteric.js.git10
u/zdcovik Mar 14 '21
184 lines (ATM) of compiled readme file explained nothing.
0
Mar 15 '21
🤣🤣 Aaaww, you just don't like the README but that doesn't mean it explains nothing. It has loaaadss of examples, all you have to do is take a look and be willing to learn a bit. If you're not willing to do that, don't blame anyone else blame yurself ¯_(ツ)_/¯
5
u/sockin_dingers Mar 14 '21
The README is very brutal. It’s like the people who run the Wendy’s Twitter account wrote it 🙁
-1
Mar 15 '21
That's funny. 'Cause the project used to be called brutal.js. But thanks that Wendy's twitter is regarded as "burning" people but I think it's pretty tame. You know the Wendy's thing is a joke right? My project is not a joke but I get if you took it as saying you're "stupid", but actually phrases like, "Keep it simple, stupid" and "You're not smart enough to debug it" are part of CS. Good design, because you're really not smart enough to debug it! And neither am I 🤣🤣
2
u/abandonplanetearth Mar 17 '21
No matter how amazing your library is, you are terrible at selling your product. Stop calling people stupid in this thread. Act like a professional.
1
Apr 09 '21 edited Apr 10 '21
I feel sorry for you that you needed to pretend someone is terrible, misinterpreted it like that, and then tried to tell someone what to do.
Maybe you can read: https://www.yourtango.com/2020337540/how-stop-being-abusive-person-10-steps
edit: added link, spelling
1
u/abandonplanetearth Apr 09 '21
woah. I didnt bother to read all that but I just gotta say that if you were still hung up over this so bad after almost a month, you got some issues pal
1
Apr 10 '21 edited Apr 14 '21
Nooope. I didn't check until yesterday. Saw it. Replied straight away.
I feel sorry for you: that your preferred story about it is that you hurt someone for a month, believed the problem is then not what you did but how they feel, then pretended they have issues.
Please do better in future. :P ;) xx
1
1
u/fatnote Mar 14 '21
I'm not totally without sympathy for the "vanilla js" / "no-framework" movement, but on balance I believe that tools/languages/frameworks that allow engineers to write code at a higher level of abstraction are a good thing. See also one of my favourite talks by Bret Victor
2
Mar 15 '21 edited Mar 15 '21
I get it. I love Victor as well. He's a genius. Thanks for link I added to my watch later :)
I agree abstractions can be useful, very useful. But for me with front-end I find that the existing HTML/DOM APIs are basically the right level of abstraction. This just adds some convenience around attaching event listeners, and updating already attached nodes when the state changes.
I think the abstractions/model of React are all wrong. At least for me anyway. And I believe you should build tools that suit you, to maximize your own productivity. Some symptoms of "React disease" that I think are: massive toolchain required, huge library size, elaborate and custom debugging tools necessary, conceptual gymnastics using "React goodthink" for even simple tasks ("Oh, it's not problem just useEffect"), React having to add more layers of conceptual debt to "fix" its already poorly thought out conceptual debt, JSX using an overlapping but subtly different syntax of HTML.
I agree the React docs are great, and the basic premise, "View is a pure function of state, unidirectional data flow" is solid (and in certain cases the "abstract changes to state as actions" is very solid too), but I just think, and I guess the implementation of these ideas in React is not perfect. I actually think it costs a lot of productivity by being so complex.
But psychologically/sociologically I think overly complex specialized tools have a certain charm. They create a basically arbitrary/manufactured sense of mastery, create a priest class with access to "the truth", and create an insider/outsider partition, all these things are important for creating large movements/tribes of people to mobilize them to use a given tool. I just don't think those concerns necessarily overlap (and sometimes do diametrically oppose) productivity at a developer level.
React has been fantastically successful as a tribe creation mechanism, but I just think it could do waay better in terms of real productivity. And I demand the most of my tools, and have no interest in sacrificing productivity for tribal perks, so I built my own :)
2
17
u/O4epegb Mar 14 '21
And very modest