On Thu, 27 Nov 2014 22:25:10 +0100 Daniel Kozak via Digitalmars-d-learn <digitalmars-d-learn@puremagic.com> wrote:
> Dne Thu, 27 Nov 2014 22:21:52 +0100 ketmar via Digitalmars-d-learn > <digitalmars-d-learn@puremagic.com> napsal(a): > > > On Thu, 27 Nov 2014 21:14:57 +0000 > > Daniel Kozak via Digitalmars-d-learn > > <digitalmars-d-learn@puremagic.com> wrote: > > > >> import core.runtime; > >> import std.c.process; > >> writeln("Can't find input file with list of links."); > >> Runtime.terminate(); > >> exit(1); > > please-please-please don't teach people that! using such features > > requiring deep understanding of how D runtime works, and how it > > interacts with C runtime, with GC, with stack objects and so on. > > > > it's better to now show people bad samples instead of telling them > > "don't do what i just wrote". ;-) > > I know, I just can't help myself :). me too sometimes. taking into accout that "don't try this at home" warning is never working makes it even funnier. ;-)
signature.asc
Description: PGP signature