On 11/10/17 15:36, Chris Angelico wrote:
On Thu, Oct 12, 2017 at 1:14 AM, bartc <b...@freeuk.com> wrote:
Python, maybe. C syntax isn't as painful as C++ but I still have a lot of
trouble with it. (Eg. the variable declaration 'char(*(*x[3])())[5]'. The
name of the variable can be found lurking in that lot somewhere, but what's
the type?) Not so convenient.

People love showcasing stupid examples like that. But how often do you
REALLY make declarations that complex? That's not technically
strawmanning, since C syntax does indeed include that, but you're
cherry-picking the most extreme example.

That's only really one level more complex than declarations I use fairly regularly (I am an embedded system programmer most of the time). On the other hand, I never actually do declare things in that way: typedef is your friend, and makes your C code much easier to read.


--
Rhodri James *-* Kynesim Ltd
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to