News for hackers. Stuff that matters.
Re:LispY C by danielparks on Thursday May 12, 2016 @11:57PM (#11688536)
I don't see where you get that. There is a struct function.

That said, the only difference between a struct and a class is that struct member defaults to public, and class members default to private.

Re:LispY C by chadzawistowski on Friday May 13, 2016 @03:18AM (#11689096)
> the only difference between a struct and a class

In C++ land, this would be true.

C doesn't let you write methods within structs. C structs don't even have inheritance. No virtual table is generated. There is no single-dispatch mechanism.