<avsej>
doublec, does it also mean that I have to carry env everywhere I need to output something?
<SeanTAllen>
no, you need to carry env.out
<SeanTAllen>
you dont want to pass `env` around. that gives a lot more access than you want, in particular env.root
<SeanTAllen>
you would pass env.out (which is a tag reference to the out actor) to anything that needs write to standard out
<SeanTAllen>
if you dont provide access to env.out then you can be assured that other parts of your program wont access it.
<SeanTAllen>
they could however bypass that by using C FFI to call @printf, however you can limit FFI access to certain parts of your program to prevent that
<SeanTAllen>
hopefully i didnt overload you with too much info. the short version is: supply env.out to anything that needs to print to standard out.
dynarr has joined #ponylang
dynarr has quit [Client Quit]
mvzink has joined #ponylang
Matthias247 has quit [Read error: Connection reset by peer]
<avsej>
thank you
<SeanTAllen>
you're welcome
<mvzink>
how can i associate a docstring with a field? i get a syntax error if i try to do a """-docstring right before a field, but after the class's docstring.
mvzink has quit [Quit: A merry Christmas to all, and to all a good night!]