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

> terseness is beautiful.

I'd much rather read

    rect = element.getBoundingClientRect()
    area = rect.width * rect.height
    velocity += acceleration * deltaTime
    position += velocity * deltaTime
    
than

    r = e.g()
    a = r.w * r.h
    v += a * d
    p += v * d
but to each their own.

Google, Apple, Microsoft, Facebook etc all specifically say terseness is not a goal and say to use whole words so naming a function '$' would be explicity against their guidelines. I suspect there's a reason for that. The most obvious is I don't know what 'a' or 'd' or '$' mean without digging through the code but I do know what 'area' or 'detlaTime' or 'getElementById' mean



Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: