# I'm an idiot, or bugs you've created

**URL:** <https://boards.straightdope.com/t/im-an-idiot-or-bugs-youve-created/977995>\
**Category:** Miscellaneous and Personal Stuff I Must Share\
**Created:** [January 10, 2023, 9:44pm UTC](https://boards.straightdope.com/t/im-an-idiot-or-bugs-youve-created/977995 "2023-01-10T21:44:01Z")\
**Posts on this page:** 3\
**Page:** 2

<div class="post-metadata">

**Author:** ![Voyager](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/voyager/32/133_2.png) [@Voyager](https://boards.straightdope.com/u/Voyager)\
**Post date:** [January 13, 2023, 12:52am UTC](https://boards.straightdope.com/t/im-an-idiot-or-bugs-youve-created/977995/21 "2023-01-13T00:52:30Z")

</div>

> [@WildaBeast](#):
>
> Modern compilers will, I believe, at least give you a warning if you do something like that – “Did you mean ‘==’?” But the old crappy compiler in computer lab in college would just happily compile that code and give you no indication that something might be wrong.

I’ve written enough compilers to know that you are at the mercy of the language often. It is hard to anticipate all mistakes, but if you are doing a language in which practically every string is legal, but with odd results, there is not much you can do.  
I’ve made that mistake also, more than once. Experience means that you can scan for mistakes you tend to make and find them quickly.

---

<div class="post-metadata">

**Author:** ![Maserschmidt](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/maserschmidt/32/18829_2.png) [@Maserschmidt](https://boards.straightdope.com/u/Maserschmidt)\
**Post date:** [January 13, 2023, 1:14am UTC](https://boards.straightdope.com/t/im-an-idiot-or-bugs-youve-created/977995/22 "2023-01-13T01:14:25Z")

</div>

The number of times I’ve had to pause while typing an unfamiliar function to puzzle out == vs =…

---

<div class="post-metadata">

**Author:** ![naita](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/naita/32/5862_2.png) [@naita](https://boards.straightdope.com/u/naita)\
**Post date:** [January 13, 2023, 1:37pm UTC](https://boards.straightdope.com/t/im-an-idiot-or-bugs-youve-created/977995/23 "2023-01-13T13:37:29Z")

</div>

I good reason for me to keep adhering the the r paradigm of assignment being `<-`! The only time I get = vs == issues is inside function calls, and then it often helpfully says ‘_Can’t do X. Did you use = instead of ==?_’

[Previous page](https://boards.straightdope.com/t/im-an-idiot-or-bugs-youve-created/977995.md?page=1)
