How to Write Clean, Testable Code

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024

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

  • @danielrusev1251
    @danielrusev1251 10 ปีที่แล้ว +15

    It would've been better if we'd been able to hear the questions the audience asked. He could've repeated the question before answering it for our benefit.

    • @ziobleed
      @ziobleed 8 ปีที่แล้ว

      +Даниел Русев Yeah, that would be a good habit, rarely used , tough

  • @nelsoncorreia1112
    @nelsoncorreia1112 10 ปีที่แล้ว +5

    Good talk on writing testable code. Shame the Q&A section is inaudible. :-(

  • @ssj4500
    @ssj4500 2 ปีที่แล้ว

    Holy Crap this is straight 🔥 My code dead ass is unstoppable 💪🧑🏽‍💻🧑🏽‍💻🧑🏽‍💻🧑🏽‍💻🧑🏽‍💻 THANK YOU FOR THIS 😍😍

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

    Am I right in thinking that the reason 'new' operators are bad is because you can't change the type of the object from outside?

  • @manricorazzi
    @manricorazzi 13 ปีที่แล้ว

    Great talk. Misko is the man. Got here via a Kent Beck's tweet, btw.

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

    Very good talk. Well explained and demonstrated.
    10x

  • @MartinOfSomeName
    @MartinOfSomeName 13 ปีที่แล้ว

    Look like my wishes has been granted and GTT is in HD now :). Thank you,

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

    Thank you, this made a lot of vague ideas concrete for me. Good example code, great discussion.

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

    Please repeat the questions!

  • @corbin923
    @corbin923 13 ปีที่แล้ว

    @sharperguy (Disclaimer: I'm no OO guru and could be completely wrong ;p.) New is bad inside of constructors because that hard codes dependencies and is usually a sign that the constructor is doing too much. For example, if you have a User class with something like "new DatabaseConnection();" that's obviously bad as instantiating a database connection is not the business of a User object.

  • @RogerKeulen
    @RogerKeulen 11 ปีที่แล้ว

    Thanx, just removed the NEW from my convert function.
    Public Shared Widening Operator CType(m As Meter) As Millimeter
    Return Convert(New Millimeter(UnitValue), m)
    End Operator

  • @hoang-himself
    @hoang-himself 2 ปีที่แล้ว

    It's crazy how much have changed after 12 years

  • @kosterix123
    @kosterix123 10 ปีที่แล้ว

    subtitles are a bit off.
    BDB actually is BDD, business driven development.

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

      I thought it was behaviour driven development?

    • @kosterix123
      @kosterix123 9 ปีที่แล้ว

      en.wikipedia.org/wiki/Business-driven_development
      nl.wikipedia.org/wiki/Behaviour_Driven_Development

    • @jonnyhotchkiss2667
      @jonnyhotchkiss2667 9 ปีที่แล้ว

      Kosteri x hi what about what he's talking about around 43mins, a single threaded test ... app/framework (not sure)
      sounds like 'no-jays'?

    • @BangsarRia
      @BangsarRia 2 ปีที่แล้ว

      @@jonnyhotchkiss2667 NodeJs. Also note that Misko is one of the developers of AngularJs

  • @LukeBockman
    @LukeBockman 11 ปีที่แล้ว

    great talk

  • @Mathview
    @Mathview 13 ปีที่แล้ว

    Go into Google and explain how to properly write code? Cool! For my next act, head in the Lion's mouth. lol ... anyways. .... Great talk even for the non-professional programmer. Now my question.... General engineering project management identifies the concept of "a metric" if you view the code as a project how do you relate the concepts of metric and specs? or are they unrelated?

  • @alexkhimach
    @alexkhimach 11 ปีที่แล้ว

    great talk, but to silent voice and title isnt sinc.

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

    WTF is frosting? Oh, right, *icing*.

  • @crystalclear506
    @crystalclear506 13 ปีที่แล้ว

    @devent82 Now, Yes in Lion

  • @schnasndasn1504
    @schnasndasn1504 3 ปีที่แล้ว

    The URL with the code is invalid. :(

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

      That's an oh not a zero. 92Ozrz

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

    shwag

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

    If you are going to tell us it is okay to say "I don't know" three times in the presentation, maybe you should take your own advice and admit that *you* don't know when people ask questions that you can't answer.

  • @someman7
    @someman7 11 ปีที่แล้ว

    I have no idea what's been said here either.

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

    On the contrary, it is shameful to say that you DO know Javascript

  • @click007
    @click007 13 ปีที่แล้ว

    After one hour, they give the mic to the audience so the questions can be understood.... They need to improver their presentation better practices if they plan to upload them to youtube!!