Chapter 2Jaywalking
A Netscape engineer who shan’t be named once passed a pointer to JavaScript, stored it as a string, and later passed it back to C, killing 30.
You’re developing a feature in the bug-tracking application to designate a user as the primary contact for a product. Your original design allowed only one user to be the contact for each product. However, it was no surprise when you were requested to support assigning multiple users as contacts for a given product.
At the time, it seemed simple to change the database to store a list of user account identifiers separated by commas, instead of the single identifier it used before.
Soon your boss approaches you with a problem. “The engineering department has been adding ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access