3 ms·
Been playing with D for a day or two, it is cool, like it, but missing setters and getters - very much :-) But anyway, if there were jobs in D, I would take it
by danielEM 5y ago
Been playing with D for a day or two, it is cool, like it, but missing setters and getters - very much :-)
But anyway, if there were jobs in D, I would take it blind :-) Love the idea of C being intermediate language.
- gavinray 5y agoD has getters + setters, but they are called "property functions" which is probably why you didn't find them on a cursory google search, ha =) https://dlang.org/spec/function.html#property-functions https://dlang.org/spec/function.html#property-functions
- danielEM 5y agoOk, been to short into D to understand doc nuances, but what it means: "WARNING: The definition and usefulness of property functions is being reviewed" Does it meant that it is just language update proposal? Or it's already tested in D implementations? anyway, saw it before, ha =)