Press "Enter" to skip to content

Why are some programming languages popular? – MPJ’s Musings – FunFunFunction #41


good Monday morning I am mpj and you are
good Monday morning I am mpj and you are watching fun fun function javascript is
JavaScript is the most popular
JavaScript is the most popular programming language in the world but as
programming language in the world but as
programming language in the world but as a JavaScript developer you are going to
a JavaScript developer you are going to
a JavaScript developer you are going to hear a lot of grief from other
hear a lot of grief from other
hear a lot of grief from other developers you are going to hear that
developers you are going to hear that
developers you are going to hear that you are not using a real programming
you are not using a real programming
you are not using a real programming language that you are buying into the
language that you are buying into the
language that you are buying into the nodejs hype and that javascript is
nodejs hype and that javascript is
nodejs hype and that javascript is flawed the people saying this will then
flawed the people saying this will then
flawed the people saying this will then say that they are sticking to their
say that they are sticking to their
say that they are sticking to their language it’s because language acts is
language it’s because language acts is
language it’s because language acts is well-designed and does not have all the
well-designed and does not have all the
well-designed and does not have all the flaws that javascript does and more
flaws that javascript does and more
flaws that javascript does and more often than not they are right their
often than not they are right their
often than not they are right their language X is pretty great but
language X is pretty great but
language X is pretty great but javascript is way more popular does a
javascript is way more popular does a
javascript is way more popular does a language need to be popular couldn’t we
language need to be popular couldn’t we
language need to be popular couldn’t we use it anyway couldn’t you even argue
use it anyway couldn’t you even argue
use it anyway couldn’t you even argue that it’s better if it’s not popular
that it’s better if it’s not popular
that it’s better if it’s not popular there is this saying in the Haskell
there is this saying in the Haskell
there is this saying in the Haskell community that you should avoid avoid
community that you should avoid avoid
community that you should avoid avoid success at all costs because when a
success at all costs because when a
success at all costs because when a language becomes popular change becomes
language becomes popular change becomes
language becomes popular change becomes slower for example because javascript is
slower for example because javascript is
slower for example because javascript is so popular we have to be super careful
so popular we have to be super careful
so popular we have to be super careful with backwards compatibility for
with backwards compatibility for
with backwards compatibility for instance in ECMO script 6 var has been
instance in ECMO script 6 var has been
instance in ECMO script 6 var has been replaced with let pro tip you might want
replaced with let pro tip you might want
replaced with let pro tip you might want to check out the other fun fan function
to check out the other fun fan function
to check out the other fun fan function episode on the left and Const keyword by
episode on the left and Const keyword by
episode on the left and Const keyword by by clicking in the upper right corner
by clicking in the upper right corner
by clicking in the upper right corner and the eye or the episode description
and the eye or the episode description
and the eye or the episode description what we cannot actually clean out var
what we cannot actually clean out var
what we cannot actually clean out var from the language because there is
from the language because there is
from the language because there is simply too much existing code out there
simply too much existing code out there
simply too much existing code out there that relies on VAR b in there so a
that relies on VAR b in there so a
that relies on VAR b in there so a popular language moves slower but the
popular language moves slower but the
popular language moves slower but the popular language also has the bizarre
popular language also has the bizarre
popular language also has the bizarre power of a big ecosystem PHP for
power of a big ecosystem PHP for
power of a big ecosystem PHP for instance is a very problematic
instance is a very problematic
instance is a very problematic programming language but it is still
programming language but it is still
programming language but it is still surprised
surprised
surprised singly effective because the ecosystem
singly effective because the ecosystem
singly effective because the ecosystem is so vast every problem of the language
is so vast every problem of the language
is so vast every problem of the language is so well documented and has tools to
is so well documented and has tools to
is so well documented and has tools to fix it and no matter how much grief the
fix it and no matter how much grief the
fix it and no matter how much grief the language causes you the extreme amount
language causes you the extreme amount
language causes you the extreme amount of tooling available in the ecosystem
of tooling available in the ecosystem
of tooling available in the ecosystem just makes up for that so people stick
just makes up for that so people stick
just makes up for that so people stick to PHP and even if that wasn’t true I
to PHP and even if that wasn’t true I
to PHP and even if that wasn’t true I would only do that if you build
would only do that if you build
would only do that if you build something good if you have a good
something good if you have a good
something good if you have a good language it is your moral obligation to
language it is your moral obligation to
language it is your moral obligation to make it popular as a creator you should
make it popular as a creator you should
make it popular as a creator you should bring your creation to as many people as
bring your creation to as many people as
bring your creation to as many people as possible what good is the cure for a
possible what good is the cure for a
possible what good is the cure for a disease if it’s just sitting in a lab
disease if it’s just sitting in a lab
disease if it’s just sitting in a lab somewhere or maybe as curing a few
somewhere or maybe as curing a few
somewhere or maybe as curing a few people you need to actually get it out
people you need to actually get it out
people you need to actually get it out in order to have a real impact on the
in order to have a real impact on the
in order to have a real impact on the world this is one of my favorite quotes
world this is one of my favorite quotes
world this is one of my favorite quotes if you want to go fast go alone if you
if you want to go fast go alone if you
if you want to go fast go alone if you want to go far go together so why do
want to go far go together so why do
want to go far go together so why do some technologies become popular because
some technologies become popular because
some technologies become popular because if you look at the most popular
if you look at the most popular
if you look at the most popular programming languages in the world
programming languages in the world
programming languages in the world like the top list uh the list seems
like the top list uh the list seems
like the top list uh the list seems almost random some of the top languages
almost random some of the top languages
almost random some of the top languages can be considered well-designed one some
can be considered well-designed one some
can be considered well-designed one some yes seem to be there it seems like there
yes seem to be there it seems like there
yes seem to be there it seems like there is something else than just being well
is something else than just being well
is something else than just being well this sign that determines if a language
this sign that determines if a language
this sign that determines if a language becomes popular or not there’s an
becomes popular or not there’s an
becomes popular or not there’s an awesome book called stumbling on
awesome book called stumbling on
awesome book called stumbling on happiness I’ve linked it in the
happiness I’ve linked it in the
happiness I’ve linked it in the description in which the author talks
description in which the author talks
description in which the author talks about something that they call a super
about something that they call a super
about something that they call a super replicator and a super replica it refers
replicator and a super replica it refers
replicator and a super replica it refers to an idea that is a vehicle for itself
to an idea that is a vehicle for itself
to an idea that is a vehicle for itself and example that they use in the book is
and example that they use in the book is
and example that they use in the book is the societal belief that children will
the societal belief that children will
the societal belief that children will bring you happiness
bring you happiness
bring you happiness it’s a generally held belief in society
it’s a generally held belief in society
it’s a generally held belief in society that Parenthood will bring you happiness
that Parenthood will bring you happiness
that Parenthood will bring you happiness which turns out to be at least
which turns out to be at least
which turns out to be at least statistically incorrect there’s a lot of
statistically incorrect there’s a lot of
statistically incorrect there’s a lot of positive aspects so having children but
positive aspects so having children but
positive aspects so having children but happiness is not one of them
happiness is not one of them
happiness is not one of them studies show that happiness is inversely
studies show that happiness is inversely
studies show that happiness is inversely correlated with having children at home
correlated with having children at home
correlated with having children at home so why do we as a society
so why do we as a society
so why do we as a society do you believe this well it’s pretty
do you believe this well it’s pretty
do you believe this well it’s pretty simple people in society that believed
simple people in society that believed
simple people in society that believed that children would bring them happiness
that children would bring them happiness
that children would bring them happiness of course went ahead and had children
of course went ahead and had children
of course went ahead and had children and the people that did not believe that
and the people that did not believe that
and the people that did not believe that children would bring them happiness were
children would bring them happiness were
children would bring them happiness were a lot less likely to have children
a lot less likely to have children
a lot less likely to have children and over the course of generations while
and over the course of generations while
and over the course of generations while the people that believed that children
the people that believed that children
the people that believed that children would make you sad oh yes now gone that
would make you sad oh yes now gone that
would make you sad oh yes now gone that is one way in the book called a super
is one way in the book called a super
is one way in the book called a super replicator and super replicators make me
replicator and super replicators make me
replicator and super replicators make me think about angular but before I talk
think about angular but before I talk
think about angular but before I talk about angular what do you think of this
about angular what do you think of this
about angular what do you think of this camera position it’s slightly higher
camera position it’s slightly higher
camera position it’s slightly higher than it used to be so it’s more like I’m
than it used to be so it’s more like I’m
than it used to be so it’s more like I’m speaking to you rather than speaking
speaking to you rather than speaking
speaking to you rather than speaking down
down
down to you a fun fact is that I did this
to you a fun fact is that I did this
to you a fun fact is that I did this because Paul Irish PM me on
because Paul Irish PM me on
because Paul Irish PM me on Twitter told me that I should and if
Twitter told me that I should and if
Twitter told me that I should and if Paul Irish tells you to do something you
Paul Irish tells you to do something you
Paul Irish tells you to do something you do it if you don’t know who Paul Irish
do it if you don’t know who Paul Irish
do it if you don’t know who Paul Irish is you are error and you should watch
is you are error and you should watch
is you are error and you should watch this video so anyway
this video so anyway
this video so anyway angular I believe my theory is that
angular I believe my theory is that
angular I believe my theory is that angular succeeded for two reasons one is
angular succeeded for two reasons one is
angular succeeded for two reasons one is credibility and two is high switching
credibility and two is high switching
credibility and two is high switching costs when angular first arrived on the
costs when angular first arrived on the
costs when angular first arrived on the scene it got a lot of traction because
scene it got a lot of traction because
scene it got a lot of traction because it was credible because angular was
it was credible because angular was
it was credible because angular was perceived as backed by Google in
perceived as backed by Google in
perceived as backed by Google in practice Google wasn’t all that much
practice Google wasn’t all that much
practice Google wasn’t all that much into it but it was still enough for a
into it but it was still enough for a
into it but it was still enough for a lot of organizations to adopt it and the
lot of organizations to adopt it and the
lot of organizations to adopt it and the more big organizations that started
more big organizations that started
more big organizations that started using angular the more credibility they
using angular the more credibility they
using angular the more credibility they added to angular and the more
added to angular and the more
added to angular and the more organizations started using it and so on
organizations started using it and so on
organizations started using it and so on besides credibility angular also has
besides credibility angular also has
besides credibility angular also has very high switching costs it’s really
very high switching costs it’s really
very high switching costs it’s really really hard to switch from angular to
really hard to switch from angular to
really hard to switch from angular to something else angular is not like react
something else angular is not like react
something else angular is not like react it’s not like a module that you put into
it’s not like a module that you put into
it’s not like a module that you put into your app angular is the app and whenever
your app angular is the app and whenever
your app angular is the app and whenever you need to do something with angular
you need to do something with angular
you need to do something with angular you need to get the
you need to get the
you need to get the and you learn – something on NPM this is
and you learn – something on NPM this is
and you learn – something on NPM this is like practice for everything like if you
like practice for everything like if you
like practice for everything like if you need to use local storage there is
need to use local storage there is
need to use local storage there is angular local storage it’s like in Japan
angular local storage it’s like in Japan
angular local storage it’s like in Japan where there’s like Hello Kitty milk
where there’s like Hello Kitty milk
where there’s like Hello Kitty milk instead of just milk if you use angular
instead of just milk if you use angular
instead of just milk if you use angular you are never getting out so my theory
you are never getting out so my theory
you are never getting out so my theory is an angular is popular because it has
is an angular is popular because it has
is an angular is popular because it has this credibility loop and these high
this credibility loop and these high
this credibility loop and these high switching costs Java Script replicates
switching costs Java Script replicates
switching costs Java Script replicates like crazy because of the apes
like crazy because of the apes
like crazy because of the apes JavaScript engine that Google made when
JavaScript engine that Google made when
JavaScript engine that Google made when v8 was released it was a huge jump over
v8 was released it was a huge jump over
v8 was released it was a huge jump over other JavaScript engines at the time now
other JavaScript engines at the time now
other JavaScript engines at the time now the speed of v8 meant that Google had a
the speed of v8 meant that Google had a
the speed of v8 meant that Google had a pretty good edge over its competitors so
pretty good edge over its competitors so
pretty good edge over its competitors so the competitors had to invent engines
the competitors had to invent engines
the competitors had to invent engines that were faster than v8 which in turn
that were faster than v8 which in turn
that were faster than v8 which in turn forced v8 to become faster and so on
forced v8 to become faster and so on
forced v8 to become faster and so on which led us to the current day where we
which led us to the current day where we
which led us to the current day where we have not one but four major and mature
have not one but four major and mature
have not one but four major and mature and super fast javascript engines
and super fast javascript engines
and super fast javascript engines competing for domination no other
competing for domination no other
competing for domination no other scripting language has this it’s unique
scripting language has this it’s unique
scripting language has this it’s unique to JavaScript and it’s such a boon these
to JavaScript and it’s such a boon these
to JavaScript and it’s such a boon these simians are crazy fast for a weakly
simians are crazy fast for a weakly
simians are crazy fast for a weakly typed language in some cases javascript
typed language in some cases javascript
typed language in some cases javascript code runs as fast as the equivalent
code runs as fast as the equivalent
code runs as fast as the equivalent written in c++ it’s just crazy but not
written in c++ it’s just crazy but not
written in c++ it’s just crazy but not only that these things are also open
only that these things are also open
only that these things are also open source which allow JavaScript to be
source which allow JavaScript to be
source which allow JavaScript to be embedded into anything not just browsers
embedded into anything not just browsers
embedded into anything not just browsers so anyone that wanted to create
so anyone that wanted to create
so anyone that wanted to create something programmable could put this
something programmable could put this
something programmable could put this robust and fast and free programming
robust and fast and free programming
robust and fast and free programming environment scripting environment that
environment scripting environment that
environment scripting environment that almost anybody knew how to use into
almost anybody knew how to use into
almost anybody knew how to use into their thing for free and that is what
their thing for free and that is what
their thing for free and that is what made JavaScript popular on the server
made JavaScript popular on the server
made JavaScript popular on the server side I know in Internet of Things
side I know in Internet of Things
side I know in Internet of Things devices in addition to browsers but
devices in addition to browsers but
devices in addition to browsers but angular and Pa that seems like this
angular and Pa that seems like this
angular and Pa that seems like this happened organically it’s anybody right
happened organically it’s anybody right
happened organically it’s anybody right now making technology popular with
now making technology popular with
now making technology popular with intent I think so and I think
intent I think so and I think
intent I think so and I think is rust the programming language rust I
is rust the programming language rust I
is rust the programming language rust I think that we have a lot to learn from
think that we have a lot to learn from
think that we have a lot to learn from rust when it comes to designing and
rust when it comes to designing and
rust when it comes to designing and popularizing programming languages and
popularizing programming languages and
popularizing programming languages and technologies okay here’s my list of five
technologies okay here’s my list of five
technologies okay here’s my list of five things that I think that rust does
things that I think that rust does
things that I think that rust does extremely well that will help it a lot
extremely well that will help it a lot
extremely well that will help it a lot with adoption rust tries to replace C++
with adoption rust tries to replace C++
with adoption rust tries to replace C++ and it does it in a way that appeals to
and it does it in a way that appeals to
and it does it in a way that appeals to existing developers by sort of embodying
existing developers by sort of embodying
existing developers by sort of embodying C++ best practices in the form of a new
C++ best practices in the form of a new
C++ best practices in the form of a new language to is that rust has learned
language to is that rust has learned
language to is that rust has learned from NPM and has included a package
from NPM and has included a package
from NPM and has included a package manager and it’s the only recommended
manager and it’s the only recommended
manager and it’s the only recommended package manager so good
package manager so good
package manager so good three rust is backed by authority it is
three rust is backed by authority it is
three rust is backed by authority it is the language of Mozilla for rust has a
the language of Mozilla for rust has a
the language of Mozilla for rust has a free ebook that is pushed on the website
free ebook that is pushed on the website
free ebook that is pushed on the website as your first exposure to rust and the
as your first exposure to rust and the
as your first exposure to rust and the bonus is that it’s really friendly to
bonus is that it’s really friendly to
bonus is that it’s really friendly to you if all you know is JavaScript the
you if all you know is JavaScript the
you if all you know is JavaScript the rust looks familiar
rust looks familiar
rust looks familiar rust don’t have some very novel ideas
rust don’t have some very novel ideas
rust don’t have some very novel ideas about how to do programming but it
about how to do programming but it
about how to do programming but it doesn’t look weird if you are as C++ or
doesn’t look weird if you are as C++ or
doesn’t look weird if you are as C++ or Java Script developer and you look at
Java Script developer and you look at
Java Script developer and you look at rust for the first time it looks sort of
rust for the first time it looks sort of
rust for the first time it looks sort of what you’re used to rust has the good
what you’re used to rust has the good
what you’re used to rust has the good sense to piggyback on top of existing
sense to piggyback on top of existing
sense to piggyback on top of existing knowledge and that makes it very easy to
knowledge and that makes it very easy to
knowledge and that makes it very easy to pick up like if you compare this to say
pick up like if you compare this to say
pick up like if you compare this to say Haskell or Clojure it just they just
Haskell or Clojure it just they just
Haskell or Clojure it just they just start looking like something that is out
start looking like something that is out
start looking like something that is out of Stargate Atlantis I know I said five
of Stargate Atlantis I know I said five
of Stargate Atlantis I know I said five but I’m thinking six – like rust has an
but I’m thinking six – like rust has an
but I’m thinking six – like rust has an amazing community the community of rust
amazing community the community of rust
amazing community the community of rust it consists of all like almost
it consists of all like almost
it consists of all like almost exclusively of real people
exclusively of real people
exclusively of real people it is amazing everybody is so nice and
it is amazing everybody is so nice and
it is amazing everybody is so nice and helpful rust good stuff check it out in
helpful rust good stuff check it out in
helpful rust good stuff check it out in summary popularity is important because
summary popularity is important because
summary popularity is important because of ecosystems and popularity comes from
of ecosystems and popularity comes from
of ecosystems and popularity comes from spread ability not from quality
spread ability not from quality
spread ability not from quality now I don’t want anyone to make a
now I don’t want anyone to make a
now I don’t want anyone to make a strowman out of this you need to have
strowman out of this you need to have
strowman out of this you need to have quality of course but you cannot rely on
quality of course but you cannot rely on
quality of course but you cannot rely on it to spread your software for you
it to spread your software for you
it to spread your software for you that’s the message here so if you’re
that’s the message here so if you’re
that’s the message here so if you’re thinking about developing a language or
thinking about developing a language or
thinking about developing a language or a library or if you just browsing around
a library or if you just browsing around
a library or if you just browsing around trying to find out which library to
trying to find out which library to
trying to find out which library to learn next don’t dismiss popularity as
learn next don’t dismiss popularity as
learn next don’t dismiss popularity as something for the sheep is just it’s
something for the sheep is just it’s
something for the sheep is just it’s just hype but instead really think about
just hype but instead really think about
just hype but instead really think about how the thing that you are building fits
how the thing that you are building fits
how the thing that you are building fits into the industry and how it can spread
into the industry and how it can spread
into the industry and how it can spread you have watched an episode of fun fun
you have watched an episode of fun fun
you have watched an episode of fun fun function I release this every Monday
function I release this every Monday
function I release this every Monday morning o 800 at GMT but you will forget
morning o 800 at GMT but you will forget
morning o 800 at GMT but you will forget that and miss it so hit that subscribe
that and miss it so hit that subscribe
that and miss it so hit that subscribe button or follow me on Twitter if you’re
button or follow me on Twitter if you’re
button or follow me on Twitter if you’re unsure whether or not to subscribe check
unsure whether or not to subscribe check
unsure whether or not to subscribe check out this playlist for more episodes like
out this playlist for more episodes like
out this playlist for more episodes like this one I am mpj until next Monday
this one I am mpj until next Monday
this one I am mpj until next Monday morning stay curious
Please follow and like us: