No one I know at Microsoft asks those godawful "lateral-thinking puzzle" interview questions anymore. Maybe someone still does, I don’t know. But rumour has it that a lot of companies are still following the Microsoft lead from the 1990s in their interviews. In that tradition, I present a sequel to Keith Michaels’ 2003 exercise in counterfactual reasoning. Once more, we dare to ask the question "how well would the late Nobel-Prize-winning physicist Dr. Richard P. Feynman do in a technical interview at a software company?"
This is completely true, and I’ve considered writing an article like this myself. There’s no question that C++ has some major warts and gotchas. But it’s surprising how many C programmers don’t realize that even simply compiling your C-style code under a C++ compiler will catch more mistakes. And using just a small subset of C++ features can substantially DRY up a C codebase.
The posix-spawn library aims to implement a subset of the Ruby 1.9 Process::spawninterface in a way that takes advantage of fast process spawning interfaces whenavailable and provides sane fallbacks on systems that do not.