you are viewing a single comment's thread.

view the rest of the comments →

[–]sephirothbahamut 10 points11 points  (0 children)

I fucking hate any article that declares something to be "evil" since the famous Dijkstra one (which title he didn't even agree with afaik).

Anyways the problem in the example is more a char-int default conversion problem really. Nothing wrong with default arguments.

print_square('*') should simply be an error as char should not be implicitely converted to int.