|
It's protype chain is no different than inheritance, in concept. I think most people coming from the Microsoft world just diss it because it's different. JS was originally designed to be easy to use, and it was. Before we had industry recognized patterns the prototype chain in JS helped a lot. Was it syntactically as nice as traditional OOP? Nope, but JS was never really OOP. It was functional. These days we got classes anyway. But man, back in the day, it was cool.
And the loose vs strong type issue has pros and cons. Not to rehash what's been said on CP by me years ago. But you have to understand the original intent of the web and its languages to fully recognize why loose typings became a thing. But, by that measure you'd have to also hate Python, JavaScript, Lisp, PHP, Ruby, Perl, Lua, and Tcl. Yet, I don't see peeps on CP saying how terrible Python is. But again, why where those languages created?
Keep in mind, I don't like Python or Ruby. But for different reasons.
I will admit that these days, for professional web dev that TypeScript should be used and eventually WASM will make JS retire. But man, sometimes for a quick dirty script vanilla JS is quite handy. Comes with a few quirks, but it's fast, so very fast, for a scripting language. Faster than most would otherwise think. And there would be no web without it. JS will always be special. It helped make the web.
Anywho, it's been my experience on CP that there are no real JS experts here. But yet, everyone hops on the "let's hate crap" gravy train. So, I hope my post at least provides some balance.
Jeremy Falcon
|
|
|
|
|
The question -- Does P = NP? -- is a grand theoretical challenge. Scientists took the approach of spoon-feeding ideas to GPT-4 to seek an answer. How do they get the caramel inside the Caramilk bar?
OK, that one may not travel well. I have no idea if they sell the Caramilk anywhere other than Canada.
And yeah, invertase is magic.
|
|
|
|
|
Completing new training and certifications offers distinct advantages for software developers. However, many organizations don't provide time or financial support for training, a new report finds. They'll just figure it out without the training, right?
|
|
|
|
|
CNCF, who sells various kinds of "cloud training" and "cloud certification" (going by their website, that largely means "learning to use kubernetes" .. which CNCF is the maintainer of), conveniently finds that developers are interested in those things, and by the way there is a subscription model.
|
|
|
|
|
Malicious advertisements are now being injected into Microsoft's AI-powered Bing Chat responses, promoting fake download sites that distribute malware. Are the AI trying to hack us now?
Well, that didn't take too long before they were ruined, did it?
|
|
|
|
|
Kent Sharkey wrote: Are the AI trying to hack us now? Better hack than kill...
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
In the midst of industry discussions about productivity and automation, it’s all too easy to overlook the importance of properly reckoning with complexity. How can you make things as simple as possible, but not simpler?
|
|
|
|
|
Kent Sharkey wrote: How can you make things as simple as possible, but not simpler? By not making them at all.
|
|
|
|
|
i tried embracing complexity: it kicked me in the teeth. and filed a complaint for "abusing simplicity."
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
As simple as possible, as complicated as needed.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
The symbol for an empty set is ∅
|
|
|
|
|
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
While I hoped this process would improve compile times for my game, it actually made them about 50% worse. Include everything, let the compiler sort it out
|
|
|
|
|
I typically don't, but not because I ran comparisons, but rather I just figure for all but huge codebases, the compilers run so fast on modern dev machines that it's not a huge issue anymore.
Check out my IoT graphics library here:
https://honeythecodewitch.com/gfx
And my IoT UI/User Experience library here:
https://honeythecodewitch.com/uix
|
|
|
|
|
The upcoming solar eclipses and the current high sunspot activity means it’s a great time to observe the Sun. "That's the way, aha, aha"
I know Chris doesn't like it as much when we use song lyrics, but that's a double joke one
|
|
|
|
|
Maybe Chris will "turn around".
|
|
|
|
|
Launch inventory is specifically held for individual buyers until 2024. Time to do some baking
|
|
|
|
|
Microsoft started rolling out the Moment 4 update for Windows 11. The update also included Windows Copilot, a generative Artificial Intelligence (AI) that replaces Cortana and offers to perform certain tasks for the users. Because dog is my copilot
|
|
|
|
|
Quote: ... set the value as 1 and base as Hexadecimal
Always good to take advice from an author who doesn't know how the registry, or number bases, work.
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
The discussions involved high-ranking executives, including Apple’s Eddy Cue, but they never got serious. Because Bing is a type of cherry, not an apple
Oh, let's see. We can continue to get $20 billion USD from Google, or we can pay you $400 billion USD for 3% market share. Decisions, decisions...
|
|
|
|
|
Even MS doesn't want Bing!
(But to be fair, Bing chat found something the new, crappy incarnation of Google failed at. I hate to say it, but I am going to be using that more in the future.)
|
|
|
|
|
Researchers spot attackers using an existing phishing obfuscation tactic in order to better ensure recipients fall for their scam. The outlook is for more hacking
|
|
|
|
|
Is that any worse than "Microsoft tricks users into using Office 365?"
|
|
|
|
|
Or they trick users into using Edge by making Outlook always open clicked links in Edge?
The difficult we do right away...
...the impossible takes slightly longer.
|
|
|
|
|
The 3D screen-printed, flexible sensors are not only able to detect electrophysiological activity coming from the brain but they can also harvest sweat. This brain has a good beat, and I could dance to it
|
|
|
|