Hacker News new | past | comments | ask | show | jobs | submit | trh88's comments login

An interesting article, but I would be concerned about readability for newcomers unfamiliar with Proxies.

To be honest, for the particular use cases mentioned here - why not use the object utilities in Lodash (which is well used, familiar to many, well documented, and battle hardened)?

> we didn’t get around to implementing slices like array[1:3]

What's wrong with arr.slice(1,3)?


The only people that say that a CS education doesn't make you a better programmer are people without a CS education.


CS is not programming just like 99% of musicians don't have music theory degree.


It's probably a great analogy because the best musicians all know basic music theory, whether they learned it in school or on the bandstand. As for the advanced theory that they teach in graduate programs, it isn't even applicable to most genres of music.


> the best musicians all know basic music theory

Do you have any evidence for such a bold claim or is this just speculation?


They might know it instinctually but Funk brothers / James Jamerson (the bass player on a lot of Motown) didn't go to uni to study music.


Interesting analogy.

I bet there's scope to twist it beyond all sensible bounds, and compare the ability of the 99% to the 1%.

I suspect there's top level classical, jazz, and session musicians - who're the industry equivalent of 10x programmers. (And all the other stereotypes probably exist too, I bet there are occasional untrained but gifted musicians who can produce 10x output, but who're amazingly difficult to collaborate with compared to degree level music theory trained musicians... And I bet there are "10 year" musicians with one years experience repeated ten times over.)

The other interesting point there is that probably 99% (or more for, five, perhaps six nines) of "programming" doesn't actually require that much hard-core CS theory. You can get paid well playing covers in bars with a good ear and not being able to read a single note from a chart, just by listening to the originals and copying them over and over in your bedroom. Same as you can make a decent living building basic CRUD websites/apps without having written your own compiler that can compile itself or defended a phd that advances humanities start of the art understanding of something fundamental.


The only problem at that level of musician ship you lose the fun and can end up with some very sterile music that's only of interest to other people who have degrees in music theory.

Btw years ago I did work with a top session guitarist (top 10 hits) who after an accident taught himself to program from his hospital bed.


Good thing parent didn't say that then.


LOL @ title. Hyperbole much?


> to do CSS, you now also need to know JS

Since when? You don't need to know JS to write CSS. You just don't. You make an architectural decision, based on what you want to create, to use css-in-js. But that's a decision that you make. You can 'do' CSS without anything but... CSS!


Yes, working on a personal project, I can make those decisions. In a team, I often can't; I have to work on convincing others. Posts like these are part of that process.


That's exactly what I wrote, right?


> Any code that can be written will eventually be written in JavaScript.

Well that's a conscious decision the developer makes.

You don't need to use any of this.

If, as a beginner, you just want to write an HTML doc with some styles - that still works.

However, if as a beginner you jump into a Webpack / React / CSS-in-JS setup... well you're going to have a hard time.

Complaining that "that's the way things are going" seems to pass the buck. If you don't want to go that way, then don't!


> If you don't want to go that way, then don't!

You will if you want a job. Noone's hiring devs who only know html and css and don't want to learn anything else.


Brad Frost clearly doesn't want to learn anything else and apparently people keep hiring him.


There are the odd few, including Harry Roberts, but they're the exceptions. By and large, you're not getting into the industry knowing only html and css when (given the amount of easy-to-access online resource) it's so easy to find devs who will learn those plus more.


Where did they say it makes Tesla the "most popular manufacturer in the world"? They didn't.


This was such a great watch, thanks for sharing!


You could also get it down to 0kb if WordPress just serves a blank response. Still uses a ton of resources on the server.


Best advice I have ever been given (in project management generally) is that it does sometimes go wrong, and when it goes wrong:

STOP. RESET. CONTINUE.


There are a LOT of assumptions here.

> The rest of the org probably made a schedule they know you can't meet

> Most people probably already know you'll be late, but aren't saying it out loud

> There's a good chance <your boss> already knows as you suspect.

> It's probably not new news to <the project owner> either.

Doesn't take much for one, if not all of those to be untrue. And by the time it unravels, it's too late.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: