3 ms·
I've had similar problems with spelling but have never been diagnosed with anything. Sometimes I've memorized a words spelling but when I write it down it looks
by xupybd 5y ago
I've had similar problems with spelling but have never been diagnosed with anything. Sometimes I've memorized a words spelling but when I write it down it looks wrong to me. So I look it up or use a spell checker.
The biggest problem for me has been noticing spelling mistakes in variable names. I can't find the bug yet it's just two letters swapped.
Oh and the frustration some people have when they spot an error.
- romwell 5y agoQuestion: would always sticking to verbose variable names address the first problem? As in, ditching names like loc/iloc and adopting getValueByKey/getValueByIndex (hello, Pandas API!). The bugs of that sort bite even the most experienced programmers. And by using verbose names, the typo would be much more likely caught by the compiler. (And you can wrap ungodly APIs with less typo-friendly names too). That's one of the reasons verbose names are a coding standard e.g. in Google. The people who get frustrated by either verbose names or small spelling errors are welcome to go and frustrate themselves, preferably in solitude and far from either of us. I'm sorry that you run into them.
- xupybd 5y agoOh yeah verbose names help heaps. But on legacy code bases or when using a library often you have to deal with someone else's naming. I was first introduced to verbose syntax when I first used objective c. I loved it.