I note that all those ecstatic quotes are from executives.
Because the way I remember it, technical people hated it with a passion, from its design to its implementation.
In fact, the most popular JS projects have always been to avoid writing ES5, its DOM API, or depending of one of its implementation:
- scriptaculous: we hate even the basic types, so we monkey patch our own code into it.
- jquery: don't use any of the language paradigms and use ones from Lisp and Haskell. Avoid "this". Don't touch the DOM. In fact, don't code, just make a few calls and pass parameters. And we rewrite the whole damn browser API to avoid incompatibilities.
- GWT: write JS from Java.
- underscore and co: let's rewrite typeof, the equality sign and array manipulation methods. And provide an stdib for god sake.
- coffeescript: we like Python and ruby but must do JS.
- React: HTML in JS now please. And magic DOM. Oh, and prototyping is horrible, lets use classes. And we strongly advice immutability, but do what you please...
- webpack and babel: ES6 and 7 are not here yet, but ES5 is so bad we will setup an entire ecosystem dedicated to make believe they are. Also pretend import works like in other languages.
- typescript: ok, we were wrong, ES7 is not enough. Not nearly enough. Please make intellisense works.
Now, in 2020, JS is finally not so horrible to work with. You can use map(), () => and "..." and fake namespaces. Which is amazing to access the crazy cool plateforms that the modern browsers and the web are.
So I guess, in a way, this quote from the AOL guy was true.
JavaScript has a very high learning curve. But it becomes great once you are fluent. When manipulating the DOM it kinda sucks that you can't just monkey-path attributes, you have to use el.setAttribute. The DOM is also very slow. But the DOM do a lot of work - ever tried to make your own UI framework from scratch only using low level GUI calls? z-index, styling with CSS, screen-reader support, etc.
> I still have people argue with me that the DOM is slow even though all the evidence and browser vendors claim updates to the DOM is simply switching a bit in memory. In other words many web developers have utterly no idea how their platform works.
I guess not much has changed in 25 years. Most developers still fear the language, have no idea how it works, and will do everything in their power to pretend this language is some other language.
> ever tried to make your own UI framework from scratch only using low level GUI calls? z-index, styling with CSS, screen-reader support, etc.
I meant creating a GUI from scratch. Creating a GUI using the DOM is easy. Working with the DOM overall is simple. What I mean is that the DOM do so much work for us (that we take for granted).
What I mean by slow is for example adding a element to the screen, or updating some text. Compared to for example everything that happens on the screen in a 3d game.
I do everything using vanilla JS and I cannot understand why anyone would use a web framework, (although most web project does). I do however have a vague memory that the learning curve was fairly steep, as I have been working with vanilla JS for over 20 years. (whereas the average developer has only used JS for one year) it wasn't until I started to use JS full stack (with Node.JS) that I started to like it!
I worked with vanilla JS for some time (before Prototype.js or jQuery existed) and used a bunch of incantations of different libraries and frameworks over the years and I cannot understand why anyone would choose to use JS for platforms where you can use any other language (aka... any platform that isn't a browser).
No construct or design decision of JS is better than in other languages, the lack of a basic standard library hurts a lot. Dependency management was inexistent until recently, the same for a lot of basic constructs, data types and other utilities that should be baked into any modern language.
The current landscape of JS is so convoluted and with such a varying level of quality that is intractable for me just trying to get things done without getting into the community and everything around it, it's not an easy tool to use and it's not an ergonomical one.
I have used JS for the past 15+ years for different kinds of software and I dislike it, not intensely but I'd never choose to work solely on JS. Yes, you can be productive in it but there are much better tools for most of the job it does around, its only power was to be the only language you could use to script a browser and I hope that WASM kills that.
JavaScript has taught me that there are only two things separating a novice programmer from an excellent programmer: writing and data structures.
In order to improve as a programmer over the years I have had to learn to improve my writing. This requires a clear vision before putting keys on a keyboard and a solid sense of organization. You should know what you are going to work on with a strong confidence on how to go about it before doing any of the actual work. Sure rough spots will emerge along the way, but that shouldn't stop you from solving for the original vision. Then once the original vision is achieve refactor, debug, and refactor again. In writing that is call drafts and second opinions. This applies to any programming language equally.
A confidence of data structures is also critically important. Once skills and conceptual mental modeling of data structures becomes as common as spelling your name algorithms and logic almost write themselves. JavaScript does some things right by providing simplified data structures (objects, arrays, sets, maps, and such) and is really expressive in how you use them. JavaScript also does a lot wrong in this regard with its loose typing and some of its sloppy conventions. Fortunately, TypeScript interfaces coupled with consistent use of strict type declarations close many of those gaps.
---
I have heard so much hope for WASM killing JavaScript over the last 3 years, and almost all of it based on ignorance of how the technologies work. So much of this hope hinges on the availability of the page's DOM to a WASM instance by people who have never written to the DOM and have no idea what they are really asking for. While the WASM working group says this will never happen I suspect that very simple technology reasons will get in the way first regardless of what anybody wants.
If, however, WASM does replace JavaScript because the page's DOM becomes available to a WASM instance I suspect it will be the same clusterfuck that those developers were hoping to replace. I suspect if those developers couldn't figure out the relationship-oriented tree structure of the DOM using JavaScript they fail all the same when using their favorite language.
I can understand replacing JavaScript for other reasons, but rarely (extremely rarely) are the well grounded reasons ever a primary motivation for wanting JavaScript replaced.
I've just began to learn ES5 and ES6. I've compiled a small list of JS quirks, things that I'd take for granted because they're well stablished in other high level programming languages. For instance, 'for/in' picks the keys instead of the values of either array or dictionary ( object in JS terms I think), dictionary doesn't have a keys 'method' but you can call Object.keys for that functionality, arrays are key/value indexed, so array['a']=1 is valid, and so on. I've lost a little while just laughing when I learned about how ES5 does OO.
JS oftentimes reminds of Apple: there's the industry standard or some already well stablished way of doing things, and they go like "Well, flip it. We're doing our own way, just because".
jQuery feels like the list monad, if you see chaining as similar to bind and $() not so far from return.
And for Lisp, jquery provided error handlers instead of relying on native try/except.
Of course, it's more inspired from it than the real thing, but it's far from any JS paradigm of the time. Remember that JS didn't even have map() and the only place you used your first class functions was to setInterval. Plus the joke is funnier that way :)
Method chaining (aka. fluent syntax) is not really comparable to bind. Bind is nested lambdas, which means an operation might be executed zero or multiple times depending on the bind. In method chaining, each call will be executed exactly once, unless an exception is thrown.
The use of method chaining in jQuery is cool, but it is not very similar to Haskell.
Stealing this for my next JS training, beginners always have a hard time with callbacks, so it's a good first step to actually explain the benefits of callbacks.
I suggest that, if possible, try to set up a cheap server on a DO droplet or somewhere with a built in amount of latency and use that in your presentation.
When I was learning callbacks I saw people use the "setInterval" example and while it did help to an extent, the real world implementation still left a good deal to be desired.
Why would you direct new comers attention to eval'esque functionality? They should stay far far away from it. Come to think of it, everyone should stay away from eval functionality!
Agreed. In my class I always start with the hard/wrong way. Point out why it's hard/wrong. Let them hate it. Then show the easy/correct way. You can't just point them at something and say, "Do it this way or else." That's not teaching. That's directing.
I feel like you could start with manually calling the function, and then introduce callbacks as a way to get your code to run in response to some event. A callback is no different to a regular function after all.
If your way works, then it works though I suppose.
> - webpack and babel: ES6 and 7 are not here yet, but ES5 is so bad we will setup an entire ecosystem dedicated to make believe they are. Also pretend import works like in other languages.
They just peeked over at their low level programming neighbours and realized what they did to avoid programming assembly and program C instead was a smart idea.
Genuinely curious about your last point (don't know much about the topic). Is english intrinsically better at this, or is it because of the presence of jargon? Is it a studied phenomena, or is it something most people feel?
English is usually shorter than other latin-based languages. It's longer than ideogram based ones but you don't have to learn 100000 symbols to express yourself in it.
It also has a very simple grammar compared to most languages. Take this sentence:
"I would like not to go to school today"
The french equivalent would be:
"Je voudrais ne pas aller à l'école aujourd'hui."
"would like" is a simple combination of two words, but in french you need to know the precise conjugation of it.
"not" is actually expressed as 2 words with "ne pas", which can be positioned in several ways.
Infinitive, like with "to go", is simple in english: just add "to". In french, each verb is different, like "aller".
Then you got "the" in any circumstances in english, but the "l'", could also be "le, la, or les" depending of the word after it. A;so remember that each word is either feminine or masculine in french, even a stone or the sun.
Then "à" and "école" got an accent. French has many of them, you need to know the right one, where to place it, how to pronunciation it and type it on the keyboard.
Finally, "today" vs "aujourd'hui". I know which one is easier to type in a bug report.
Not to say English doesn't have weird traps, but it's very, very relaxing compared to the rest. And much more efficient.
Also describing a view of the country side with it feels a bit limiting. But I'm not Shakespear :)
Hangeul is a syllabary so anyone can read it, just like Latin. It was specifically designed in response to peasants not being able to read Chinese hanzi.
Things like the subject and topic can be and is omitted when it’s superfluous. (The above sentence omits the subject and subject particle. There is no topic here). English almost always needs to specify the subject, asides from very casual speech/slang. Korean, like english, doesn’t need to specify gender of nouns, and it also doesn’t need “a” or “the” markers. The location particle above could be dropped too.
However Korean does have complex honorifics and formality conjugations, which typically get longer the more formal/polite it is. Above we have the plain or dictionary form, which is usually the shortest form as well.
"I don’t want to go" and "I would like not to go" express different things.
One is expressing opposition right now, the other one is expressing desire or even a request, potentially while the action is already engaged. The first one is definitive, the second one is wishful thinking or negotiation.
I don’t see any practical difference other than using more polite, indirect language. The effect of “would like not to” is the same in the end with opposition.
I don’t think there’s a 1:1 translation of “would like not to”. I’d probably say something like “it’d be good if I did / didn’t do X”. Which is less direct than the equivalent “I do / don’t want to do X”.
What French really needs is a comprehensive spelling/grammar reform. In Haitian Creole, "ne pas aller à l'école aujourd'hui" is written simply "pa ale lekòl jodi"! And one can just write "mwen" instead of having to differentiate "je" and "moi". (There's also a marker word "ta" that's entirely isomorphic to the English "would" in that it introduces a conditional modality.) Not coincidentally, English is basically a creole language as well. That's why it's so incredibly simple.
English has like 17 tenses, many languages only have 3 without any loss in expressivity. When learning English you need to learn each word twice (once to write, once to speak) - that's not the case with many phonetic languages.
English isn't inherently better as a world's language than anything else, it's just there, so it benefits from the network effect (it's more beneficial to learn language that has the most users, so it gets even more users).
In colloquial Japanese that would be three words: Kyou gakkou ikitakunai. The first word is "today" (unconjugated), second is "school" (unconjugated), and the third is the negative "wish" (volitional?) form of "to go" (iku > ikitai > ikitakunai). Subject (the speaker) is implied and neither the time nor the the topic/object needs to be explicitly tagged.
I can see that being true. Many of the web sites I build are multi-lingual, and when designing for many languages, you have to take into consideration that certain languages take many more characters or words to express an idea than in English.
Off the top of my head, I believe we factor in 15% more text space for Spanish. German is something like 60% more.
When localizing software also it's a general rule of thumb that your on-screen UI spaces need to be something like 40% bigger than the English text that goes in them since the German equivalent is always going to be way bigger. It's common for it to turn out half-way through localization that some of your text doesn't fit anymore.
(FWIW, this also happens when swapping from ideographic languages to English - western localizations of Japanese video games often end up with very small text as a result.)
In my opinion, jargon helps, but English is just easier to learn and shorter to communicate.
My first language is Portuguese, and English was not so hard for me to learn. I studied a bit of French and it was ok, but not as easy as English. And this considering it should be a bit easier since Portuguese is my main language.
Now I'm studying German and... it's way harder than English and French. At least, way more verbose and which more complex grammar rules and conjugations.
English has an incredibly simple grammar, comparatively speaking. There are only three verb conjugations (if you don't count auxiliary verbs) and one gender. Even naming variables is easier!
Unfortunate, brand loyalty doesn't mean anything anymore:
- a lot of companies don't manufacture the product themself
- they don't even manufacture two products from the same subcontractor
- sometime, the same product, between two batches, is not produce by the same sub-contractor
- big players just don't care. Cisco is not going to lose business because you chose to not buy, and most people won't follow you to allow the boycott to have enough wait
- PR firms are so powerful now they can make any brand great again. See Microsoft. I guaranty there will be people that will want to answer this comment stating how they really are a good firm now. And cite great things they do. Yet I bet in 10 years, we will learn about some other horrible things they did. Again. It's been like that for decades. PR works extremely well now, people genuinely live the feeling they've been lead to by those amazing consent manufacturer.
- a brand is dead ? Don't worry, it will be renamed into another one. Or subcontract for another one. You will buy its product again, you will just don't know you do.
PR firms are so powerful now they can make any brand great again. See Microsoft. I guaranty there will be people that will want to answer this comment stating how they really are a good firm now. And cite great things they do. Yet I bet in 10 years, we will learn about some other horrible things they did. Again.
In rhetoric this is what's known as "inoculating the argument", or "inoculation theory". You take a reasonable criticism of what you've said and present a weakened version of what someone might respond with in order to suggest that means that response is invalid.
The thing is though, in this case, you've not really presented a solid argument. All you've said is "Microsoft might be doing terrible things!", which is potentially true, but it's a bad reason to ignore the obviously good things that we can see. What your argument boils down to is that once a company loses your trust they can never get it back regardless of what they do. In which case you're removing yourself from the conversation because you're only ever going to be negative.
I appreciate your logic. However, MS continues to do wrong, forced telemetry and upgrades, ads in the OS, are but a few examples. Only now drowned out.
From the wiki page, there are three levels that include 6 stages (two each):
Level 1 (Pre-Conventional)
1. Obedience and punishment orientation
(How can I avoid punishment?)
2. Self-interest orientation
(What's in it for me?)
(Paying for a benefit)
Level 2 (Conventional)
3. Interpersonal accord and conformity
(Social norms)
(The good boy/girl attitude)
4. Authority and social-order maintaining orientation
(Law and order morality)
Level 3 (Post-Conventional)
5. Social contract orientation
6. Universal ethical principles
(Principled conscience)
Microsoft continue to produce proprietary software, i.e. software which infringes on its users' freedoms to use, examine, modify & share software; that is wrong.
Indeed, this is an opinion based on observations I made, not a scientific claim.
And as you noted, I designed it specifically so that my comment would not be inundated with answers from the accounts of PR firms paid to say MS is great.
You can now state that those could be real accounts, and that MS is really a great company and that it's just being defended by people that like it for real and I have no proof of what I advance.
I think brand matters more than ever. It’s anecdotal, but let me give you a few examples of how my purchasing habits have become, and I assume that I used to buy things pretty much like everyone else.
Pants, one of my co-workers recommended a brand of pants from a Danish store called shaping new tomorrow, they have two real stores and their own internet business. They are the only pants I buy now, because they fit my needs. I used to buy pants at various places, but these guys really hit the nail on what I need, and as such their brand is immensely important to my pants buying.
Blood Bowl, I play it and I buy 3rd party miniatures. In the blood bowl community there is a lot of talk on who build the best 3rd party miniatures. I prefer willys miniatures and Greebo Games myself, and typically only buy their stuff. Again these are small mom and pop companies with their own little web shops that have become successful through their brands being associated with high quality.
T-shirts, I used to be a shirt guy. But a couple of years ago I started wearing t-shirts with prints. These are perhaps the best example because you can buy from so many places. And I did, I’ve bought t-shirts from about twenty different shops, but these days I mainly buy from qwertee because their fit suits my body best. Again their brand and the product I associate with it is important.
I used to buy things of amazon, and stores like it here in Denmark. But because it’s almost impossible, or at least takes a lot of time to associate sellers and quality on those platforms I almost never use them now. This was all anecdotal, but if I’m not alone in this, then brand matters quite a bit these days.
I'd go further and say that branding is now often the product itself.
Nike can sell a hat for 20X more than a generic hat when it has their swoosh on it. Perfume is basically a generic chemical wrapped in a huge amount of marketing. Apple makes excellent products, but there's no question that at least part of the premium you pay is not for better quality, but for the brand itself.
While the value of a brand often revolves around vanity and advertising, there are often other factors that are also not directly linked to product quality: such as "fair trade" coffee, buy-one-donate-one shoes, or humanely raised animals for food.
We're moving from a pure "consumer society" into something a bit different (but definitely still consumption based), where consumption is not just for the direct benefit of the consumer, but is also used to signal deeply held values.
A acquaintance of mine recently told me he was going to start his own rock climbing clothes brand.
Naively, I though he was trying to make well designed clothes for rock climbers. As a geek, I though he was trying to solve a problem.
No. He just bought Chinese low quality t-shirts, and sticked logos on that and spent all his energy developing the brand itself: communication, aesthetic, mentality, target, etc.
I couldn't see the value of doing such thing, since we have enough of this crap. But it worked: friends around me started to wear the damn thing.
It makes me so uneasy, but it's a good lesson on how humans work.
It works both ways. If I know that a company is basically selling Chinese t-shirts with their logo and their markup price, might as well just buy directly from China and skip the middleman.
> It makes me so uneasy, but it's a good lesson on how humans work.
It's an even better lesson on how business is "taught" vs. how business is done. Everyone on HN, at business school, or wherever will tell you that you should start a business to "solve problems" or "fill a gap in the market".
The majority of the people actually starting businesses are doing so to make a buck. That's it. if you're starting out, you'll learn more about selling from starting a business providing a me-too substitute good in a crowded market than you will trying to build a completely new product segment with no market validation and no established price points.
“Moving from”? That happened decades ago, before e-commerce became significant. This sounds like the kind of thing discussed in No Logo, which was published in 1999.
> “Moving from”? That happened decades ago, before e-commerce became significant.
Yes, absolutely, since the invention of brands, at least some brands were the product rather than a signifier of quality.
However, in the last 10-20 years, largely due to globalization, high quality goods have become widely available. Before, that Nike hat may well have been much higher quality than the generic, but now they are indistinguishable. As overall product quality has improved, the only thing left to sell is the brand itself.
That's not my experience at all. A few years ago I would have been looking for the unknown chinese brands that could provide me with a gear that was "good enough". Now I will not even consider buying anything that is not from the top 5 brands for each thing. I have been burned too many time by products that were _almost_ as good, but not quite, and broke quickly. My branded gear is usually lasting forever (lenovo laptop, bose headset, roomba cleaner, instapot) as long as I buy on the medium/high-end end of the spectrum.
The thing is that as it is said over and over in this thread, you cannot trust reviews, and I would add that you cannot trust most of the smaller blogs/review websites because most would say anything about a product as long as they are paid.
If I buy the new Sony noise cancelling headsets, I know I will not get disappointed: it is a reputable brand, and it is the high-end of the range. This strategy is not perfect, far from it, and some brand are taking advantage of it. In that case, vote with your wallet. You can't really do that with no-name brands.
I'm not saying brands are not an indicator. Indeed, if I'm going to buy a USB-C cable, I'm going to use it as a filter.
I'm saying brand loyalty has lost its power now.
Sony is a good example. You say it's a reputable brand, yet sometimes they just lose it do something absolutely terrible. The first one that comes to mind is infecting willingly their customers with a rootkit in 2005 (https://en.wikipedia.org/wiki/Sony_BMG_copy_protection_rootk...), but it's just because I don't follow up on those things as much. I'm sure there are ones in the last 5 years, although with PR firms doing their job as well as they do now, a quick google search will seldom return anything.
Companies don't have a customer first mentality anymore.
Loyalty doesn't mean anything for them, and so you being loyal to them makes no sense.
And it does mean a more complicated world, because you constantly have to reassess where to buy from.
I've found a lot of value in niche brands. For instance the Finnish outdoor/military/surplus store Varusteleka have some quite good own-brand products.
Their Särmä-brand "common jeans" are just that; classic straight cut jeans with a medium waist, no stone-washing or other artificial wear, and a little bit of stretch for comfort. For someone like me who has large thighs from lifting weights, there are many otherwise nice pants I just can't wear, but these are perfect. Most brands these days have 5 different kinds of slim/skinny fit, and 1 straight fit if you're lucky.
Their "tactical jeans" are even better, with roughly the same cut and the addition of a crotch gusset for mobility and discreet extra pockets. There's a bit of polyester in the fabric for durability and a bit more stretch too. They're literally as comfortable as sweat pants, it's uncanny. If they last as long as promised, I doubt I will ever buy other jeans again.
Overall, I would say don't trust brands, trust quality, and don't trust reviews on big sites like Amazon.
> Unfortunate, brand loyalty doesn't mean anything anymore
> sometimes, the same product, between two batches, is not produce by the same sub-contractor
This is how branding has always been. Gomorrah details the manufacturing process for high-end fashion brands: any number of clothing factories simultaneously accept a contract to deliver X items of clothing in Y time at Z unit price, the brand gives free materials to everyone who accepts, and the first factory to deliver the X items gets paid. Every other factory who accepted is stuck with a bunch of clothing rejected not for quality reasons, but because they turned it in slower than the first factory.
A lot of that clothing is then sold by organized crime using unauthorized brand labels. But is a shirt with a fake Calvin Klein label -- manufactured for Calvin Klein exactly to their specifications -- really "counterfeit"?
One of the best choices I've made is to simply avoid any product which features conspicuous logos that are obviously meant to be seen.
There is no value for me in having a big Superdry or whatever logo blazoned across my chest. Instead I choose clothing with no logos, aside from what's on the tags inside. I make a small exception for polo shirts, because it just seems like it's integral part of the design to have a small logo on the left chest. I do try to choose high-quality shirts with small unobtrusive logos.
> - sometime, the same product, between two batches, is not produce by the same sub-contractor
Case example: I have two pairs of a specific model of cycling gloves, both are subtly different in materials and have different labeling styles, as well as different "made in" statements (one European, one Asian). Had I bought them from Amazon I might wonder which one is fake and it wouldn't be clear at all. But I got both pairs directly from company HQ stocks, the closest thing to a definition of "authentic" we have in today's inscrutable networks of subcontracting.
> - a lot of companies don't manufacture the product themself
But the brand is responsible for the quality as perceived by the customer. They retain any good brand image by properly managing supply/subcontractor chain with quality control.
For the end user expiernce, it is not important who manufactures what but what assurances about the quality are made.
These are two different arguments, though. Yes, everything you listed is true, and it's largely what led to brand cynicism in the first place. However, this new Amazon problem (at least within the ecosystem of Amazon) is markedly worse. There are 1000 brands, and most of them are terrible, and the reviews are worthless, and you can't even see or hold the product in your hand. In this situation, a trusted brand has more internal consistency (despite all the issues you correctly noted) than the very inconsistent fly-by-night brands you can find on Amazon.
Of course, my argument falls apart if we can't spot counterfeits on Amazon.
>- PR firms are so powerful now they can make any brand great again. See Microsoft.....
Well, yes in an era where any kid in their early 20s can be CTO of a startup, and get their 5 min of fame for saying Webkit is the new IE, thinks IE era meant IE 7 and never developed a thing during Pre IE6. Of coz they get moved by PR and Marketing. For those of us "old enough" who have been burnt, or at least old enough to be a little less idealistic. I am not really seeing the power of PR.
On the subject of Microsoft, it isn't really a powerful PR I mean you have to give them credit Satya's Microsoft is a lot different to Mid 90s Microsoft. There are lots of signs they are moving in right direction ( even though it is still bumpy ). From Xbox, Gaming, Windows, Azure, Open Source. While the quality still isn't there yet, but at least they know their quality is not good enough. And that is much better than old Microsoft where nothing is a problem as long as the sales are moving.
If I insult your mom, I don't insult you, yet you feel insulted.
Same with things you spent a lot of time building.
Now if OP would have said "use case X in Go is absolutely garbage because of Z", it would have been better received. But he didn't.
Because, you see, insulting, insulting anything really, is removing space for debating, sharing ideas and advancing arguments. It's the same reason this site asks for not posting things like "+1", "first" or memes.
And it's why, being carried away by the definitive and aggressive generalization of "Go is garbage", OP closed the door for a proper discussion. The opposite of the goal of Hacker News.
Some medium are a fine place for this, mind you. I enjoy being trolled on IRC, for once, being a child of the eighties. Imgur makes for fun memes. 4chan is great to make fun of pretty much everything. And twitter is big enough that you can find an audience to bash any kind of programing language for therapeutic reason. I did that with JS for some years. Very relaxing.
HN has become a cesspool for certain topics in recent years. Go threads being the worst; all the ego's seem to come out of the woodwork. I almost never bother reading the comments on anything Go related these days because it's just full of wannabe 10x programmers overstating academic edge cases as if no other language in history has ever had a shortcoming.
Yep, they construct a strawman argument about some niche edge case where Go was outperformed by some language. Or come up with some contrived examples where Go would Absolutely Need Generics.
None of those people have actually written any Go professionally.
I agree that calling a very successful language "garbage" is a childish move. I also think that we shouldn't tie our egos to the tools we are using. Nothing good arises from that.
Sure, but most people do. And it's a social convention that we do. If you know the social convention and you still choose to break it, you are willingly being aggressive.
Now breaking social convention and being aggressive has its use. But it's only fair to be called out.
Because the way I remember it, technical people hated it with a passion, from its design to its implementation.
In fact, the most popular JS projects have always been to avoid writing ES5, its DOM API, or depending of one of its implementation:
- scriptaculous: we hate even the basic types, so we monkey patch our own code into it.
- jquery: don't use any of the language paradigms and use ones from Lisp and Haskell. Avoid "this". Don't touch the DOM. In fact, don't code, just make a few calls and pass parameters. And we rewrite the whole damn browser API to avoid incompatibilities.
- GWT: write JS from Java.
- underscore and co: let's rewrite typeof, the equality sign and array manipulation methods. And provide an stdib for god sake.
- coffeescript: we like Python and ruby but must do JS.
- React: HTML in JS now please. And magic DOM. Oh, and prototyping is horrible, lets use classes. And we strongly advice immutability, but do what you please...
- webpack and babel: ES6 and 7 are not here yet, but ES5 is so bad we will setup an entire ecosystem dedicated to make believe they are. Also pretend import works like in other languages.
- typescript: ok, we were wrong, ES7 is not enough. Not nearly enough. Please make intellisense works.
Now, in 2020, JS is finally not so horrible to work with. You can use map(), () => and "..." and fake namespaces. Which is amazing to access the crazy cool plateforms that the modern browsers and the web are.
So I guess, in a way, this quote from the AOL guy was true.