Comments by "MrAbrazildo" (@MrAbrazildo) on "A Real World Example of BDD" video.
-
8:17, once I had a serious 8-days-to-catch bug (more than 1 day for me is rare), the longest in my life, as long as I remember, due to using explicit number instead of a word representing it.
10:50, from a technical point-of-view, macros could reduce this code nicely. And I would not switch a String, I would use numbers instead (global named constants), which are way faster and safer, if you consider case-sensitive and other tricky strings pitfalls. And I would not 'throw' anything, which is slow and gives nothing in trade.
2