Thursday, May 31, 2018

Make A Slackbot From a Google Spreadsheet

In this episode of "probably useless", I'll quickly write about how to make a SlackBot that runs in the cloud using data from a Google Sheet. The example I'll be using was made by me and my friends to handle commuting to and from school, but I've generalized it to many carpooling situations. Because I don't have a lot of time to work on projects right now, I'll be explaining briefly how this works and how you can apply it to your own Slack (or otherwise) bot and maybe pick up some neat tricks for code like this along the way.

Wednesday, May 30, 2018

Some Comments on Comments

Code comments. You probably have an opinion on when, how, or if they should be used. To me, this debate is as heated as "tabs or spaces." Except, this is probably a more important discussion to have, since comments are visible and there are no automated tools to convert from one to the other (bad comments to good comments, there are some that can remove comments completely if that's your thing). I'd like to set forth my own opinion here for the record.