jemc changed the topic of #ponylang to: Welcome! Please check out our Code of Conduct => https://github.com/ponylang/ponyc/blob/master/CODE_OF_CONDUCT.md | Public IRC logs are available => http://irclog.whitequark.org/ponylang
kulibali has quit [Quit: Going offline, see ya! (www.adiirc.com)]
michael_campbell has quit [Read error: Connection reset by peer]
mcguire has quit [Ping timeout: 250 seconds]
c355e3b has quit [Quit: Connection closed for inactivity]
SilverKey has joined #ponylang
montanonic has quit [Ping timeout: 240 seconds]
Perelandric has quit [Ping timeout: 250 seconds]
SilverKey has quit [Quit: Halted.]
jemc has quit [Ping timeout: 265 seconds]
tm-exa has joined #ponylang
SilverKey has joined #ponylang
amclain has quit [Quit: Leaving]
tm-exa has quit [Quit: Computer has gone to sleep]
SilverKey has quit [Quit: Halted.]
Matthias247 has joined #ponylang
ii-v has joined #ponylang
c355e3b has joined #ponylang
tm-exa has joined #ponylang
tm-exa has quit [Read error: Connection reset by peer]
tm-exa has joined #ponylang
ii-v has quit [Ping timeout: 250 seconds]
tm-exa has quit [Quit: Computer has gone to sleep]
ii-v has joined #ponylang
<ii-v> Is there some kind of example of idiomatic Pony?
<ii-v> I have this piece of code that I've written, and it works, but it'd be nice to know if it fits the Pony style
<Candle> ii-v: Looks reasonable to me. one note though, there's a Logger in the standard library rather than directly use env.out.
<ii-v> Candle: How to use that then? just Logger.print()?
<Candle> There aren't "static" methods in pony.
<ii-v> Ah, thanks
<ii-v> hmm, I can't seem to get how to use it though..
<Candle> There's an example about 1/2 way down
<ii-v> All right, so I'll have to do `let logger = StringLogger(Fine, env.out)`?
<Candle> Yes, then `logger.log("message")`
<ii-v> why not just env.out.print? it isn't much longer
tm-exa has joined #ponylang
<ii-v> oh wait
<ii-v> I just realised what it does
<ii-v> thanks :)
<Candle> Because you get standard formatting from the Logger; you get a reduction in 'permissions'; you pass around a logger and not 'env'.
<Candle> :D
ii-v has quit [Ping timeout: 250 seconds]
tm-exa has quit [Read error: Connection reset by peer]
tm-exa has joined #ponylang
k0nsl has quit [Ping timeout: 244 seconds]
k0nsl has joined #ponylang
tm-exa has quit [Max SendQ exceeded]
tm-exa has joined #ponylang
michael_campbell has joined #ponylang
tm-exa has quit [Ping timeout: 260 seconds]
tm-exa has joined #ponylang
jemc has joined #ponylang
michael_campbell has quit [Read error: Connection reset by peer]
tm-exa has quit [Ping timeout: 258 seconds]
michael_campbell has joined #ponylang
tm-exa has joined #ponylang
k0nsl has quit [Ping timeout: 265 seconds]
c355e3b has quit [Quit: Connection closed for inactivity]
k0nsl has joined #ponylang
c355e3b has joined #ponylang
tm-exa has quit [Quit: Computer has gone to sleep]
SilverKey has joined #ponylang
amclain has joined #ponylang
SilverKey has quit [Quit: Halted.]
mcguire has joined #ponylang
gsteed has joined #ponylang
ii-v has joined #ponylang
ii-v has quit [Quit: Page closed]
Macropas has joined #ponylang
Macropas has left #ponylang [#ponylang]
montanonic has joined #ponylang
montanonic has quit [Ping timeout: 276 seconds]
Matthias247 has quit [Read error: Connection reset by peer]
montanonic has joined #ponylang
michael_campbell has quit [Read error: Connection reset by peer]
SilverKey has joined #ponylang