Or in C: f(int m) { return [31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][m] }
The OP didn't claim it was better than anything, it's just a nice exercise in style!
The OP didn't claim it was better than anything, it's just a nice exercise in style!
No comments yet.