I just cost the company I work for tens of thousands of dollars and ruined the relationship between them and a giant partner because I mistyped a variable name by one letter. It somehow slipped through the tests. I personally blame Python for not being a statically typed language (type hints are a placebo), in any language this would have been caught immediately.
Thalidomide Vintage Ad Shirt $22.14 |
UFOs Are A Psyop Shirt $21.68 |
Thalidomide Vintage Ad Shirt $22.14 |
try avoiding naming variables 'nagger' in the future
>It somehow slipped through the tests.
You have shit tests. And even with no tests at all, a fricking linter would've been able to catch that.
>I personally blame Python for not being a statically typed language
I blame you for being moronic (you are a frogshitter, do not try to dispute this accusation) and you should be fired effective immediately.
>in any language this would have been caught immediately
Not in javascript either. 🙁
What was the variable name?
is_bigger
it had two L's is all I can say, lowercase
Niller?
is_like
Sounds like you should use a serif font
I use Iosevka, I think it's pretty readable, apparently not readable enough
frick them
what kind of software
I'm not gonna say any specifics but the losses came from month and months of incorrect data being stored on processed which then was used by them and us to make certain decisions
Ah, some insider trading software
that is clearly not what I said and no where does it even imply that or anything even tangential to that
if insider_source.contains(stock.id):
stock.bulish=True
Based frick shareholders. There's nothing worth trying for.
huh i just reviewed a PR where he had misspelled a variable by 1 character
>billing vs biling
it was instance vs instace
So it doesn't do any kind of internal error handling? Tell us more about the toothpick and bubblegum structures that were keeping you employed.
what a naive take, you really think that if you produce high quality and maintainable code that you have more of an upper hand on someone who doesn't at being employed? lod'd, lmao'd even
>you really think that if you produce high quality and maintainable code that you have more of an upper hand on someone who doesn't at being employed?
Depends on the employer and the project. I'll have a number five combo meal, upgraded to a large drink and ranch for my dipping sauce. Hurry up, wagie.
sorry to hear you have to use python. python is moronic, i only use it to leetcode. static analysis is important. once i used typescript, i never went back. dont even understand how people find it confusing and still opt to use js, when you can just set tsconfig settings to very lax, since all js is valid ts anyway.
this didnt happen
>stage 1, denial
>no code review
company's fault
>wrote something important in Python
company's fault