Comment

Comment by stonemetal12

Yep. The only difference between struct and class in C++ is that class defaults to private while struct defaults to public.

100% of the using structs like they are C structs vs using class as objects is cultural not a part of the language.

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton