6 ms·
This is the epitome of a cliche JS project: Emojis in docs? Check Piles of abstraction layers? Check No tests? Check Already at version 2, but has breaking
by machinelabo 6y ago
This is the epitome of a cliche JS project:
Emojis in docs? Check
Piles of abstraction layers? Check
No tests? Check
Already at version 2, but has breaking changes? Check
Stacking up on yet-to-be-proven-framework (tailwind)? Check
We just need a BLM support message, donation link in the npm install stdout and some more JS shenanigans like support for yarn, gulp, webpack, npx, degit, and the next gen packaging tool soon™ to be released.
Sorry if this is offensive, but this ecosystem offends me and my sanity. This project is going to last 6 months and they'll move onto something else. I think I am finally ready to jump on React since it has been a few years and appears to be stable.
Edit: My ramblings are unfair. There are tests.
- bitten 6y agoI see tests in the repo :p
- machinelabo 6y agoYikes, my bad. I didn't see a test folder. I am just learning JS coming from an enterprise Java background. We've got our own pile of shenanigans as well, probably just as bad as the JS world, don't worry!
- cutler 6y agoDon't worry, you can have your public static AbstractProxyFactoryBuilder with Typescript to make you feel at home.
- machinelabo 6y agoOk, I am done with this. Anyone wanna start a tea shop in a small town in Asia? I am down. We can bootstrap it, live a simpler life and mingle with the locals. May be even create a little ordering system, postgres v9 in the backend, running on a dingy moth balled Dell PC under the cash register and use jQuery frontend, of course limited to 1024x768 resolution monitor from Compaq with a broken power button.
- Brajeshwar 6y agoCan I, please, join too. I will do all the interfaces in XUL and will optimize the heck out of it to work on IE.
- cutler 6y agoSign me up. Procedural PHP4 preferred or Perl/CGI.pm.
- machinelabo 6y agoI approve of this stack. No version control because we would just do this in one shot and the never add any features. The time saved will be spent with friends at the tea shop. An occasional bug fix for a customer that ordered over 32768 rupees of tea for a wedding party.
- Brajeshwar 6y agoLOL! That customer is my wife. ₹32,768 is a good sum for tea. (If this is Indian Rupee, btw, it is less than $500).
- cutler 6y agoLapsang Souchong takes me back to my student days with Pascal and Wirth.
- jamil7 6y agoI would unironically love to do this.
- idkwhoiam 6y agoSmall towns in Asia have millions in population :D
- degurechaff 6y agoyup. my town in java have 1.6 millions people :)
- sbergot 6y agoSo you are just learning JS but felt legitimate enough to post an unfair rant?
- fatonR 6y agoI couldn't agree more.
- jamil7 6y agoI picked up a React Native project for next year and am sort of terrified of what I might find jumping back into the world of JS after some time away from it.
- numlock86 6y ago> and the next gen packaging tool soon™ Well, there is ParcelJS [1], which has all of the above including the BLM landing page. [1]: https://parceljs.org/ https://parceljs.org/
- neya 6y agoWTF! The entire purpose of a webpage is to describe to an end user what it is about. I understand the need to support a social cause, but this is just ridiculous to mask your entire site with a label to the point where no one knows what the fuck your product/service/offering is about.
- blakblakarak 6y agoWhatever you do, don't look at the RXJS docs: https://rxjs-dev.firebaseapp.com/ https://rxjs-dev.firebaseapp.com/
- deleted 6y ago[deleted]
- elygre 6y agoWhat do you mean by “BLM support message”?
- tannhaeuser 6y ago"Black lives matter" I guess.
- girvo 6y agoA number of JavaScript projects have put support messages for the Black Lives Matter movement into the top of their README or home pages. I think it’s an excellent thing, personally.
- saturn_vk 6y agoI agree with the sentiment that BLM, but I don't see how a message/banner/whatever helps in the matter.
- ficklepickle 6y agoAutist here. I see this with so much human behaviour. Often the purpose seems not to be actual measurable progress but rather social signalling. I suppose it serves a social purpose, perhaps it is a precursor to material change. I feel it is important to remember that humans are tribal apes. If we deny our nature, it is much harder to overcome.
- neilsense 6y agoIt's a nonsense thing but, hey, it's easier than doing something of actual value.
- neya 6y agoI am not attacking any individual developer or project here, but in recent times, there's been a trend I've been observing and what you're pointing out. I call it the Hipster Driven Development phenomena* and it's just getting worse with every year. People just start by discarding established best practices in the name of being unique and cool and then wind up to the inevitable conclusion - the established best practices were there for a reason. There's been many such trends to name a few - discarding years worth of stable codebases to try out some shiny new framework, throw away proven technologies to trade for some perceived developer convenience (Eg. PostgreSQL to MongoDB), labeling known terminologies to sound cool (Hacker vs Growth 'Hacker'). All these hipster moves come with a huge cost - they cost morale, time, money, teams, relationships. It just feels so unnatural to accept this as the norm. In comparison, I just feel like some old dude from the 1950s rambling though these things have started to happen only the last half of the decade or so. Where did we go wrong? Edited for OT
- olieidel 6y agoAgree, an interesting observation! I wonder: Junior developers nowadays who learn JS and React as their first, go-to stack for web development, they haven't ever experienced the raw productivity of "just write php and upload it via ftp" or "just write it in rails/django and render stuff server-side". They come to expect that all development is as slow as theirs, including frontend <--> backend apis (graphql), huge js complexity (webpack), breaking changes (react-router), etc. I see lots of companies nowadays wanting to hire "React devs". It seems we're collectively forgetting how fast you can ship stuff if you just use proven technology. Makes me wonder where we're headed. Maybe it'll be a competitive advantage to use old (= proven) technology in the future?
- cutler 6y agoYou gotta hand it to the Rails team who came up Stimulus [Reflex] as an antidote to all the SPA abuse.
- deleted 6y ago[deleted]
- 6y ago
- deleted 6y ago[deleted]
- sbergot 6y agoSorry to burst your bubble but Tailwind is anything but "yet-to-be-proven-framework". It is a very solid and powerful abstraction that has existed for 3 years. Speaking of piles of abstractions, please enlighten me. What is not a pile of abstraction today? Even x86 instructions are implemented with microcode. Speaking of tests, anyone with some frontend experience will recognize that jest is a testing library. I would say that your comment is the epitom of a HN frontend thread ie mean criticism by someone with 0 experience in the field.
- machinelabo 6y agoOh please. Tailwind’s entire premise stands on these pillars which are shaky at best: - Developers don’t want to write css so they add insane amounts of nuisance in templates. Impossible to read the design language. - The original author of Tailwind complains about naming classes in the css but Tailwind ironically names things that are “tx—-bb-4-2” or whatever the hell that means. No thanks, I’ll write “customer-support-card” or something useful. Maybe even more generic - “card”. - Tailwind’s front page is everything that’s wrong with this. Moving around components with “mr-4” tags and shifting it up. Left. Right. Making it larger. That means that there is no standardized design language and you’ll create design that will have no cohesive unity. One component will have “mr-4” margin and another “mr-3”. We have the technology. Sass can create compositional components with reusability and logical hierarchy. There is no need for this Tailwind nonsense. Tailwind is a controversial project, not mature. It’s proponents think that others just don’t get it. No, we do. We’ve used it and it makes it very fast to get something working but that’s more telling about one’s inability to take the time to think about layout/design and writing proper sass.
- type0 6y agoTailwind is just like shorthand, it might not be useful to you but it is useful for some fast prototyping and iteration.
- machinelabo 6y agoAgreed and that’s it’s only selling point. Fast is not always better. It makes spaghetti code with shit design that lacks an architect behind it. There are many threads on HN about Tailwind and it’s always very controversial. I wouldn’t call this thing mature when there is so much controversy.