Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

char (*(*x())[])()

Name: Anonymous 2012-01-28 18:16

"char (*(*x())[])()
x: function returning pointer to array[] of pointers to function returning char" - K&R, page 122.

Because C is concise and elegant.
Seriously, I am a fan of the language, but this is unforgivable.

Name: Anonymous 2012-01-28 18:24

>>5
I feel it betrays the very spirit of the language. It is the ugly side of it - the one that eventually lead to the birth of sepples. C should be simple, elegant, and powerful. It is a language that, having studied it for a few hours, you can guesstimate the effect of almost every line of code. Not so for this line, which is counter-intuitive.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List