4 ms·
> However, the example code uses `c' for connection and `q' for query. Surely, knowing what those are from the variable name would be a good thing? In this cas
by nandemo 14y ago
> However, the example code uses `c' for connection and `q' for query. Surely, knowing what those are from the variable name would be a good thing?
In this case, the example is short enough that there's no chance of confusion (for the intended audience): clearly c is a connection and q is a request. They're only used in those few lines.
However, I wouldn't say 1-letter names are the norm in typical Haskell code (outside type variables).