Re:Show HN: The C3 programming language (C alternative langu...
by steveklabnik on Thursday April 03, 2025 @03:44PM
(#43574445)
I’ve lived in both and I prefer ::.
Re:Show HN: The C3 programming language (C alternative langu...
by gpderetta on Friday April 04, 2025 @06:03AM
(#43580151)
I prefer a world where there is no distinction between modules (or namespaces) and object, so '.' it is. (and I'm almost exclusively a C++ programmer).
Re:Show HN: The C3 programming language (C alternative langu...
by PartiallyTyped on Thursday April 03, 2025 @03:27PM
(#43574261)
N=1; I find :: a lot more obvious.
Re:Show HN: The C3 programming language (C alternative langu...
by lelanthran on Friday April 04, 2025 @11:21AM
(#43583717)
> Sure, but in practice I believe most developers would find it intuitive to just type . everywhere.
Yeah, but in practice I try not to produce write-only code.
Code is for reading more than for writing, hence make it easier to read. If it becomes easier to write as a side-effect, then so be it.
It feels more lightweight and consistent, and collisions aren’t super common once you adopt some conventions.
It’s a tradeoff for sure, but this preference comes from having lived in both worlds.