Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

10 Rules for Writing Safety Critical Code

Name: Anonymous 2016-10-13 17:34

http://spinroot.com/p10/

1 Restrict to simple control flow constructs.
2 Give all loops a fixed upper-bound.
3 Do not use dynamic memory allocation after initialization.
4 Limit functions to no more than 60 lines of text.
5 Use minimally two assertions per function on average.
6 Declare data objects at the smallest possible level of scope.
7 Check the return value of non-void functions, and check the validity of function parameters.
8 Limit the use of the preprocessor to file inclusion and simple macros.
9 Limit the use of pointers. Use no more than two levels of dereferencing per expression.
10 Compile with all warnings enabled, and use one or more source code analyzers.

Name: Anonymous 2016-10-13 17:36

>>1 Sounds like Ada

Name: Cudder !cXCudderUE 2016-10-13 22:15

Meh, meh, YES, bullshit, bullhit, bullshit, meh, bullshit, bullshit, bullshit.

Name: Anonymous 2016-10-13 23:44

>>3
Are you Jewish? Only jews don't like dynamic memory allocation

Name: Anonymous 2016-10-14 0:06

C-dder is all talk and no action.

Name: Anonymous 2016-10-14 1:06

>>5
What's with all the anti-Cudder shilling?

Name: Anonymous 2016-10-14 1:19

>>6
Now you're spewing memes for no good reason.

Name: Anonymous 2016-10-15 0:23

11 Do not use the C programming language

Name: Anonymous 2016-10-15 5:18

>>8
What? That will be ruining security industry and hacking. Also, job security is often fixing and improving C/C++ code. Without C/C++ minimum-wage pajeets would be running the show.

Name: Anonymous 2016-10-15 6:31

Use rust

Name: Anonymous 2016-10-15 6:32

Dont botherchecking these

Name: Anonymous 2016-10-15 20:04

>>9
Also, job security is often fixing and improving C/C++ code.

Haskell is a simple and understandable language for normal people like physicists and mathematicians, cleansed of the byte-sodomy, and it makes specially-bred computer programmer-lametards unnecessary. Yes, you've heard that right. Once this language for normal people becomes widespread, the byte-Sparta of warrior programmer faggots tempered by being assfucked with the von Neumann architecture and fucked in the mouth by the applicative order will lose its raison d'etre. What will they do then, these pathetic subhumans who have had everything human washed out from their heads for five years in coding school? The only thing remaining for them will be ceasing their wretched existence.

Name: Anonymous 2016-10-15 20:35

>>12
Every time you use Haskell, the Jew takes a dump in your soul.

Name: Anonymous 2016-10-16 11:10

>>13 Its a new copypasta.

Name: Anonymous 2016-10-17 22:21

Name: Anonymous 2016-10-18 1:39

2016
not having arbitrary-sized buffers

Name: Cudder !cXCudderUE 2016-10-18 10:04

>>15
By making a better API. In the same way gets() is a stupid idea and was replaced with fgets(), let the caller decide how big the buffer needs to be.

Name: Anonymous 2016-10-18 10:35

>>17
stop being a namefag

Name: Anonymous 2016-10-18 10:57

>>18
e/g/in /g/ro

Name: sage 2016-10-18 11:03

>>19
no

Name: Anonymous 2016-10-18 18:00

21 YEARS OF CHASTITY GET

Name: Anonymous 2016-10-18 18:41

>>21
Check em

Name: don't bumper 2016-10-18 19:28

>>22
no

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List