I assumed everyone would know this was just a small section out of a method.
variable names do not document intention. - The unknowns are easy to assume.
code does not need to rely on exception handling. - When I write, I try catch. Yes, I threw the catch in the abyss but not always. Sometimes I write code and then remove part of it and sometimes I don't clean up all the way.
If you are going to use a regex expression, you might as well have it capture the yyMMdd value as a single capture group. - I fucking HATE using regular expressions and have ZERO problems with going the long way around to avoid it. I also give no fucks about any names or labels given to me because of it.
return value is a string and not a DateTime object. - Yes, this is true and for a reason. I even noted that in my comments above the code but you can't see that because I didn't post it.
I think this is the first or second time in my life I have posted code on the Internet for help. I see the majority of people that reply to questions like this attacking everything in the code posted and contributing nothing to the answer of the original question. This is the same as the "Shopping Cart Theory". What I do is no more important than why I do it.
There are 10 types of people. Those that know binary and the ones that don't.
Looked over my post and it hit me, you guys are cunts. Even in this post you could not resist but to try and attack my character to stroke your ego. Who the fuck said you are the software police and should try to force everyone far and wide to write code to your standard? You didn't once try and help but instead, right out of the gate, you acted like a cunt. Even now, when the question has an answer, you are still trying to get me to bend to your will. Fuck you. Cunt.
(post is archived)