untra / bad-software

https://www.youtube.com/watch?v=d696t3yALAY

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

bad-software

This is a record of software defects and how they can be recognized:

Bugs of Mutated State

off-by-one errors

public int <T>countElements(arr: Iterable<T>) {


}

nested for-loops

misuse of this

time money entropy

impure functions

Bugs of Unstructured State

  • TypeError
  • IndexOutOfBounds (unless from off-by-one)
  • DivideByZero

Bugs of Shared State

  • Race Conditions
  • StackOverflows

About

https://www.youtube.com/watch?v=d696t3yALAY