Hacker News new | past | comments | ask | show | jobs | submit login

Having written an IRC client and several bots, I actually like the simplicity of the protocol.



Yeah, the simplicity is a godsend. Lets you pump out a minimally viable client/bot in minutes with whatever language you like, without having to mess around with an existing framework or library.


I'll second that. For example, here's a bot that logs every channel you invite it to...in 50 lines of shell. How big would the equivalent XMPP bot be (libraries included)?

https://github.com/acg/logbot/blob/master/bin/logbot.sh


50 lines of clean comprehensible shell code even! Written with the traditional code-golfed style of shell scripting I bet you could half that without even trying. ;)


@bonch (your comment is 'dead')

The idiosyncracies that you have to get into when you want to write a proper client for humans, and what you actually have to worry about if your aim is just writing tools that use IRC (internal deployment bots, or whatnot) are miles apart. The vast majority of users will only be interested in the second.

Just follow the RFCs for the features that you need, and ignore everything else.

Anyway, IRC is plainly simple if you look at it's competition. I can use IRC with netcat without any significant effort; there are not a lot of other things I can say that about.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: