5 Ways First Principles Thinking Helps You Code Better

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

ความคิดเห็น • 54

  • @ArjanCodes
    @ArjanCodes  ปีที่แล้ว +2

    👷 Join the FREE Code Diagnosis Workshop to help you review code more effectively using my 3-Factor Diagnosis Framework: www.arjancodes.com/diagnosis

  • @MicheleHjorleifsson
    @MicheleHjorleifsson ปีที่แล้ว +4

    I like these types of videos, its like chatting with a peer about process and techniques

    • @ArjanCodes
      @ArjanCodes  ปีที่แล้ว +1

      I'm glad you enjoyed the content, Michele!

  • @manomancan
    @manomancan ปีที่แล้ว +8

    Love your channel so much, man! Definitely pushing me to be a much better (self-taught) engineer; I even find my own code easier to read! Could I ask for basic intros to mathematical theory and applications we need to know as well, please? There doesn't seem to be a middle ground in online learning communities: Either they are very theoretical and almost university-courses-like, or mathematical issues are completely skimmed over. For example, I'd love to start with algorithmic complexity analysis in real life situations. As an example, how would you, if you were the newly appointed CTO of a new company that just received funding, approach optimising their code base for speed and the quality of their main algorithms? Thanks as always, Arjan!

  • @virtualraider
    @virtualraider ปีที่แล้ว +3

    You have an outstanding series of coding pattern videos 🔥 The comment about not thinking what pattern to use but instead think what kind of problem is it made me think that you could add a companion video form that perspective 😃

  • @DistortedV12
    @DistortedV12 ปีที่แล้ว

    This is one of the best videos, I've seen on this topic.

    • @ArjanCodes
      @ArjanCodes  ปีที่แล้ว

      Glad you enjoyed the video!

  • @dragonfly-7
    @dragonfly-7 ปีที่แล้ว

    Well, Arjan, that is some sort of redirecting back to the right path. I for my own can state that I heard of these principals several times. But applying them all the time is the challenge since one gets distracted by so many different things potentially finally running into "rabbit holes" (🐰). Therefore: Thank you for this reorientation/resyncronization/realignment ... 👍🙏

    • @ArjanCodes
      @ArjanCodes  ปีที่แล้ว

      I'm glad the video was helpful!

  • @wa.6006
    @wa.6006 ปีที่แล้ว

    uhhh your comment about the decorators thing. thanks a lot. i thought i was the only one that thinks that and some kind of a general feeling of missing out. THANKS!

    • @ArjanCodes
      @ArjanCodes  ปีที่แล้ว +1

      Glad you enjoyed the content!

  • @agustinayala6438
    @agustinayala6438 ปีที่แล้ว +1

    Excelent video! Sometimes you know the technical and the theoretical part but you get stuck when facing the actual problem.

    • @ArjanCodes
      @ArjanCodes  ปีที่แล้ว

      I'm happy you enjoyed the content!

  • @Golgafrincham
    @Golgafrincham ปีที่แล้ว +1

    Really nice video in my opinion. These ideas can easily applied to much more than software development. :)

    • @ArjanCodes
      @ArjanCodes  ปีที่แล้ว

      Thank you for the kind words! I completely agree.

  • @MattDeveloper
    @MattDeveloper 9 หลายเดือนก่อน

    Thanks for sharing! Please continue doing those videos ;)

    • @ArjanCodes
      @ArjanCodes  9 หลายเดือนก่อน

      Glad you enjoy the content, Matt!

  • @rommellagera8543
    @rommellagera8543 ปีที่แล้ว +1

    There are 3 I follow:
    1. Assumptions must always be validated, or assume your assumptions are wrong unless tested correct. Also code are also assumptions unless tested in real scenarios.
    2. We write code to solve customer's problem. I don't know why coders are obssesed with technology or methodology that most no longer focus on the problem.
    3. The system as a whole is only as strong as it weakest point. We must test the system thoroughly and completely. Users don't care if your code passed unit test, they want the whole system to be correct not just parts of it.

  • @Micah20001
    @Micah20001 ปีที่แล้ว

    i loved videos about datetime and pathlib. I hope you will make more of them

  • @Forlorade
    @Forlorade 6 หลายเดือนก่อน

    Incredible video, thank you

    • @ArjanCodes
      @ArjanCodes  6 หลายเดือนก่อน

      Glad you enjoyed it!

  • @wogvorph
    @wogvorph ปีที่แล้ว

    I hear about breaking problems to smaller pieces, but how to know what pieces? How's to know what to look for?

  • @flaviocampos9952
    @flaviocampos9952 ปีที่แล้ว

    great video! Got a new subscription

    • @ArjanCodes
      @ArjanCodes  ปีที่แล้ว

      Thank you for the support, Flavio!

  • @NoProblem76
    @NoProblem76 ปีที่แล้ว +3

    I cant agree more with the type annotation part, sometimes type gymnastic is just way too crazy

    • @btkb1427
      @btkb1427 ปีที่แล้ว

      Rust is the ultimate when it comes to that haha

  • @DistortedV12
    @DistortedV12 ปีที่แล้ว

    This is good advice for life too

  • @DevlogBill
    @DevlogBill ปีที่แล้ว

    This is a really good video! One of your best...
    Quick question I am some what new but not really. Never had a real world job in programming but I've been making small CRUD applications on my own I think they call this dog fooding. Anyways, when should you unit test? I've never unit tested before. Do you unit test during your project? Or when the project is done? Also when do you know when you are ready to learn unit testing? When do you know when you are ready?
    Thank you!

  • @ЕвгенийИванов-ю2б
    @ЕвгенийИванов-ю2б ปีที่แล้ว

    I'm first! Love your channel! Please, more stuff about deep learning!

  • @NoProblem76
    @NoProblem76 ปีที่แล้ว +1

    Like first watch later 😂🎉❤❤❤

  • @nevo408
    @nevo408 ปีที่แล้ว

    where did you get that shirt form??

    • @ArjanCodes
      @ArjanCodes  ปีที่แล้ว

      I think Zalando... but it's already quite old, so I'm not 100% sure, haha!

    • @nevo408
      @nevo408 ปีที่แล้ว

      oh cool, might be my mistake, is that a `polars` shirt? @@ArjanCodes

  • @izzidin28
    @izzidin28 ปีที่แล้ว

    please arjan make a video (or maybe tutorial) about "Mojo"

  • @ronaldronald8819
    @ronaldronald8819 ปีที่แล้ว

    Gone think about these 5 First Principe Thinking Ways a bit more. Starting by watching this video again. Thanks for sharing Arjan.

    • @ArjanCodes
      @ArjanCodes  ปีที่แล้ว

      Glad you enjoyed the video, Ronald! :)

  • @AndrewBlucher
    @AndrewBlucher ปีที่แล้ว

    The difficulty for many programmers is the tension between first principles and the currently fashionable library, technique, language.l

  • @dominiquecoladon8343
    @dominiquecoladon8343 ปีที่แล้ว

    Great Video

    • @ArjanCodes
      @ArjanCodes  ปีที่แล้ว

      Thank you, Dominique!

  • @ErikS-
    @ErikS- ปีที่แล้ว

    5:49 ... "capital city" = Amsterdam
    "political center" = The Hague
    "tech capital" = Eindhoven (+Veldhoven) 😉

  • @maxbaugh9372
    @maxbaugh9372 ปีที่แล้ว

    One of my friends, who is a much stronger software engineer than I am, argues that if you find yourself dealing with type-hints too much then maybe Python isn't the right language for the task at hand

  • @sambroderick5156
    @sambroderick5156 ปีที่แล้ว

    Nice t-shirt. Where did you get it?

  • @mrdebug6581
    @mrdebug6581 ปีที่แล้ว

    a KISS for you 😂

  • @redryan20000
    @redryan20000 ปีที่แล้ว

    First Principles are in fact the opposite of thinking like a scientist. They do not follow logically from anything, nor do they follow empirically from any observations. You simply assert them, and all your philosophical framework follows.

  • @overtime5883
    @overtime5883 ปีที่แล้ว +46

    I cant be the only one who thinks this constant change of camera angles, zooming and random clip cut ins are just really annoying

    • @ZeroRiskAppetite
      @ZeroRiskAppetite ปีที่แล้ว +6

      Protip: you can get by with just listening instead of watching the video.

    • @vbaclasses3553
      @vbaclasses3553 ปีที่แล้ว +3

      You are more likely to find faults when you go looking for them.

    • @dboydomr
      @dboydomr ปีที่แล้ว +2

      I don’t like them but I think it’s part of what keeps people engaged

    • @dinoscheidt
      @dinoscheidt ปีที่แล้ว +4

      Well its to hide jump cuts. Very very hard to have one long continuous take - not everyone is Tom Scott

    • @AndrewBlucher
      @AndrewBlucher ปีที่แล้ว

      ​@@vbaclasses3553It's called testing.

  • @Onudasatooshi
    @Onudasatooshi ปีที่แล้ว

    no offence mr arjan , most of your video you do , you hair always looks unkempt and you look trying, i kinda get scared most times like is this how becoming a software developer looks likes always getting tired, am just speaking my mind

    • @coding9409
      @coding9409 ปีที่แล้ว

      Learn how not to write run on sentences.