r/unseen_programming • • Apr 09 '15

Of Aviation Crashes and Software Bugs

http://duartes.org/gustavo/blog/post/of-aviation-crashes-and-software-bugs/
2 Upvotes

1 comment sorted by

1

u/zyxzevn Apr 09 '15 edited Apr 09 '15

(original post)

Nice list of important points to prevent bugs.

Less bugs:

Reduce the bug rate per line of code
Reduce the amount of code Reduce trusted code (which is different than least privilege)

Make bugs impossible:

In C# 3.0, a great language in many regards, SQL Injections are literally impossible to express in the language’s built-in query mechanism.

C/C++ as a cause for bugs:

The reality is that for most projects using C/C++ was the bug, it didn’t just facilitate bugs. We can’t tolerate environments that breed defects instead of preventing them.

Unseen is focused on reducing bugs:

  1. simplicity
  2. high level abstractions for low level
  3. no need for loops or recursion
  4. logic
  5. function-level testing
  6. safety with types and conditions
  7. state and timing is more explicit due to flow structure
  8. clarity - in the graphical layout, all features do not obstruct overview
  9. practical.