R
Rick C
Guest
My projects typically are implemented in small devices and so are often space constrained. So I am in the habit of optimizing my code for implemented size. I've learned techniques that minimize size and tend to use them everywhere rather than the 20/80 rule of optimizing the 20% of the code where you get 80% of the benefit, or 10/90 or whatever your favorite numbers are.
I remember interviewing at a Japanese based company once where they worked differently. They were designing large projects and felt it was counter productive to worry with optimizations of any sort. They wanted fast turn around on their projects and so just paid more for larger and faster parts I suppose. In fact in the interview I was asked my opinion and gave it. A lead engineer responded with a mini-lecture about how that was not productive in their work. I responded with my take which was that once a few techniques were learned about optimal coding techniques it was not time consuming to make significant gains in logic size and that these same techniques provided a consistent coding style which allowed faster debug times. Turns out a reply was not expected and in fact, went against a cultural difference resulting in no offer from this company.
I'm wondering where others' opinions and practice fall in this area. I assume consistent coding practices are always encouraged. How often do these practices include techniques to minimize size or increase speed? What techniques are used to improve debugging?
--
Rick C.
- Get 1,000 miles of free Supercharging
- Tesla referral code - https://ts.la/richard11209
I remember interviewing at a Japanese based company once where they worked differently. They were designing large projects and felt it was counter productive to worry with optimizations of any sort. They wanted fast turn around on their projects and so just paid more for larger and faster parts I suppose. In fact in the interview I was asked my opinion and gave it. A lead engineer responded with a mini-lecture about how that was not productive in their work. I responded with my take which was that once a few techniques were learned about optimal coding techniques it was not time consuming to make significant gains in logic size and that these same techniques provided a consistent coding style which allowed faster debug times. Turns out a reply was not expected and in fact, went against a cultural difference resulting in no offer from this company.
I'm wondering where others' opinions and practice fall in this area. I assume consistent coding practices are always encouraged. How often do these practices include techniques to minimize size or increase speed? What techniques are used to improve debugging?
--
Rick C.
- Get 1,000 miles of free Supercharging
- Tesla referral code - https://ts.la/richard11209