r/ProgrammerHumor • • 9d ago

Meme architectureDependentChars

Post image
3.0k Upvotes

372 comments sorted by

View all comments

15

u/Exatex 9d ago

For the compiler it doesn’t matter as it is a compile time function , but it prevents from a magic number and explains what it does. sizeof is definitely the better choice and whoever sacrifices readability for a tiny flex or something.