Reply to post: Bad coding practices

'Pork Explosion' flaw splatters Foxconn's Android phones

Crazy Operations Guy

Bad coding practices

If they aren't able to reliably remove debugging, how abysmal is the rest of the code?

Every proper bit of source code I've seen has all the debugging functions in an #ifdef block right at the top that contains all debug definitions. The Linux Kernel does it, MySQL does it, KDE does it, even Windows does it, so if software of that scale can do it, why the hell isn't FoxConn doing it?

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon