Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can safely put 'no pun intended' after actually having no puns in the text. It can be disorienting but such is truth sometimes.


    typeof(x) y = (typeof(x))x; // no pun intended


Back when I was coding for a living, I tried things like that almost a dozen times to see if they would make anyone laugh, but no pun in ten did.


But why cast to it’s own type?


Pun intended?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: