The Art of Correct by Construction Programming

in #programming9 years ago

The Art of Correct by Construction Programming



What is Correct by Construction?

  • Correctness means the produce does what it was intended to do
  • A formal problem statement is called a formal specification
  • Usually programmers use testing based on passing tests or test cases but the number of test cases are finite
  • Mathematics can be used to prove a program does what it is supposed to do
  • Correct by Construction, before you write the program you focus on making sure it's correct rather than writing the program and testing it aggressively to discover it is correct by passing test cases
Sort:  

I really appreciate your writing more than just posting videos. Information can be consumed so much quicker, and with so much more flexibility, by reading than by watching a video. Your writing especially is very good stuff to read!

Coin Marketplace

STEEM 0.04
TRX 0.33
JST 0.102
BTC 64119.87
ETH 1794.71
USDT 1.00
SBD 0.39