Fireship · @fireship

Reacting to Controversial Opinions of Software Engineers

Uploaded August 17, 2021 · Length 9:18

Reacting to Controversial Opinions of Software Engineers

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.

  1. 0:00

    object-oriented programming is

  2. 0:01

    absolutely the worst thing that's ever

  3. 0:03

    happened to the field of software

  4. 0:05

    engineering

  5. 0:06

    [Music]

  6. 0:14

    in today's video we'll look at some of

  7. 0:15

    the most controversial programming

  8. 0:16

    opinions coming from highly experienced

  9. 0:18

    developers on stack overflow which is

  10. 0:20

    known for its kind friendly and not

  11. 0:22

    toxic at all community i'll give you my

  12. 0:24

    initial reaction based on my 10 years of

  13. 0:26

    experience primarily in web development

  14. 0:28

    but in full disclosure i only have about

  15. 0:30

    5 000 rep on stack overflow so my

  16. 0:32

    opinion doesn't really matter very much

  17. 0:34

    if you're new here like and subscribe

  18. 0:35

    then leave your most controversial

  19. 0:37

    opinion and i'll choose the best one to

  20. 0:38

    win a free t-shirt of your choice and i

  21. 0:40

    just released a whole bunch of new merch

  22. 0:42

    designs so check those out to support

  23. 0:44

    the channel and keep this content coming

  24. 0:45

    alright so let's get back to that

  25. 0:47

    initial opinion that basically says

  26. 0:48

    object-oriented programming is horrible

  27. 0:50

    developers have been hating on oop a lot

  28. 0:52

    in recent years and even the legendary

  29. 0:54

    edgar dykstra is quoted saying

  30. 0:57

    object-oriented programs are offered as

  31. 0:59

    alternatives to correct ones the idea

  32. 1:01

    behind oop has been around since the

  33. 1:03

    1960s and allows developers to

  34. 1:05

    encapsulate data and logic inside of

  35. 1:08

    objects you start with a class which is

  36. 1:10

    like a blueprint that can then create

  37. 1:12

    multiple object instances these classes

  38. 1:14

    can inherit behaviors from each other

  39. 1:16

    forming a hierarchy of abstractions in

  40. 1:18

    addition there are a bunch of design

  41. 1:20

    patterns to go along with it like

  42. 1:22

    singleton factory dependency injection

  43. 1:24

    and so on all these features and design

  44. 1:26

    patterns sound sophisticated and

  45. 1:28

    sometimes they trick you into thinking

  46. 1:29

    you're making productivity gains when

  47. 1:31

    there's likely a much simpler way to get

  48. 1:33

    the job done a common complaint is that

  49. 1:35

    object-oriented languages require a lot

  50. 1:37

    more boilerplate than something that's

  51. 1:38

    more functional in nature and

  52. 1:40

    applications end up having a bunch of

  53. 1:42

    mutable state that's difficult to test

  54. 1:44

    refactor and just reason about

  55. 1:46

    personally i do think these criticisms

  56. 1:48

    are valid but a bit overblown in

  57. 1:50

    javascript i rarely implement my own

  58. 1:52

    classes and basically never use

  59. 1:53

    inheritance instead i create modules

  60. 1:55

    that export functions and plain objects

  61. 1:58

    that makes the code tree shakeable so

  62. 1:59

    that dead code can be eliminated when