| ▲ | jstimpfle 5 hours ago | |||||||
It's totally true, using sizeof like a function is one of my pet peeves. Even the kernel people do it but it's WRONG and you are right. But ACSHUALLY, how you write allocation is like this
The kernel people seem to finally have figured out this one in 2026. | ||||||||
| ▲ | DonHopkins 2 hours ago | parent [-] | |||||||
Nothing is sane in a language that lets you say 4["Foo!"] Array indexing in C is just pointer arithmetic wearing Groucho Marx Glasses. C combines the flexibility and power of assembly language with the user-friendliness of assembly language. | ||||||||
| ||||||||