Why you Shouldn't use NODE JS in 2023
Summary
TLDRIn this video script, the speaker shares a personal journey from using Node.js to preferring PHP for its stability and reliability. They criticize Node.js for its brittle package management, which can lead to unexpected app failures due to dependency updates. The speaker advocates for PHP, especially for small to medium web app development, praising its stability and the conservative approach of the PHP community to breaking changes. They also touch on the importance of gaining practical experience through small projects to increase one's value as a developer.
Takeaways
- 🍷 The video script likens the value of the discussed content to wine, suggesting it improves with time.
- 🔧 The speaker used Node.js for three years as a junior developer but switched to PHP due to its stability.
- 🛠️ The speaker prefers PHP for its stability and reliability, criticizing the need to frequently update backends with Node.js.
- 🔄 The speaker criticizes Node.js for its package management, which can lead to apps breaking due to unforeseen updates.
- 🏗️ The importance of software stability is emphasized, aligning with principles of object-oriented programming.
- 🔗 The speaker advises against frequent use of inheritance due to its potential to create brittle code structures.
- 📦 Node.js is compared to having a brittle structure due to its dependency on packages that can break the application easily.
- 🔑 The speaker's main argument against Node.js is its package management and the resulting instability.
- 🚀 Node.js is recommended for high concurrency applications, but the speaker suggests this is a rare requirement.
- 🌱 The speaker recommends PHP for small app development due to its lightweight, efficient, and stable nature.
- 📈 PHP is described as having evolved significantly, with versions 7 and 8 being particularly stable and enterprise-ready.
- 🛑 The speaker concludes by advocating for choosing the right tool for the job, highlighting the pros and cons of different technologies.
- 📚 Uncle Steph offers a mentoring program aimed at teaching the fundamentals and providing practical experience for aspiring developers.
- 💼 The importance of gaining real-world experience through small projects is stressed as a means to increase job prospects.
Q & A
What is the main message the video creator is trying to convey about Node.js?
-The main message is that Node.js can be unstable due to the constant need to update and manage its packages, which can lead to applications breaking unexpectedly.
Why did the individual in the comment switch from Node.js to PHP?
-The individual found PHP to be more stable and solid, avoiding the need to frequently change the backend or fix issues with npm packages.
What is the video creator's view on the importance of software stability?
-The video creator emphasizes that stability is one of the most important aspects of software, as it ensures that applications do not break unexpectedly.
What is the fundamental principle of object-oriented programming mentioned in the script?
-The fundamental principle mentioned is that the components of software should be independent and not influenced by other objects, which is why inheritance should be used sparingly.
Why does the video creator advise against using inheritance frequently in object-oriented programming?
-Using inheritance can introduce a framework that is open to breaking things, as changes in the base object can lead to a cascade of breaking code in inherited objects.
What is the video creator's opinion on the use of Node.js in high concurrency applications?
-The creator acknowledges that Node.js has its uses, particularly in high concurrency applications, but notes that such use cases are rare and not applicable to most developers.
What are the video creator's reasons for preferring PHP for small app development?
-The creator prefers PHP for its stability, lightweight nature, efficiency, and the conservative approach of the PHP community towards breaking old code.
What does the video creator suggest as a strategy for becoming a professional developer?
-The creator suggests learning the fundamentals, doing two to three small projects to gain experience, and then using that experience to land a job and increase one's value as a developer.
What is the mentoring program mentioned by the video creator?
-The mentoring program is a boot camp that teaches the fundamentals needed to become a professional developer and helps participants gain real-world experience through small freelance projects.
Why does the video creator compare the PHP of today to an outdated iPhone 1?
-The comparison is made to illustrate that the negative perceptions of PHP from the past are outdated, and that modern PHP, especially since version 5.6, is stable and enterprise-ready.
What is the video creator's view on the importance of experience in becoming a developer?
-The creator believes that experience is crucial, as it increases a developer's value and chances of landing a job, and that creating one's own experience through small projects is essential.
Outlines
🍷 The Evolution of Software Stability: Node.js vs PHP
In this paragraph, the speaker reflects on their personal journey from using Node.js to PHP, highlighting the stability issues they encountered with Node.js. They discuss the unpredictability of package updates and the resulting instability in applications, which contrasts with their positive experience with PHP. The speaker emphasizes the importance of software stability and criticizes the frequent need for backend changes in Node.js. They advocate for the principles of object-oriented programming, such as designing by interface to avoid brittle code, and express their preference for PHP due to its reliability and conservative approach to updates.
🛠️ Choosing the Right Tools for Development: PHP's Advantages
The speaker delves into their preference for PHP over Node.js, particularly due to PHP's solid and dependable nature. They mention the creator of Node.js, who also stepped away to create Deno, implying a shared sentiment regarding Node.js's limitations. The paragraph discusses the importance of selecting the right tools for different situations and the speaker's choice of PHP for its simplicity and reliability. The speaker also shares insights from their mentoring program, emphasizing the value of gaining practical experience through small projects to enhance one's skills and employability as a developer.
Mindmap
Keywords
💡Node.js
💡PHP
💡Package Management
💡Brittle Code
💡Object-Oriented Programming (OOP)
💡Inheritance
💡High Concurrency Applications
💡PHP 5.6, PHP 7, PHP 8
💡Mentoring Program
💡Fundamentals
💡Freelance Projects
Highlights
Commenter's preference for PHP over Node.js after three years of use.
PHP is described as more stable and solid compared to Node.js.
The frustration with constantly changing backends and manually fixing npm packages.
Software stability as a fundamental principle in object-oriented programming.
Inheritance as a rarely used structure due to its potential to introduce brittleness.
Node.js's package management leading to apps breaking due to external updates.
The importance of creating independent software components.
Node.js's Achilles heel is its brittleness due to package management.
High concurrency applications as a rare case for using Node.js.
PHP's lightweight and efficient nature making it ideal for small app development.
PHP's conservative approach to not breaking old code.
The evolution of PHP from version 5.6 to 8, becoming enterprise-ready.
All languages having their pros and cons, and being good in certain situations.
The reinvention of brittle code despite object-oriented programming's intent to prevent it.
Uncle Steph's mentoring program focusing on fundamentals and real-world projects.
The importance of getting into the workforce and gaining experience quickly.
The value of doing small freelance projects to build a developer's portfolio.
The role of a mentor as a guide, not a doer, in a developer's journey.
The necessity of creating one's own experience in software development.
Transcripts
how you guys doing so uh this is the
long version of a vlog I put out well
video I put out a couple days ago so I'm
just going to read this comment that was
uh placed under one of my videos that I
put out maybe three years ago anyway
here it is this video gets old like wine
I was using nodejs during three years as
a junior developer one day I decided to
try PHP just to see how it worked since
then I prefer PHP for development so
much stable so much more stable and
solid as a rock I don't need to keep
changing you don't need to keep changing
your backend every year or fix man
manually dirty npm packages that was and
has been my main message and this
individual figured it out for themselves
that's been my main message about node
for years now it's all the packages that
brittle back drop of the
packages and the way way it works uh you
can see your app break unbeknownst to
you for no apparent reason because
somebody decides they're going to update
a package
somewhere this is a nightmare one of the
most important things about software is
that it is stable a principle V
fundamental object oriented programming
is that the objects that you build the
components of your software be
independent of influence from other
objects around it so for example in
inheritance which is actually a
fundamental structure of O is something
you should only use very rarely because
when you use inheritance you're
introducing a um a framework that is
Britto that is open to breaking things
that's why I always say designed by
interface what do I mean by open to
breaking things if you create a base
object and you inherit from that object
uh basic functionality methods in that
object for example and if you change the
base object because of you know things
happen multiple coders and then you're
going to have a Cascade of breaking code
node.js is kind of like that with its
packages where you can start leveraging
all these packages everywhere and the
way it's structured things could break
pretty easy it's very brittle brittle
code is really bad and one of the
reasons that object-oriented programming
was invented was to invent Britto code
so of course us inventive developers
reinvented different ways of becoming
Britto even with o based infrastructures
so anyway there you go a node has its
uses but it's big Achilles heel it the
big problem that it has as I mentioned
in my short is that it is Britto because
of the way they manage the uh packages
and so apps that uh you've created can
break because somebody changed something
somewhere one of your dependencies not
good not good that that is the number
one reason and the number two reason and
the number three reason I decided
against using node unless I absolutely
had to and where would you have to use
node is in high concurrency applications
this is exceptionally rare most of us
are not building the next Netflix or
Facebook or something so I wouldn't be
too concerned about that my number one
choice is uh for small app development
web apps of PHP because it's small it's
lightweight it runs very L efficiently
it's solid as a rock you won't have
things breaking on you 6 months later
for no given reason uh they're very
conservative in PHP world with regards
to Breaking old code if you've heard bad
things about PHP it's because you live
in
1998 or 1996 perhaps and you still think
that PHP from that time is the PHP of
today it'd be like looking at iPhone 1
and think thinking that oh look at how
bad this iPhone 1 is compared to the
brand new Samsung phone well yeah you
can't compare 15 20-year-old languages
to what's going on today PHP since 5.6 I
would argue is very stable uh it went
4 php7 became super solid and PHP 8 is
Enterprise ready it's got some
capabilities it's really up there now
that all
said as I've said in many videos all the
languages are pretty good these days
even though uh node.js
Pon Jango Java spring boot if you have
uh lots and lots of time on your hand
Java spring boot uh
c.net uh PHP laravel PHP Symphony even
code igniter which is a PHP framework
that was the pro predominant one and it
became uh anyway it lost its uh Mojo but
apparently it's coming back I don't know
I haven't looked at in years so I don't
know and node but again use node
Lo properly again that package
management thing is a huge thing that
makes me not want to get near it and I
stand in Good Company the guy who
created node he ski out out of the node
world as well I think he created
something called Deno I haven't looked
at that as well anyway most of these
products they come with their pros and
cons well they all do come with their
pros and cons some and some will be good
in certain situations some will be good
in other situations I leave it up to you
to choose for me I like solid Dependable
easy simple that's why I go with PHP
anyway that's it that no's dirty secret
the packages evil Britton not good all
right I'm Uncle Steph I teach people out
of code I Mentor people I have a boot
camp I call it the mentoring program
because it's different from any other
boot camp it teaches you all the
fundamentals you need to get your foot
in the door as a professional developer
my thing about becoming a pro developers
is but you got to get that you got to
get into the workforce as quickly as
possible you need to get that first job
the way we do it in the mentoring
program once people cover the
fundamentals we have them go out there
do two to three projects uh little free
freelance projects so you can get their
hands dirty with real code could be
simple things put up a simple e-commerce
shop install WordPress get that set up
uh set up somebody's Shopify system uh
so on and so forth so doesn't really
matter because a big part about being a
developer is being able to assess out
requirements communicate with uh the
stakeholders uh execute on projects on
time that's that's really the key so if
you follow that program whether with me
or otherwise learn your fundamentals go
out do two to three small projects when
you've done that your value as a
developer will Skyrocket so that means
your chances of Landing a job and it's
going to increase quite a bit experience
is everything so you create your own
experience if you're asking oh I wonder
if if Uncle st's mentoring program do I
give you those contracts no I don't
because part of being a professional is
being able to go out there and find
contracts but we help you there we
support you there we Mentor you just
like a coach doesn't play the game for
the athlete the coach directs the
athlete in the right direction to save
him up a lot of time not make stupid
mistakes anyway that's it thanks for
watching I'm Uncle Steph
[Music]
byebye
l
関連動画をさらに表示
PHP в Европе: популярные фреймворки, что спрашивают на собеседованиях, найм PHP-разработчиков
Should you use PHP Laravel for Freelance?
Corepack is dead, and I'm scared
How to Learn PHP Language With Full Information? – [Hindi] – Quick Support
How To Install PHP & What Are Web Servers - PHP 8 Tutorial
50 Days of Meditation: A Review of the Waking Up App from Sam Harris
5.0 / 5 (0 votes)