This Week in D #15: hackathon, mem management, ARM, tip for C coders

ketmar via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun May 3 22:23:16 PDT 2015


On Mon, 04 May 2015 03:23:07 +0000, Adam D. Ruppe wrote:

> So I guess it is more a peeve of mine than anything else, but I wanted
> to talk about it anyway and used the tip of the week as my vehicle. D
> code that looks like C isn't a bad thing, indeed, I think it is a
> selling point.

i found that i can write code "in C style" first, and then gradually 
converting it to be more "D-like". btw, it's a great way to start using D 
for begginers with C expirience: just do it as you are used to, and then 
change some parts as you learned new trick.

it's very useful when converting C libraries to D. i have some libraries 
that is hard/impractical to rewrite from scratch in D, but i want 'em in 
D to ease hacking and improving. so i'm first converting code using D as 
"better C", and then adding better interfaces or rewriting some parts.
-------------- 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-announce/attachments/20150504/97cc67ab/attachment.sig>


More information about the Digitalmars-d-announce mailing list