News for hackers. Stuff that matters.
Re:How to find size of an array in C without sizeof by babuskov on Monday December 26, 2016 @05:56PM (#13260223)
Provided that he knows about the macro. Otherwise it's slower and if you switch projects often it requires that you remember what's it about.

I guess it could be useful for teams working together on bigger codebases.

Re:How to find size of an array in C without sizeof by Namrog84 on Monday December 26, 2016 @06:42PM (#13260369)
1. An appropriate named macro shouldn't cause you to need to investigate it unnecessarily

2 most IDEs allow simple hover over and see macro definition without having to break much flow.

Re:How to find size of an array in C without sizeof by verdax_1 on Tuesday December 27, 2016 @02:53AM (#13261881)
I might go a step further and append "an appropriately implemented macro". Just because something has a good name doesn't mean it's not filled with crazy.

Otherwise I totally agree with your point.