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

What was the pun? Many/mini?


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?


Yes.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

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

Search: