News for hackers. Stuff that matters.
Re:Results of the Debian systemd survey by msbarnett on Tuesday May 28, 2013 @12:12PM (#5780867)
The choice between 'portability' and 'ifdefs' is a false dichotomy. There are far cleaner ways to achieve portability, and ifdefs are almost always a sign of 'doing it wrong'.

See, for example, Kernighan and Pike talking about portability in The Practice of Programming.

Re:Results of the Debian systemd survey by bkor on Tuesday May 28, 2013 @04:03PM (#5782367)
BSD doesn't support a bunch of stuff. How would you deal with that concretely. How would you ensure that all those different code paths are tested?
Re:Results of the Debian systemd survey by npsimons on Tuesday May 28, 2013 @11:42PM (#5784461)
Code coverage tools are available. Porting software to other platforms is just one crude, but very effective way of testing different code paths, some you can't even see (unless you are in the habit of stopping at each compile stage and checking things such as the compiler's assembler output . . . ).
Re:Results of the Debian systemd survey by anonyfuss on Tuesday May 28, 2013 @04:23PM (#5782504)
> BSD doesn't support a bunch of stuff. How would you deal with that concretely. How would you ensure that all those different code paths are tested?

You could start by explaining "a bunch of stuff" -- and why it's necessary -- concretely.