Intro to Test-Driven Development in Go - Denise Yu

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

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

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

    Great talk but AWESOME pictures. Enhanced but didn't distract! Thanks

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

    Great talk! Like the awwwr at the end haha

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

    13:00 welcome to golang.. if error != nil ... :D :D :D

  • @alessandrob.g.4524
    @alessandrob.g.4524 3 ปีที่แล้ว +1

    She should be playing Crash in 4:3. The "save point" metaphor was spot on 'though.

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

    Excellent!

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

    great talk!

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

    Excellent talk. Love the reasoning for TDD - good stuff....
    But I am not too sure why removing the test case was a good thing.
    After writing the two tests, and testing out the "hello" function - we are good. Then I see you'd refactor the test code to remove a test case (which I assume you thought was redundant), but in this case I am not too sure. Someone else can refactor the production code and hard code to "hello GoCon" - your tests will pass, but the code's isn't good no more...I am sure I am missing a point here....

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

      why would somebody do that lmao, tests aren't for stopping people completely rewriting code incorrectly...

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

      because Hello("GoCon") and Hello("Zach") are in same equivalence class (partition), it means they will find same bug.
      Hello("") maybe find a different bug.

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

    nice

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

    The language is called go, not golang.