
25 Oct
2006
25 Oct
'06
3:53 a.m.
On 10/24/06, John Meacham
On Tue, Oct 24, 2006 at 05:29:58PM +0100, Neil Mitchell wrote:
Actually if-then-else isn't used that often today. Most programmers gave it up in favor of guards.
I question both these statements. Can you cite some evidence here?
I have 501 if statements in my current project. Yhc has 626. Hoogle has 101. If's seem pretty well used to me!
920 in jhc. "I win!" :)
Are these numbers high, or low? I have no idea unless you specify a reference point. Compared to guards, say? Or case? /S -- Sebastian Sylvan +46(0)736-818655 UIN: 44640862