Wow, I learned this bug during a job interview I had this week. I’m not much of a Python guy, but I was givin a Python coding challenge and I tried default initializing a parameter to an empty list.
The guy interviewing me looked horrified and explained the problem and sent me an article about it to read later. It’s a odd coincidence coming across it twice in one week.
Wow, I learned this bug during a job interview I had this week. I’m not much of a Python guy, but I was givin a Python coding challenge and I tried default initializing a parameter to an empty list. The guy interviewing me looked horrified and explained the problem and sent me an article about it to read later. It’s a odd coincidence coming across it twice in one week.