4 days ago DIP Ideas » Re: Named constructors | |||
|---|---|---|---|
| |||
I would refactor this into a type-driven design via
```d
struct Radians {
private float... | |||
5 days ago General » Re: Attribute transference from callbacks? | |||
|---|---|---|---|
| |||
...are non-uniform that way. The resolution would probably be to always conflate all inouts... | |||
5 days ago General » Re: Attribute transference from callbacks? | |||
|---|---|---|---|
| |||
...trouble. What I suggest with `inout(attrib)` would do the same thing as inout(const... | |||
6 days ago General » Re: Attribute transference from callbacks? | |||
|---|---|---|---|
| |||
...safe`. And there are also traits like `isSafe` that would most likely subtly change meaning. | |||
6 days ago General » Re: Attribute transference from callbacks? | |||
|---|---|---|---|
| |||
...x); // error } ``` It seems at least this would need to work. `inout` is very confusing... | |||
6 days ago General » Re: Attribute transference from callbacks? | |||
|---|---|---|---|
| |||
...way to get out of this conundrum would be to remove the function effect annotations... | |||
December 09 General » Re: [OT] Dennis Ritchie's proposal for slices in C | |||
|---|---|---|---|
| |||
...no mangling, then supporting slices in stdc would have lead to an atrocious system of... | |||
December 09 General » Re: Attribute transference from callbacks? | |||
|---|---|---|---|
| |||
...to reason about though... it feels like it would add serious friction to introspection activities? | |||
December 09 General » Re: Attribute transference from callbacks? | |||
|---|---|---|---|
| |||
...associated. In lieu of that though, I would say, if there are multiple things marked... | |||
December 08 General » Re: Attribute transference from callbacks? | |||
|---|---|---|---|
| |||
...Thing()); } ``` Essentially, how this would work is that the compiler would consider all code inside... | |||
Copyright © 1999-2021 by the D Language Foundation