#now the accepted format is 0000 to 2359
Explore tagged Tumblr posts
Text
i am just going to have to get used to ambiguously-defined variables and bad documentation, aren't i
#personal#adventures in programming#(screams in mathematician)#listen i know im a chronic over-explainer but you cannot just say that the time is ''format HHMM or HMM'' and call that good!#WHAT IS MIDNIGHT?? HUH???#is it 0? is it 000? is it 2400?#you have to define these fucking things IN your DOCUMENTATION#i had to fuck around with the dataset to figure it out#you know how much room that leaves for error?? huh???#im human! im tired! i miss things!#what if i missed something important in my fucking around? then my function isn't gonna work!#the time runs from 1 to 2400 btw#which was in line with the united states department of navy correspondence manual in 2013. according to wikipedia.#but you know what? they changed that in 2015!#now the accepted format is 0000 to 2359#this is a prime example of WHY STUFF SHOULD BE IN THE DOCUMENTATION#wait. oh god. does this dataset even list arrival dates#WHAT ABOUT FLIGHTS WHERE THOSE ARE DIFFERENT#i hate it here.
2 notes
·
View notes