Most active commenters
  • ChrisMarshallNY(5)
  • systemvoltage(3)

←back to thread

367 points lemonberry | 23 comments | | HN request time: 1.294s | source | bottom
1. ChrisMarshallNY ◴[] No.24641703[source]
I love her description of using a dependency-laden component:

> Using a custom element from the directory often needs to be preceded by a ritual of npm flugelhorn, import clownshoes, build quux, all completely unapologetically because “here is my truckload of dependencies, yeah, what”. Many steps are even omitted, likely because they are “obvious”. Often, you wade through the maze only to find the component doesn’t work anymore, or is not fit for your purpose.

That is so true. The "unapologetically" thing is important. I see this all the time. There's often a fair bit of 'tude, where I am looked at with condescension, for not knowing something "obvious."

The fig tree pic is perfect.

EDIT: Removed phrase that was possibly corrosive to the narrative.

replies(7): >>24641798 #>>24641833 #>>24641876 #>>24642200 #>>24642654 #>>24644698 #>>24651062 #
2. lazyjeff ◴[] No.24641798[source]
> BTW: This lady has a Masters from MIT. She def knows her way around things.

Moreso than that, Lea is near the end of a Ph.D. in David Karger's group, an expert on CSS, and overall amazing researcher and developer for the web.

replies(1): >>24641860 #
3. dejavuagain ◴[] No.24641833[source]
I see this too and is very frustrating in modern Web learning.

It might take 8 files and 15 dependencies to make one example work. Only 3 files are partially provided. 5 dependencies are deprecated or no longer supported.

The informative websites aren't designed to help you learn, they are designed to help the helper: get views, get cred, get employed, get ad revenue, get an ego boost.

4. yourapostasy ◴[] No.24641876[source]
> There's often a fair bit of 'tude, where I am looked at with condescension, for not knowing something "obvious."

This is a huge red flag for systems design to me. Whenever and whereever I've seen this abundance of assumed implicit knowledge instead of documented or introspectable configuration, the systems have invariably been excessively difficult and/or time-consuming to troubleshoot once in operations. This is overlooked and hand-waved away when the system is the new shiny, but once it becomes productionalized "legacy", it becomes a huge headache to leadership that appears to them as constant instability sucking up everyone's time on fire fighting instead of innovating more new shiny.

Here's to hoping better dependency management like from the Nix folks makes it into the mainstream platforms.

replies(1): >>24644752 #
5. taytus ◴[] No.24641961{3}[source]
I don't think people are "backing her up" because of sexism. I saw it more as: "She knows her shit. Dear devs, pay attention"

And yes, Lea is pretty awesome.

replies(1): >>24647460 #
6. systemvoltage ◴[] No.24642200[source]
> BTW: This lady has a Masters from MIT. She def knows her way around things.

I agree with all of what you said until you bought up this unnecessary credential wrapper. It leaves a bad taste - statements like this. I don't know why. Going to MIT is doesn't make you an automatic genius nor does it mean that they know their way around things. It bothers me.

replies(4): >>24642206 #>>24644873 #>>24659135 #>>24665136 #
7. ChrisMarshallNY ◴[] No.24642206[source]
Cool. I'll remove it. Not necessary for the narrative.
replies(1): >>24643567 #
8. ChrisMarshallNY ◴[] No.24642229{3}[source]
> It's sad to see the sexism in the need to preemptively back her up.

You have GOT to be kidding me. Tell me that this was a joke.

9. tashoecraft ◴[] No.24642654[source]
This is everywhere in programming. Just trying to setup vim involved learning an insane amount of information that is scatter documented with every person recommending different ways to accomplish the same task. You feel stupid for not knowing one tiny part.
replies(1): >>24647211 #
10. systemvoltage ◴[] No.24643567{3}[source]
Thanks for being receptive.
11. dmix ◴[] No.24644698[source]
This is just the reality of the current JS world and just how it continues to get done for practical and profressional reasons.

The dream is having small self-contained web components and can just drop in to your site (the whole whole anti-JS stuff is a whole other beast and IMO unrelated to practical shortterm goals of getting web components at the browser.

What the components end up doing is still heavily dependent on a JS component building world that was built with a framework in mind and native web component integration as a future ideal implementation system. But otherwise there is no getting away from components being tied together in a wider system with heavy JS dependencies.

Basically nothing has failed. Other than maybe React and Vue et al turned out to be more practical for the above reasons and full native web components are an afterthought. They've been sufficiently simulated where it's not a big deal.

replies(1): >>24648662 #
12. ChrisMarshallNY ◴[] No.24644752[source]
> Here's to hoping better dependency management like from the Nix folks makes it into the mainstream platforms.

Apple's SPM is off to a good start (It's the one I use). Carthage is too primitive, and CocoaPods is...CocoaPods.

