The wings of a programmer
Programmers think programming is really hard. Non-programmers think it’s even harder than that.
Figure 1: The perceived difficulty of programming.
Why is programming so arduous? Read more →
Programmers think programming is really hard. Non-programmers think it’s even harder than that.
Figure 1: The perceived difficulty of programming.
Why is programming so arduous? Read more →
I’d like to do a song of great social and political import.
The code that created the illustrations in Tao Te Programming is now available as the TaoTeProgramming package on CRAN.
Views at other sites are not included — that is, views at R-bloggers and statsblogs.
This ordering gives an unfair advantage to posts that were written early in the year. Read more →
Chapter 32 of Tao Te Programming advises you to make bricks instead of monoliths. Here is an example. The example is written with the syntax of R and is a data analysis, but the principle is valid no matter what language you use or what your task is.
Here is an outline of a function reminiscent of many novice attempts:
monolith <- function (data, col="blue", pch=21) { # transform data # fit model to data # plot data, uses 'col' and 'pch' # get desired model results # return desired model results }
Each of these comment lines may be many lines of code so that the whole function runs to pages. Read more →