Re:Minimum Viable Declarative GUI in C++
by hoseja on Wednesday March 23, 2022 @03:59AM
(#30776117)
And yet it uses the very C-like anonymous struct declaration?
[ Parent
| on HN ]
Re:Minimum Viable Declarative GUI in C++
by jcelerier on Wednesday March 23, 2022 @05:20AM
(#30776583)
it's actually not anonymous structs but unnamed structs, which are a different thing in the standard (and present in both C and C++).
Anonymous:
struct Foo {
struct { int x, y; };
};
Foo foo; do_stuff_with(foo.x);
Unnamed: struct Foo {
struct { int x, y; } child;
};
Foo foo; do_stuff_with(foo.child.x);Those two words mean the same yet are different terms. Thanks for a correction.
Re:Minimum Viable Declarative GUI in C++
by jcelerier on Wednesday March 23, 2022 @08:00AM
(#30777543)
my approach to technical terms is that life is much simpler if you entirely forget their real-world usage and just map them strictly to how they are defined in the technical context... they could be called zroglub and blox that I couldn't care less, and honestly sometimes I feel that it would be much less confusing to do things that way rather than trying to tie things to some common dictionary word
Re:Minimum Viable Declarative GUI in C++
by adamrezich on Wednesday March 23, 2022 @06:11PM
(#30784166)
careful—that's how you get hoon/nock