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

Someone at Uber probably recently committed:

    if (personDetected())
    -   break();
    +   brake();


Maybe it's written like a game engine

    for (;;) {
        if (detect_obstacle()) break;
        move_forward();
    }




Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

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

Search: