22 karma · joined Feb 6, 2025 (1y ago) · 14 submissions
comment 1y ago · link · parent
'v2';
At the top of every file could let us eliminate all this 20-year old cruft (like document.all hacks to support Internet Explorer).
Yet, despite the already established `use strict`; (which is basically 'v1.5'), the community seems completely against modernizing the language.
comment 1y ago · link · parent
This makes perfect sense if you think about it, because the browser makers ultimately decide what goes into the browser. If the W3C was "in charge" and tried to make Google (or another browser maker) do anything, Google could simply ignore them. That system wouldn't last.
It has to work this way ... and Google (along with Apple, Microsoft, etc.) have decided this syntax is best for them (and possibly their users).
comment 1y ago · link · parent
Look, both authors are very smart people who have great insights into development that we can all learn from ... but both also have the failing of being way too in love with their own ideas.
It blinds them to the flaws in those ideas, and makes it so when you read their work you have to be skeptical and evaluate each individual idea on their own.
comment 1y ago · link · parent
... I had an ex who was a huge clam chowder fan, so she did her own "experiment" and tried every chowder-serving restaurant on the Santa Cruz wharf (I think there were seven).
Her completely unscientific finding was that the very best chowder was at the end of the wharf, and generally speaking the chowder got worse as you got closer to the start of the pier (ie. the closest place to The Boardwalk ... where all the tourists come).
It makes perfect sense to me: if people come to your restaurant because of its location, you don't put much effort into quality. If you're far from the walk-in traffic, you need to do something (like make really delicious chowder) to get people to walk out to you.
comment 1y ago · link · parent
This was the most fascinating finding to me. I really wouldn't have expected Salvia, Acid, Shrooms, etc. to all produce the same hallucinations ... but I guess ultimately they're all operating on the same core neurochemicals, so I guess it makes sense.
comment 1y ago · link · parent
comment 1y ago · link · parent
With everything Trump is doing to destroy the rule of law, and all the potential for technology to help us simplify it, I can only hope that when Trump burns it all down, the people who rebuild will be wise enough to do better.
comment 1y ago · link · parent
Sadly, because it's associated with learners/juniors, pseudo code gets a bad rap. But really, all engineering is translating English into code ... which means almost any complex operation (setting up a new employee's account, or anything else) can be made clearer by utilizing such an "in-between English and code" step.
In the article they used Python, but for all the important stuff, they didn't: they used English. A "do-nothing" script is really just a script where instead of converting pseudo code to code (like programmers normally do), you just leave the English/pseudo code in, and wrap it with a print.
comment 1y ago · link · parent
Look, technology has always replaced jobs, throughout history (how many of you know professional lamp lighters, elevator doormen, or switchboard operators?) But the thing is, tech has always replaced the jobs that are easiest to automate ... not the "intellectual work".
I would be far more worried about being a real estate agent, food preparer, or heck, even a lawyer (for some specialties at least). I think they're all at more risk than programmers.
comment 1y ago · link · parent
But that's almost beside the point: even if it had perfectly identical functionality, people would still want to use VS Code, if only for its well-established ecosystem of extensions.