Fireship · @fireship
Reacting to Controversial Opinions of Software Engineers
Uploaded August 17, 2021 · Length 9:18
Summary
The host discusses various controversial opinions among software engineers, including the effectiveness of object-oriented programming, the importance of coding in free time, and the value of a computer science degree.
- software engineering opinions
- object-oriented programming
- coding in free time
- computer science degree
- programming controversy
- software development debate
Transcript preview
The first 2 minutes of the transcript. Select a timestamp to watch that moment on YouTube.
- 0:00
object-oriented programming is
- 0:01
absolutely the worst thing that's ever
- 0:03
happened to the field of software
- 0:05
engineering
- 0:06
[Music]
- 0:14
in today's video we'll look at some of
- 0:15
the most controversial programming
- 0:16
opinions coming from highly experienced
- 0:18
developers on stack overflow which is
- 0:20
known for its kind friendly and not
- 0:22
toxic at all community i'll give you my
- 0:24
initial reaction based on my 10 years of
- 0:26
experience primarily in web development
- 0:28
but in full disclosure i only have about
- 0:30
5 000 rep on stack overflow so my
- 0:32
opinion doesn't really matter very much
- 0:34
if you're new here like and subscribe
- 0:35
then leave your most controversial
- 0:37
opinion and i'll choose the best one to
- 0:38
win a free t-shirt of your choice and i
- 0:40
just released a whole bunch of new merch
- 0:42
designs so check those out to support
- 0:44
the channel and keep this content coming
- 0:45
alright so let's get back to that
- 0:47
initial opinion that basically says
- 0:48
object-oriented programming is horrible
- 0:50
developers have been hating on oop a lot
- 0:52
in recent years and even the legendary
- 0:54
edgar dykstra is quoted saying
- 0:57
object-oriented programs are offered as
- 0:59
alternatives to correct ones the idea
- 1:01
behind oop has been around since the
- 1:03
1960s and allows developers to
- 1:05
encapsulate data and logic inside of
- 1:08
objects you start with a class which is
- 1:10
like a blueprint that can then create
- 1:12
multiple object instances these classes
- 1:14
can inherit behaviors from each other
- 1:16
forming a hierarchy of abstractions in
- 1:18
addition there are a bunch of design
- 1:20
patterns to go along with it like
- 1:22
singleton factory dependency injection
- 1:24
and so on all these features and design
- 1:26
patterns sound sophisticated and
- 1:28
sometimes they trick you into thinking
- 1:29
you're making productivity gains when
- 1:31
there's likely a much simpler way to get
- 1:33
the job done a common complaint is that
- 1:35
object-oriented languages require a lot
- 1:37
more boilerplate than something that's
- 1:38
more functional in nature and
- 1:40
applications end up having a bunch of
- 1:42
mutable state that's difficult to test
- 1:44
refactor and just reason about
- 1:46
personally i do think these criticisms
- 1:48
are valid but a bit overblown in
- 1:50
javascript i rarely implement my own
- 1:52
classes and basically never use
- 1:53
inheritance instead i create modules
- 1:55
that export functions and plain objects
- 1:58
that makes the code tree shakeable so
- 1:59
that dead code can be eliminated when