13. pembrook ◴[] No.24644873[source]
> It leaves a bad taste - statements like this. I don't know why.

Probably because those statements are logical fallacies, this one specifically is known as argumentum ad verecundiam in Latin, or "an appeal to authority."

The fact that the arguer holds a prestigious title (or wears a fancy crown) cannot prove or disprove any given statement.

The inability of humans to think logically has bothered people for thousands of years, read up on Aristotle for more info.

replies(1): >>24645078 #
14. ChrisMarshallNY ◴[] No.24645078{3}[source]
Just to set the record straight, here's why I mentioned it:

I like her writing style. She writes in a pithy vernacular that belies her educational credentials.

She writes like a cranky old man (takes one to know one). I think we need more writing like that, as opposed to the usual buzzword bouillabaisse that makes up a significant chunk of the tech WordSphere.

When someone writes like that, it can be easy to dismiss (I know this). I didn't know about her, or her creds, and was pleasantly surprised, when I read them, so I figured I'd share my pleasure and surprise.

I encourage highly-skilled, -experienced, -educated, -whatever folks to write in an accessible fashion; preferably, with warmth, humor and approachability. The world needs as much of that as possible.

I could really care less whether or not she is a woman. It probably means a lot more to her, than it does to me. I enjoyed her work, and my enjoyment was improved, when I learned her background, and expressed my pleasure.

I mean, why the heck do we always have to find things wrong with everything? Can't we just say "This is cool. I'd like to hold it up as an example of what I like."?

replies(2): >>24645537 #>>24659175 #
15. systemvoltage ◴[] No.24645537{4}[source]
I empathize with you in strongest way possible. I think we all should stop being offended so damn much.

I don’t know why I felt the way I did but you’re right - take it easy, we need to be a bit more flexible and allow for room of interpretation. Sorry I felt that way in my initial comment.

I think the offending word was “def”.

> This lady has a Masters from MIT. She probably knows her way around things

Sounds much better and less authoritative :) I know what you meant in the general sense.

Side note about the author's credibility: Some of the writing from this article is stolen without credit: https://twitter.com/brucel/status/1305820902903382016

The whole flugelhorn sentence.

replies(1): >>24647478 #
16. xyzzy_plugh ◴[] No.24647211[source]
Setup vim? You literally type `vim`

You can customize it to your hearts content, but that's absolutely not necessary to use it proficiently.

Plenty of software tools work out of the box, are turnkey, etc.

17. xmprt ◴[] No.24647460{4}[source]
Yup. All too often I see posts just like this from someone who self taught themselves javascript two years ago and after building a few personal projects, thinks they're an expert on it.
18. xmprt ◴[] No.24647478{5}[source]
The whole sentence? I couldn't even find a part of it other than the sentiment and "flugelhorn"

Seems like a coincidence especially since bashing on all the steps required for modern web development isn't a new idea.

19. Dahoon ◴[] No.24648662[source]
)
20. TiredGuy ◴[] No.24651062[source]
There are some lightweight approaches to web components. For example µce is extremely small and provides web components with no build step [1]. If you use the author's once-defined 140 byte library, you can also avoid having to bundle everything per component [2].

For those not quite ready to throw away frameworks, heresy [3] might be more up their alley, or if you're not as set on production readiness yet, check out my own barleytea.js [4] which is written in a little over 300 SLOC and has zero dependencies or necessary build steps.

I guess my point is, there is a good variety of microframeworks out there striving to meet this need.

[1] https://github.com/WebReflection/uce [2] https://github.com/WebReflection/once-defined [3] https://github.com/WebReflection/heresy [4] https://andrewfulrich.gitlab.io/barleytea/

21. hackerfromthefu ◴[] No.24659135[source]
Contrasting anecdote - the credential signalling was useful to provide context, else on JS topics it's rational to assume there is a fair to middling chance the writer really doesn't have a grasp of the wider industry body of knowledge, which quite evidently is fairly common for JS topic writers.

I value the additional factual information over removing useful information to try and avoid upsetting anyone at all. I wish more people realised how much real value is lost when everything is filtered.

22. hackerfromthefu ◴[] No.24659175{4}[source]
Absolutely, it's time to just ignore the hecklers. They are subtracting from the value that the producers create! When the dead mass of hecklers and pc twitter twatters gets too high our civilisation will fall behind or fail because of it. Healing the pc overgrowth crisis is becoming important for our future prosperity and possibly survival.
23. acoard ◴[] No.24665136[source]
Probably a more relevant fact is she's on the CSS Working Group, meaning she has a voice on the CSS spec.[0] She has an important and influential voice in this space. Lea Verou is an expert on frontend and has been for years. I have her book and really enjoy it, it's like a coffee table CSS book with gorgeous pictures and mindbending techniques.

https://en.wikipedia.org/wiki/Lea_Verou