10

I was asked this pre-screening question, and also asked again during a screening call:
Have you written over 30K lines of code?
My answer was I probably deleted more than I wrote. They have my CV (12 years of industry exp).
Are they dumb or playing dumb?
Other possible hypothetical answers I came up with:
- 29,999 or 30,001, I’m not sure
- ⁠Do log lines count?
- ⁠I wrote a script that writes code lines straight to production
- ⁠I tend to write a line then do cmd+x, then cmd+z, cmd+shift+z repeatedly

Wdyt? Do you guys have some funny answers?

Comments
  • 2
    @Demolishun doesn't everyone tattoo them on their body???
  • 4
    I wrote a script which couts lines of code in the project. Only includes files actually edited by devs.

    It's not a metric in any kind, but I was happy when project reached 1 million ;p

    It's just a fun thing to do. But yes, it should never be a metric.
  • 1
    Assuming you were working 200 days per year for 12 years. To get to 30k loc, you would need to write 12,5 loc per day.

    Imagine this kind of productivity 😂
  • 3
    ask them what they're trying to learn by this question
  • 4
    Not yet, but since I adopted Allmann braces and an 80 character line limit I'm getting there a lot faster.
  • 0
    I sent 30k requests to github copilot
  • 2
    @Lensflare Last week I spent 3 days to have end result of 5 code lines. That's exactly why it's not a good metric
  • 0
  • 5
    "Did you interview 30k minutes of people?"
Add Comment