Talk:Get version

From Kolmafia
Revision as of 23:34, 1 August 2010 by imported>Icon315 (Reverted edits by Heeheehee (Talk) to last revision by StDoodle)
Jump to navigation Jump to search

The code sample on this page should be redone, as that functionality is already built into KoLmafia. --StDoodle (#1059825) 16:52, 29 July 2010 (UTC)

Yeah i know, i couldn't think of anything else, i can't think of any other reason for this function--Icon315 21:51, 29 July 2010 (UTC)

Since the function returns a string, and get_revision returns an int, it seems like any situation in which you'd like to check compatibility or anything else would be much safer to implement with get_revision. After all, there's no real guarantee that the current version format will be stuck to. (I guess nothing is written in stone, but at least it's fairly unlikely that a check versus an int would completely bork things.) I don't want to complain too much, as I've been wanting get_revision for so very long. But yeah... can't think of anything either. --StDoodle (#1059825) 06:02, 30 July 2010 (UTC)