Typos in product code
-
Looks like it's time to add some tech debt to the backlog. I just hope it isn't customer facing. :( /ravi
My new year resolution: 2048 x 1536 Home | Articles | My .NET bits | Freeware ravib(at)ravib(dot)com
Ravi Bhavnani wrote:
I just hope it isn't customer facing.
No, but when I serialize the enum value to a string (I don't trust this company to not change the ordinal values), I don't want the client-side Javascript to continue this atrocity, so it looks like I'll have either a special handler case or map the enum with the typo to my own enum and deal with ordinal value changes if they happen. Or some other half-assed solution.
Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
-
I recently made a typo in my code, quite consistently too. A coworker pointed it out, we had a laugh about it, and I spent about ten minutes renaming all the properties and variables where the word was used :) Another coworker once put the Dutch equivalent of "Are you sute?" (instead of "sure") in a WinForms app. We fixed it on our own, but no doubt the customer had already seen it :-o I once found a typo on the pre-printed invoice paper of our customers (it was in the tiny letters). And an aunt who makes her own soap had a typo on her packaging, which she found after she had quite a few pressed. A typo could happen to anyone really.
Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
Sander Rossel wrote:
A typo could happen to anyone really.
Of course. But the damn thing should be fixed. Like you did. Good for you! Sadly, because this is third party software, I can't fix it. I can only "convert" it:
var myEnum = (ProperlySpelledEnum)yourF*ckedUpEnumValue;
Or is it "Spelt", because that's what the Brits and other more civilized people would probably use. :sigh:Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
-
Did you mean "Coddling guideline"?! ;P
A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!
Super Lloyd wrote:
Did you mean "Coddling guideline"
Just what I was thinking!
Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
-
We have the word Cancel and its past tense in our domain. 11 years ago the standard (in US) was to spell the past tense as Canceled. Now, you'll find people and software spelling it as, Cancelled. We even have discussions with younger devs saying that it is mis-spelled in the older versions. Oy! It's like the Master Grammarian-Spellers gave in to the oft mis-spelled version and said, "Screw it, you can speel it either way." This must be how irregardless came to have the same meaning as regardless.
"Cancelled" is, and always has been, the correct spelling. The Americans use the discount version of English with several letters missing from words, such as what should be a double "L" is replaced by a single, and the worst offence replacing "ou" with "o", for example "color" instead of the correct "colour" leading to the correct statement, "There is no honour or valour in America". ;P
- I would love to change the world, but they won’t give me the source code.
-
"Cancelled" is, and always has been, the correct spelling. The Americans use the discount version of English with several letters missing from words, such as what should be a double "L" is replaced by a single, and the worst offence replacing "ou" with "o", for example "color" instead of the correct "colour" leading to the correct statement, "There is no honour or valour in America". ;P
- I would love to change the world, but they won’t give me the source code.
-
"Cancelled" is, and always has been, the correct spelling. The Americans use the discount version of English with several letters missing from words, such as what should be a double "L" is replaced by a single, and the worst offence replacing "ou" with "o", for example "color" instead of the correct "colour" leading to the correct statement, "There is no honour or valour in America". ;P
- I would love to change the world, but they won’t give me the source code.
Do y'all pronounce the words kul-owr or kul-er, on-owr or on-er, val-owr or val-er? No ow, no need for that 'u' in the word. Granted, as a Southerner we do pronounce some words, um, differently, than you would expect. There is a town in Northwest Georgia whose name is spelled Armuchee. Correctly pronounced, meaning the way the locals pronounce their town name, it is are-mer-chee. They add an extra R in the word. Atlanta news stations hate when it gets in the news because they always mispronounce it. I don't press a button, I mash it.
-
This is from an enumeration:
Completeed = 2,
I could understandCompleeted
, but this just leaves me teed. Now I'll have this shyte in my code. :mad: :sigh:Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
-
Do y'all pronounce the words kul-owr or kul-er, on-owr or on-er, val-owr or val-er? No ow, no need for that 'u' in the word. Granted, as a Southerner we do pronounce some words, um, differently, than you would expect. There is a town in Northwest Georgia whose name is spelled Armuchee. Correctly pronounced, meaning the way the locals pronounce their town name, it is are-mer-chee. They add an extra R in the word. Atlanta news stations hate when it gets in the news because they always mispronounce it. I don't press a button, I mash it.
"Colour" is pronounced "Kuller". Whenever I see "Color" I always think "Co-law" - that's why you need the "u". Being married to a woman from Oklahoma I am used to the weird pronunciations. Apparently Jaguar cars are made by a company called "Jag-wor" and atomic power stations are "nu-klar"!
- I would love to change the world, but they won’t give me the source code.
-
Sander Rossel wrote:
A typo could happen to anyone really.
Of course. But the damn thing should be fixed. Like you did. Good for you! Sadly, because this is third party software, I can't fix it. I can only "convert" it:
var myEnum = (ProperlySpelledEnum)yourF*ckedUpEnumValue;
Or is it "Spelt", because that's what the Brits and other more civilized people would probably use. :sigh:Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
Marc Clifton wrote:
But the damn thing should be fixed
True, especially when it's "third party" (they should fix it)!
Marc Clifton wrote:
Or is it "Spelt"
Spelled, unless you're into wheat[^] ;)
Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
-
This is from an enumeration:
Completeed = 2,
I could understandCompleeted
, but this just leaves me teed. Now I'll have this shyte in my code. :mad: :sigh:Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
As a Brit I have to put up with Color, Initalized etc. All of which are obviously incorrectly spelt. :laugh: :laugh:
-
This is from an enumeration:
Completeed = 2,
I could understandCompleeted
, but this just leaves me teed. Now I'll have this shyte in my code. :mad: :sigh:Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
-
As a Brit I have to put up with Color, Initalized etc. All of which are obviously incorrectly spelt. :laugh: :laugh:
American's have improved the English language. For example, we added the words "vacation" and "yard" to distinguish between a holiday and a vacation and between a garden and a yard. Just two of the many improvements we have made. :-D
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
-
American's have improved the English language. For example, we added the words "vacation" and "yard" to distinguish between a holiday and a vacation and between a garden and a yard. Just two of the many improvements we have made. :-D
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
ZurdoDev wrote:
we added the words "vacation"
Just a shame you get so little time to appreciate that word. ;P List of minimum annual leave by country - Wikipedia[^]: USA: 77% of private employers offer paid vacation to their employees. 77% of private employers give their employees paid time off during public holidays. The average number of paid vacation days offered by private employers is 10 days after 1 year of service, 14 days after 5 years, 17 days after 10 years, and 20 days after 20 years. UK: Employees are entitled to 28 total working days of annual leave. These often include the 8 public/bank holidays which otherwise would be unpaid. Many employers will offer 25 days of paid annual leave in addition to the 8 recognised bank holidays.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
-
ZurdoDev wrote:
we added the words "vacation"
Just a shame you get so little time to appreciate that word. ;P List of minimum annual leave by country - Wikipedia[^]: USA: 77% of private employers offer paid vacation to their employees. 77% of private employers give their employees paid time off during public holidays. The average number of paid vacation days offered by private employers is 10 days after 1 year of service, 14 days after 5 years, 17 days after 10 years, and 20 days after 20 years. UK: Employees are entitled to 28 total working days of annual leave. These often include the 8 public/bank holidays which otherwise would be unpaid. Many employers will offer 25 days of paid annual leave in addition to the 8 recognised bank holidays.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer
Richard Deeming wrote:
Just a shame you get so little time to appreciate that word.
Indeed.
Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.
-
This is from an enumeration:
Completeed = 2,
I could understandCompleeted
, but this just leaves me teed. Now I'll have this shyte in my code. :mad: :sigh:Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
A long time ago, in a company(*) far, far, away... I once spent three days changing the product line name from "VersaMark" to "Versamark" in... everything: UI text, application folder and file names, registry keys, source file names, comments, and so on. For a long time our installer scripts included code to rename things. This was after I had spent weeks haranguing the Marketing yabbos to decide which version it was. In a meeting they finally settled on "VersaMark". Three months later they took the product to a show and got their underwear severely twisted because all of their paraphernalia said "Versamark". (*) actually, it's still right here, just been bought and sold a couple times
Software Zen:
delete this;
-
This is from an enumeration:
Completeed = 2,
I could understandCompleeted
, but this just leaves me teed. Now I'll have this shyte in my code. :mad: :sigh:Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
Marc does have a dilemma, he needs to future proof in case they do correct the typo later! We have a good one. unigue for unique. We never changed it, intent is clear and testing is already completed. I blame it on the font designers as it was a person who is very fluent in English, but English was their second language. Probably only ever "read" the word unique in text with a font like this that shows little q without the right facing tail. qgqg
qgqg
-
I have to put up with a production code path containing "Intergrated" instead of "Integrated". :mad: It's been there for years so no-one wants to touch it! :doh:
- I would love to change the world, but they won’t give me the source code.
Wow, to not fix that is AMAZING... What thought process causes this? Is it risk aversion? Test Aversion? It would be fixed by the next build if I worked there. Especially if this affected the client (which makes the company look stupid if the client notices)... Curious... What is it that causes it not to be addressed/fixed?
-
Do y'all pronounce the words kul-owr or kul-er, on-owr or on-er, val-owr or val-er? No ow, no need for that 'u' in the word. Granted, as a Southerner we do pronounce some words, um, differently, than you would expect. There is a town in Northwest Georgia whose name is spelled Armuchee. Correctly pronounced, meaning the way the locals pronounce their town name, it is are-mer-chee. They add an extra R in the word. Atlanta news stations hate when it gets in the news because they always mispronounce it. I don't press a button, I mash it.
MarkTJohnson wrote:
There is a town in Northwest Georgia whose name is spelled Armuchee. Correctly pronounced, meaning the way the locals pronounce their town name, it is are-mer-chee. They add an extra R in the word. Atlanta news stations hate when it gets in the news because they always mispronounce it.
So know I know where all those missing "r"s in Boston went. :java:
-
This is from an enumeration:
Completeed = 2,
I could understandCompleeted
, but this just leaves me teed. Now I'll have this shyte in my code. :mad: :sigh:Latest Article - A 4-Stack rPI Cluster with WiFi-Ethernet Bridging Learning to code with python is like learning to swim with those little arm floaties. It gives you undeserved confidence and will eventually drown you. - DangerBunny Artificial intelligence is the only remedy for natural stupidity. - CDP1802
In case you can't sleep, this is legal:
public enum MangledEnglish {
Completeed = 2,
Completed = 2
// etc.
}The Master said, 'Am I indeed possessed of knowledge? I am not knowing. But if a mean person, who appears quite empty-like, ask anything of me, I set it forth from one end to the other, and exhaust it.' ― Confucian Analects
-
Marc Clifton wrote:
But the damn thing should be fixed
True, especially when it's "third party" (they should fix it)!
Marc Clifton wrote:
Or is it "Spelt"
Spelled, unless you're into wheat[^] ;)
Best, Sander sanderrossel.com Continuous Integration, Delivery, and Deployment arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly