Lovelace, Ada Augusta (1842) "Notes on the Analytical Engine"
Aiken, Howard (1937) "Proposed Automatic Calculating Machine"
#include "screencasts.h" | |
/* Poor man's approximation of PI */ | |
#define PI 3.1415926535898 | |
/* Macro for sin & cos in degrees */ | |
#define Cos(th) cos(PI/180*(th)) | |
#define Sin(th) sin(PI/180*(th)) | |
/* D degrees of rotation */ | |
#define DEF_D 5 |
'use strict'; | |
/*****************NATIVE forEACH*********************/ | |
Array.prototype.myEach = function(callback) { | |
for (var i = 0; i < this.length; i++) | |
callback(this[i], i, this); | |
}; | |
//tests |
// Bootstrap | |
/* Custom, iPhone Retina */ | |
@media only screen and (min-width : 320px) { | |
} | |
/* Extra Small Devices, Phones */ | |
@media only screen and (min-width : 480px) { |
Code is clean if it can be understood easily – by everyone on the team. Clean code can be read and enhanced by a developer other than its original author. With understandability comes readability, changeability, extensibility and maintainability.