Reply to post: Re: Kinda sad.

C++ still rules the Chromium roost though Rust has caught our eye, say browser devs

dajames

Re: Kinda sad.

In some ways, it is more strongly typed since enums are proper types unlike in C++.

C++11 has enum classes, which are proper types.

Rust has things it calls enums that are actually something akin to discriminated union types. Those are a powerful language feature, but I do wish they'd called them something other than "enum".

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon