[riot-notifications] [RIOT-OS/RIOT] add ARRAYSIZE macro and make use of it (#11865)

Martine Lenders notifications at github.com
Sun Jul 28 11:44:25 CEST 2019

> I don't like macros... But we can discuss this again.
> If we go for this, I'd opt for "ARRAY_SIZE()". It's what Linux is using.

I think there are macros and macros. They can be annoying and actually hinder debugging when they hide something lise 10 lines of code and change variables, but this kind of macros with just one input and a clear output are fine (and actually helpful) IMHO.

You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.riot-os.org/pipermail/notifications/attachments/20190728/0f0a80bb/attachment.htm>

More information about the notifications mailing list