Hacker News new | past | comments | ask | show | jobs | submit

    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?