Bug Hunt

Bug Hunt

Wordcamp Rome 2018

Vestendo i panni di entomologi/programmatori esploreremo l’insidioso e viscido mondo dei “bug”.

Scopriremo che possono essere classificati in una tassonomia e come questa ci possa aiutare a costruire delle strategie per catturarli e “schiacciarli”.

Non è magia ma un modo per guidare l’istinto del programmatore in un processo logico di debugging.

Filippo Gangi Dino

September 15, 2018

Annual Pro sale · Save $30

Have presentations of your own?

Share with private links, password protection, and more control over your work.

Transcript

52 slides
  1. @mukkoo bohrbug lives in the code
 LIKES hide them IN

    complex FUNCTIONS, CLASSES OR CONFIGURATIONS #1
  2. @mukkoo reproduction & resolution #1 replicate bug conditions locally test

    it write simplest solution refactoring for more readability
  3. @mukkoo reproduction & resolution #2 REPRODUCE bugGED STATE locally AND

    IN TESTS ADD LOGS FIND When it was introduced WRITE TESTS AND FIX IT
  4. @mukkoo heisenbug or lives in the data and you can

    only see the bug on production #3
  5. @mukkoo reproduction & resolution #3 use profiling to find it

    use real data to reproduce recreate the state in tests follow bohrbug instructions

More Decks by Filippo Gangi Dino

Other Decks in Programming