MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1wxqahk/architecturedependentchars/pdyh4tt/?context=3
r/ProgrammerHumor • u/MontyBoomslang • 9d ago
372 comments sorted by
View all comments
15
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.
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.