(no title)
kvark
|
1 year ago
That “.” substitution of an inferred type is going to fire back. I really appreciate when code has one simple property: you search a type by name and you get all of the places where it’s constructed. Makes it easy to refactor the code and reason about it with local context. It’s the case with Rust, but not C++ or Zig.
int_19h|1 year ago
alpaca128|1 year ago
But that kind of shortcut seems to be optional.
Klonoar|1 year ago
fuzztester|1 year ago
In the same vein as what you said here about orthogonality ( https://news.ycombinator.com/item?id=42097347 ), programming languages and IDEs should be orthogonal (and actually are, unless deliberately linked). People were using languages much before IDEs existed. And they got a hell of a lot done using the primitive surrounding tools that existed back then, including, you know, gems like Lisp and the concepts embodied in it, many of which have, much later, been adopted by many modern languages.
And I still meant "almost compel", even by the community, because of course they cannot really compel you. I meant it in the sense of, for example, so many people using VS Code for programming posts.
lmm|1 year ago
rererereferred|1 year ago
Similar to when you add a new enum member and it complains of all switch statements that are not using it (as long as you didn't add a default case).
flohofwoe|1 year ago
zamadatix|1 year ago
nindalf|1 year ago