Exercises in Prog Style

Exercises in Programming Style–Map Reduce

NOTE : read the rest of the series, or check out the source code. If you enjoy read­ing these exer­cises then please buy Crista’s book to sup­port her work. Fol­low­ing on from the last post, we will look at the Map Reduce style today.   Style 30 – Map Reduce Con­straints Input data is divid­ed in chunks, sim­i­lar …

Exer­cis­es in Pro­gram­ming Style–Map ReduceRead More »

Exercises in Programming Style–Dataspaces

NOTE : read the rest of the series, or check out the source code. If you enjoy read­ing these exer­cises then please buy Crista’s book to sup­port her work. Fol­low­ing on from the last post, we will look at the Data­spaces style today.   Style 29 – Data­spaces Con­straints Exis­tence of one or more units that exe­cute con­cur­rent­ly. …

Exer­cis­es in Pro­gram­ming Style–DataspacesRead More »

Exercises in Programming Style–Actors

NOTE : read the rest of the series, or check out the source code. If you enjoy read­ing these exer­cises then please buy Crista’s book to sup­port her work. Fol­low­ing on from the last post, we will look at the Actors style today.   Style 28 – Actors Con­straints The larg­er prob­lem is decom­posed into ‘things’ that make …

Exer­cis­es in Pro­gram­ming Style–ActorsRead More »

Exercises in Programming Style–Lazy Rivers

NOTE : read the rest of the series, or check out the source code. If you enjoy read­ing these exer­cises then please buy Crista’s book to sup­port her work. Fol­low­ing on from the last post, we will look at the Lazy Rivers style today.   Style 27 – Lazy Rivers Con­straints Data comes to func­tions in streams, …

Exer­cis­es in Pro­gram­ming Style–Lazy RiversRead More »

Exercises in Programming Style–Spreadsheet

NOTE : read the rest of the series, or check out the source code. If you enjoy read­ing these exer­cises then please buy Crista’s book to sup­port her work. Fol­low­ing on from the last post, we will look at the Spread­sheet style today.   Style 26 – Spread­sheet Con­straints The prob­lem is mod­eled like a spread­sheet, with …

Exer­cis­es in Pro­gram­ming Style–SpreadsheetRead More »

Exercises in Programming Style–Quarantine

NOTE : read the rest of the series, or check out the source code. If you enjoy read­ing these exer­cises then please buy Crista’s book to sup­port her work. Fol­low­ing on from the last post, we will look at the Quar­an­tine style today.   Style 24 – Quar­an­tine Con­straints Core pro­gram func­tions have no side effects of …

Exer­cis­es in Pro­gram­ming Style–QuarantineRead More »

Exercises in Programming Style–Declared Intentions

NOTE : read the rest of the series, or check out the source code. If you enjoy read­ing these exer­cises then please buy Crista’s book to sup­port her work. Fol­low­ing on from the last post, we will look at the Declared Inten­tions style today.   Style 23 – Declared Inten­tions Con­straints Exis­tence of a run-time type­check­er. Pro­ce­dures …

Exer­cis­es in Pro­gram­ming Style–Declared Inten­tionsRead More »

Exercises in Programming Style–Passive Aggressive

NOTE : read the rest of the series, or check out the source code. If you enjoy read­ing these exer­cises then please buy Crista’s book to sup­port her work. Fol­low­ing on from the last post, we will look at the Pas­sive Aggres­sive style today.   Style 22 – Pas­sive Aggres­sive Con­straints Every sin­gle pro­ce­dure and func­tion checks …

Exer­cis­es in Pro­gram­ming Style–Passive Aggres­siveRead More »

Exercises in Programming Style–Tantrum

NOTE : read the rest of the series, or check out the source code. If you enjoy read­ing these exer­cises then please buy Crista’s book to sup­port her work. Fol­low­ing on from the last post, we will look at the Tantrum style today.   Style 21 – Tantrum Con­straints Every sin­gle pro­ce­dure and func­tion checks the san­i­ty …

Exer­cis­es in Pro­gram­ming Style–TantrumRead More »

Exercises in Programming Style–Constructivist

NOTE : read the rest of the series, or check out the source code. If you enjoy read­ing these exer­cises then please buy Crista’s book to sup­port her work. Fol­low­ing on from the last post, we will look at the Con­struc­tivist style today.   Style 20 – Con­struc­tivist Con­straints Every sin­gle pro­ce­dure and func­tion checks the san­i­ty …

Exer­cis­es in Pro­gram­ming Style–ConstructivistRead More »

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close