dominikh changed the topic of #cinch to: The IRC Framework | Latest version: Cinch 2.1.0
postmodern has joined #cinch
xeviox|afk is now known as xeviox
kludge` has quit [Ping timeout: 240 seconds]
kludge` has joined #cinch
postmodern has quit [Quit: Leaving]
cout_ is now known as cout
nkr has joined #cinch
nkr is now known as UnrealEngine
UnrealEngine is now known as nkr
geopet has joined #cinch
Azure has quit [Quit: Blue Sky Fish]
xeviox is now known as xeviox|afk
Azure has joined #cinch
postmodern has joined #cinch
geopet has quit []
geopet has joined #cinch
dpg has joined #cinch
<dpg> what's the easiest way to get a bot to join a channel, say something, then quit irc
<dpg> can someone point me to an intro or something? I couldn't find any examples in the docs.
<dominikh> there are examples in the examples/ directory
<catepillar> the join_part will be a good one to look at
<catepillar> hello is a good one for hte message to show
<catepillar> and the command to quit will be @bot.quit
<dpg> dominikh: I'll go back and check it out. thanks catepillar.
<dpg> also, awesome job and thanks for the code.
<dominikh> :) you're welcome
<dominikh> completely unrelated: this is what it looks like when the creator of a Ruby IRC framework gets tired of Ruby and writes an IRC framework in Go instead: http://sprunge.us/hhZX
<leftylink> I might be interested in such a thing
<leftylink> well I still liek ruby I guess, but I do want a statically typed language that I like to add to the toolbox
<leftylink> I'm unhappy about C++ header files
<dominikh> after about 1.5 years with it, I can wholeheartedly recommend Go ;)
<leftylink> hmm, I don't believe it has stuff like map and filter, does it. I'd need to get over that
<dominikh> it's a lot closer to imperative than functional programming. and no, there's no map and filter.
<dominikh> for loops work great, too, though ;)
<leftylink> I don't think their type system expresses such a concept ( (A->B) -> [A] -> [B] )
<leftylink> however the no-inheritance type system is cool shit
<leftylink> I like that bit
<dominikh> there are no generics in Go, so you get rid of most of the map/filter/... stuff
<nkr> dominikh: hey cinch is really cool! thanks
<dominikh> nkr: you're welcome :)
<nkr> Im coding my first bot lol
<dominikh> I'd suggest running fast and far and spending your time on more valuable things ;)
<nkr> haha
<dominikh> leftylink: for what it's worth, there's the Go tour, which is akin to _whys "try ruby" thing from back then. introduction to the language with an interactive editor
<dominikh> so if you ever want to look into it, that's about 30 minutes of your life
<onewheelskyward> no-inheritance? I've done that already. :)
<dominikh> good old C.
<onewheelskyward> Go reads to me like a throwback
<onewheelskyward> It's very C, with a dash of pascal thrown in for fun.
<dominikh> it's C, mixed with alef and limbo :)
nkr has quit [Quit: Linkinus - http://linkinus.com]
ayonix has quit [Quit: Cya]
ayonix has joined #cinch
rek2p0wn has joined #cinch