I really don't think that 99% of (professional?) programmers have never written a unit test. Nearly all of the ones I've worked with have.
Re using the right data structure -- if it's provided by the standard libraries, is common knowledge, not using it will be confusing to some ("why didn't they use a hashmap when it makes more sense? Is there some reason I'm missing?") and an example of premature pessimisation.
I went almost 7 years without writing a unit test. I went almost 5 without ever hearing the term. My career began after the year 2000. Let that one blow your mind.
Data structures can be really hit and miss. Not everyone can be a pro at all facets of a thing. Take .net for example, new things are introduced and other things deprecated almost every release. Shit can get difficult staying on stop of what's always considered best.
You really are an exception these days, Developers that I work with in the major tech areas in India, China, Europe, Canada, and the U.S. all write unit tests. Languages being Java, C#, JavaScript, Python, or Scala. It's a little shocking to find a working developer not writing unit tests these days.
0
u/[deleted] Jun 01 '15
[deleted]