Hacker News new | past | comments | ask | show | jobs | submit login

// comments and mid-function variables are C99 standard. The platforms that don't support them are probably not worth supporting yourself, and are not likely to be seen running varnish. This is the same mindset that held mozilla back for ages and ages because the hpux compiler from 1987 didn't support some c++ feature, so therefore nobody was allowed to use it even in 1997.



True, but not using // comments and mid-function variables is not quite the same thing as not using a whole feature.

I just know how much work there is to do, at short notice, when a customer comes along offering $$$ for a version of your product on an architecture that you hadn't originally considered. It was definitely worth the hassle of porting and cleaning up to code to provide them with it, but it would have been so much easier if we'd kept it clean from the start.




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

Search: