Skip to content
Better HN
Top
New
Best
Ask
Show
Jobs
Search
⌘K
undefined | Better HN
0 points
anon-3988
1y ago
0 comments
Share
lol this is like saying C doesn't need structs, you can just declare the variables with a common prefix separately! See ma, product types!
0 comments
default
newest
oldest
grumpyprole
1y ago
Yep, or C doesn't need arrays just use pointers! And C doesn't need strings, just use a pointer to the first byte and assume it's ASCII!
mgaunard
1y ago
That doesn't work since you cannot pass that as a single argument to a function.
anon-3988
OP
1y ago
So? make the function accept multiple arguments?
mgaunard
1y ago
There are restrictions on calling conventions; it's not equivalent.
j
/
k
navigate · click thread line to collapse