[kwlug-disc] Fw: Re: Learning Javascript

Paul Nijjar paul_nijjar at yahoo.ca
Sat Mar 13 15:50:33 EST 2021


----- Forwarded message from Rob Gilson <thatotherdude at gmail.com> -----

Date: Sat, 13 Mar 2021 15:44:50 -0500
From: Rob Gilson <thatotherdude at gmail.com>
To: KWLUG discussion <kwlug-disc at kwlug.org>
Subject: Re: [kwlug-disc] Learning Javascript

>
> Can't think of any other fundamental features/gotchas. JavaScript is
> incredibly small.
>

/me makes vague gesture towards type coercion:
https://www.destroyallsoftware.com/talks/wat

On Sat, Mar 13, 2021 at 3:19 PM Mikalai Birukou via kwlug-disc <
kwlug-disc at kwlug.org> wrote:

> > I do not understand JavaScript and it is holding me back.
> >
> > I have basic familiarity with programming in other paradigms (Python,
> > Powershell, Java, C, even Scheme) so I understand basic syntax like
> > variables and if statements. I do not understand how JavaScript wants
> > me to think, and I am looking for some resources to work through so I
> > can learn. Questions I have:
> >
> > - How does JavaScript want me to think?
> > - What triggers particular functions to be run? I do not really
> >    understand the control flow.
> > - Do the popular frameworks (React, VUE, Angular) mean you have to
> >    change the way you think from vanilla JavaScript?
> > - Say I want to learn Elm. Does this hurt me or help me when trying to
> >    learn JavaScript?
> >
> > Some overview articles would be good to start, followed by some
> > hands-on tutorials that illustrate language features step by step. I
> > do not think I want to commit to some six month course right now, but
> > if you know of good ones then pass them along.
> >
> > I realize that this is not completely on topic for this forum (and
> > maybe I will try KWTechs later) but I thought this is a place to
> > start.
>
> Besides question about control, we want to wonder what "this"
> represents. Functions can be call() or apply() with particular value of
> "this". In Python lens: self -> this. Does Python have call/apply way to
> call a given function, binding its "self" to given value?
>
> In places with meaningful value of "this" lambda construction of
> function can be used to keep outside "this" like one's own. Yes, we can
> say that every "function" has its own "this" that can be bound to a
> particular value or be undefined. There is bind() to create function
> with bound value of "this" (can it be changed for call/apply invokations?).
>
> Can't think of any other fundamental features/gotchas. JavaScript is
> incredibly small.
>
>
>
> _______________________________________________
> kwlug-disc mailing list
> kwlug-disc at kwlug.org
> https://kwlug.org/mailman/listinfo/kwlug-disc_kwlug.org
>

----- End forwarded message -----

-- 
Events: https://feeds.off-topic.kwlug.org 
Blog: http://pnijjar.freeshell.org




More information about the kwlug-disc mailing list