Proposal : aggregated dlang git repository

ketmar via Digitalmars-d digitalmars-d at puremagic.com
Wed Feb 11 00:21:27 PST 2015


On Wed, 11 Feb 2015 03:20:57 +0000, weaselcat wrote:

> I'm sure I'll get a response from ketmar( ;-) )
for your pleasure, sir!

believe me or not, but i almost fully share your opinion. i'm not using 
classes (well, almost), and when i have to, GC is working ok for me. but 
i can see a need in deterministic resource management and classes 
simultaneously. ;-) one of my hobbies is remaking ancient videogames 
(don't ask; i never finished one ;-), so i can understand a desire to 
aviod D GC.

but hey, do you need classes at all? structs works too, you can have 
pointers to functions inside, you can simulate inheritance with `alias 
this`, and you can use `RefCounted!`. and there is mixin magic to write 
nice initializers. (sorry, i just can't stand the temptation!)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d/attachments/20150211/e1923cdb/attachment.sig>


More information about the Digitalmars-d mailing list