top | item 10698843 Interesting Function Name (line: 201) 25 points| inglor | 10 years ago |dpsv.margaine.com | reply 8 comments order hn newest [+] [-] blucoat|10 years ago|reply Does ohshit stand for something else clever? I know the Android API uses "What a Terrible Failure" to serve a similar function. [+] [-] dajohnson89|10 years ago|reply There's also ohshite() :-) [+] [-] _lce0|10 years ago|reply haha. Looks like it's from `libdpkg`https://searchcode.com/codesearch/view/21331804/#l-244 [+] [-] vectorjohn|10 years ago|reply Haha, I laughed that there was "ohshite()", but they even have a convenient ohshitv(). [+] [-] impostervt|10 years ago|reply We've all done it. That, and added comments apologizing to whoever has to maintain that one function... [+] [-] _kst_|10 years ago|reply I get "Cannot call method 'slice' of undefined" when I open the link. [+] [-] too_late|10 years ago|reply [deleted] [+] [-] vezzy-fnord|10 years ago|reply I was actually digging into the dpkg source code out of curiosity a few months ago and was also amused by the function name. I didn't decide it worth posting, though. [+] [-] andrewchambers|10 years ago|reply But this comment was?
[+] [-] blucoat|10 years ago|reply Does ohshit stand for something else clever? I know the Android API uses "What a Terrible Failure" to serve a similar function. [+] [-] dajohnson89|10 years ago|reply There's also ohshite() :-)
[+] [-] _lce0|10 years ago|reply haha. Looks like it's from `libdpkg`https://searchcode.com/codesearch/view/21331804/#l-244 [+] [-] vectorjohn|10 years ago|reply Haha, I laughed that there was "ohshite()", but they even have a convenient ohshitv().
[+] [-] vectorjohn|10 years ago|reply Haha, I laughed that there was "ohshite()", but they even have a convenient ohshitv().
[+] [-] impostervt|10 years ago|reply We've all done it. That, and added comments apologizing to whoever has to maintain that one function...
[+] [-] _kst_|10 years ago|reply I get "Cannot call method 'slice' of undefined" when I open the link.
[+] [-] vezzy-fnord|10 years ago|reply I was actually digging into the dpkg source code out of curiosity a few months ago and was also amused by the function name. I didn't decide it worth posting, though. [+] [-] andrewchambers|10 years ago|reply But this comment was?
[+] [-] blucoat|10 years ago|reply
[+] [-] dajohnson89|10 years ago|reply
[+] [-] _lce0|10 years ago|reply
https://searchcode.com/codesearch/view/21331804/#l-244
[+] [-] vectorjohn|10 years ago|reply
[+] [-] impostervt|10 years ago|reply
[+] [-] _kst_|10 years ago|reply
[+] [-] too_late|10 years ago|reply
[deleted]
[+] [-] vezzy-fnord|10 years ago|reply
[+] [-] andrewchambers|10 years ago|reply