Programming protip: We all make typos that causes our programs to fail, & which takes us forever to locate.
You doing it doesn't mean you're a bad programmer. It means you're just like the rest of us!
Programming protip: We all make typos that causes our programs to fail, & which takes us forever to locate.
You doing it doesn't mean you're a bad programmer. It means you're just like the rest of us!
@alcinnz I had this happen last night, with latex and a mysterious "b"
@teleclimber I use a variety of languages, though Haskell tends to be my preference.
But my point here: Yeah, sure. Use a compiler that points you directly to your mispelled variable names or missing semi-colons, that's useful! But what if, say, you get your logical conditions backwards & requires a "!" to be added or removed?
Single-character typos don't just yield syntax errors, they can yield logic errors!
@alcinnz what are you programming in? I find that with strong types and good practices (like using enums instead of string values) and of course an ide hooked up to a good language model it's actually hard to make a typo.
In fact it's hard to make a typo when you don't type! With auto complete based on symbols that fit the type, I rarely write more than the first few chars of a var or function name.
(In my case Go + vscode achieve the above)
GNU social JP is a social network, courtesy of GNU social JP管理人. It runs on GNU social, version 2.0.2-dev, available under the GNU Affero General Public License.
All GNU social JP content and data are available under the Creative Commons Attribution 3.0 license.