|
One of the things I say to people worried about learning new languages is once you learn the concepts behind one language, you already know most of the concepts behind most other languages. Learning the new language is mostly a matter of semantics and syntax after that.
Javascript, for someone who's always been exposed to strong types, doesn't really lend itself to all of the concepts of our normal languages. It's strongly NOT typed, allowing all kinds of values and free-form stuff assigned to it, including entire functions. It doesn't follow a lot of the concepts you learned in other languages. I think it's this "bucking of the norms" that really throws people off and gives everyone a bad taste.
IMHO, Javascript being a no-typed language really makes the code-writing and debugging experience a pain in the ass. That and the lack of proper debugging tools in browsers. If you really need Typescript to make the experience that much better, the language and execution environment should have been designed with this in mind. Typescript should not have been an external bolt-on.
Once you get used to it, and that's a steep learning curve for noobs, it's not too bad. I just use the tried-and-true old-school techniques of alerts and peppering the code with console.log everywhere.
|
|
|
|
|
I'd upvote your post twice if I could.
I think another reason it got a bad rep is for years it was strictly functional back in the day... not procedural like C but functional more like F#. Technically you could do procedural in JS, but a lot the solutions to common problems used a functional paradigm. Functional languages and concepts just aren't as popular. So peeps would rather insult than learn. These days that's all changed though as you can do both OOP or functional.
For the types... totes get it. Personally I see value in using a loosely typed language. However, I also see the value in a strongly typed one. Fortunately these days, when you need strong types we have TypeScript and Flow.
Jeremy Falcon
|
|
|
|
|
Haters gonna hate buddy. Everyone who claims to be an expert at JS that hates is lying. It's more ego where they're fooling themselves than them actually being experts. Programmers aren't known for being mature and all.
Jeremy Falcon
modified 13hrs ago.
|
|
|
|
|
Bah. I've been good enough at it to spot obvious idiocy from 'experts'.
It's a bad tech founded on bad principle with more bad practitioners than pretty much any other language you want to pick.
It will die. It may take a bit, but it will be an archaic relic in the dust bin of history and it will be consigned there inside half a decade once the right bits come along.
|
|
|
|
|
I'm absent minded, but I often spend hours debugging stupid things that C# would flag instantly. Also, the VSCode Intellisense and code navigation in JavaScript projects tend to be sub-par when compared to C# projects on Visual Studio.
|
|
|
|
|
Wordle 1,089 4/6
⬜🟨⬜⬜🟨
🟨🟩⬜⬜🟨
🟩🟩🟩⬜⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,089 3/6*
⬜🟨⬜⬜🟨
🟨⬜⬜🟩🟩
🟩🟩🟩🟩🟩
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
"Common sense is so rare these days, it should be classified as a super power" - Random T-shirt
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Wordle 1,089 4/6
⬜⬜⬜🟨🟨
🟩🟩⬜🟨⬜
🟩🟩⬜⬜🟨
🟩🟩🟩🟩🟩
|
|
|
|
|
⬜🟨⬜⬜🟨
⬜⬜⬜⬜⬜
⬜🟩🟨🟩🟨
⬜🟩🟩🟩🟩
🟩🟩🟩🟩🟩
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
Wordle 1,089 4/6*
⬛🟨⬛⬛🟨
⬛⬛🟨⬛🟨
⬛🟩🟨🟨⬛
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,089 2/6
🟨⬜🟩🟩⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
(12. Juni 2024) 5/6
⬛⬛⬛🟨⬛
⬛🟩🟨⬛🟩
⬛🟩⬛🟨🟩
🟩🟩⬛⬛🟩
🟩🟩🟩🟩🟩
Rules for the FOSW ![ ^]
MessageBox.Show(!string.IsNullOrWhiteSpace(_signature)
? $"This is my signature:{Environment.NewLine}{_signature}": "404-Signature not found");
|
|
|
|
|
Not playing since a good while but I didn't lose my touch
Wordle 1.089 3/6
🟩⬛⬛⬛⬛
⬛⬛⬛⬛🟨
🟩🟩🟩🟩🟩
GCS/GE d--(d) s-/+ a C+++ U+++ P-- L+@ E-- W+++ N+ o+ K- w+++ O? M-- V? PS+ PE Y+ PGP t+ 5? X R+++ tv-- b+(+++) DI+++ D++ G e++ h--- r+++ y+++* Weapons extension: ma- k++ F+2 X
The shortest horror story: On Error Resume Next
|
|
|
|
|
Wordle 1,089 4/6
⬛⬛⬛⬛⬛
⬛🟨⬛⬛🟨
🟨🟩🟨⬛🟨
🟩🟩🟩🟩🟩
Ok, I have had my coffee, so you can all come out now!
|
|
|
|
|
Wordle 1,089 3/6*
⬜⬜🟩🟩🟩
🟨⬜🟩🟩🟩
🟩🟩🟩🟩🟩
Happiness will never come to those who fail to appreciate what they already have. -Anon
And those who were seen dancing were thought to be insane by those who could not hear the music. -Frederick Nietzsche
|
|
|
|
|
Wordle 1,089 3/6
⬜🟨⬜🟩⬜
⬜⬜🟨🟩⬜
🟩🟩🟩🟩🟩
|
|
|
|
|
Wordle 1,089 6/6
🟨⬜⬜⬜⬜
⬜⬜🟨⬜⬜
⬜⬜⬜⬜⬜
⬜🟩🟨🟨🟨
🟩🟩🟨🟨⬜
🟩🟩🟩🟩🟩
Phew.
|
|
|
|
|
Nice resume. Mr Hendrix, but are you experienced?
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Great motivational speaker... really lit a fire under the team.
|
|
|
|
|
I know, it's a groaner. Jimi fan
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|
|
Imgflip [^]
"They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"
|
|
|
|
|
I'm obviously missing something here
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
|
Not to me
In a closed society where everybody's guilty, the only crime is getting caught. In a world of thieves, the only final sin is stupidity. - Hunter S Thompson - RIP
|
|
|
|
|
He was not to every one's liking.
"A little time, a little trouble, your better day"
Badfinger
|
|
|
|