On 6/21/13 2:50 PM, Adam D. Ruppe wrote:
On Friday, 21 June 2013 at 21:33:43 UTC, Andrei Alexandrescu wrote:brute-force strstr() is fair game and I think any engineer should be able to lift it off the ground quickly (to my dismay, only a fraction can).But, should the return value be const or not? :P I think I'd write in D just cuz of inout().
That would be a nice touch and bring bonus points, but in most of the cases I tell the candidate to gloss over that detail.
Andrei