In a company like Verilab, full of consultants smarter than a brain pie, it’s not often the CEO gets to teach anyone anything technical. So forgive me for taking advantage of a rare opportunity.
This morning (well, morning to me in the US, afternoon to him in one of our European offices) one of the team asked an emacs question on our lively, internal, intercontinental, questions-answered-almost-before-they-are-asked forum. Specifically, he wanted to know how to change this:
a0_af0_high = a0_af0_high.get_write_data();
a0_af0_low = a0_af0_low.get_write_data();
a1_af0_high = a1_af0_high.get_write_data();
a1_af0_low = a1_af0_low.get_write_data();
a0_af1_high = a0_af1_high.get_write_data();
a0_af1_low = a0_af1_low.get_write_data();
into this:
a0_af0_high = a0_af0_high.get_write_data();
a0_af0_low = a0_af0_low.get_write_data();
a1_af0_high = a1_af0_high.get_write_data();
a1_af0_low = a1_af0_low.get_write_data();
a0_af1_high = a0_af1_high.get_write_data();
a0_af1_low = a0_af1_low.get_write_data();
Such a simple problem, so many interesting comments and answers.
(more…)