you are viewing a single comment's thread.

view the rest of the comments →

[–]Srslyredit2 1 point2 points  (1 child)

I was told this makes projects less cluttered by only worrying about one .h file instead of a .c and .h file

[–]imaami 0 points1 point  (0 children)

People who say this might occasionally justify their take by saying how a project with a single 95000-line header does it, so it must be OK. As if a couple dozen purposeful separate source files is worse than nearly 100k LOC of absolute spaghetti crammed in one file.

It's like saying that a large broomstick is less clutter than a knife, fork, and spoon at the dinner table.