Paradigm Shifters

Relationship between programming languages source: Brendan Griffen

Background

Doff Ye Cap to Godel?

Mapping Different Paradigms

factorial 0 = 1 
factorial t = t * factorial(t-1)
// Stuff above
public int factorial( int t ) {
return t == 0? 1 : t * factorial( t — 1 );
}
public int factorial( int t ) {
int result = 1;
for( int i = t; i > 0; i — ) {
result *= i;
}
return result;
}

Summary

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store