logoalt Hacker News

Y_Ylast Sunday at 4:30 PM2 repliesview on HN

> C uses a needlessly confusing spiral rule

Libellous! The "spiral rule" for C is an abomination and not part of the language. I happen to find C's type syntax a bit too clever for beginners, but it's marvellously consistent and straightforward. I can read types fine without that spiral nonsense, even if a couple of judicious typedefs are generally a good idea for any fancy function types.


Replies

Tweylast Sunday at 5:05 PM

> fancy function types

If the syntax were straightforward, plain old function types wouldn't be ‘fancy’ :)

show 1 reply
throwawaymathslast Sunday at 4:31 PM

It's not context free though.

show 1 reply