How a Programmer with broken English types code
-
GuyThiebaut wrote:
...mike is always a jerk based on the code above.
Still better than
mike = Karen;
:rolleyes: (No offense meant to those Karen's who haven't appeared on the numerous YouTube vids now prelevant.)I am so tempted to make a comment on that, but given the current climate, anything I said would get me into trouble...
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
-
Um. I don't really get your point. Yes, that's rubbish code. No, it won't compile in any sensible language. Even English. But quite why you posted it here I have no idea.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
OriginalGriff wrote:
. I don't really get your point.
Don't you speak in your mind when writing code? If this happens then do this, but you type out c#. If your English was not very good, you're c# would also not compile.
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.
-
Here is what s programmer who often speaks bad or broken English would type when programming. The code he would add is something like:
var mike
If (mike =jerk) Than
mike=0
end
var less_then
if (joe = less_then ) than
joe=100
end
joe.status = definatelyThen the log reads:
Compiler error: Unknown keyword "Than"
Compiler error: Illegal variable name "less_then"
Compiler error: Illegal grammar "definately" -
Um. I don't really get your point. Yes, that's rubbish code. No, it won't compile in any sensible language. Even English. But quite why you posted it here I have no idea.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
I think the whole point was to get to the (highlighted) punch line: Compiler error: Unknown keyword "Than" Compiler error: Illegal variable name "less_then" Compiler error: Illegal grammar "definately" To give whomever it is a break, I'd say it must have seemed funnier when he/she thought of it when it actually turned out.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
-
I think the whole point was to get to the (highlighted) punch line: Compiler error: Unknown keyword "Than" Compiler error: Illegal variable name "less_then" Compiler error: Illegal grammar "definately" To give whomever it is a break, I'd say it must have seemed funnier when he/she thought of it when it actually turned out.
"The difference between genius and stupidity is that genius has its limits." - Albert Einstein
"If you are searching for perfection in others, then you seek disappointment. If you seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010
"If you have to explain a joke, it isn't funny". :-D
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
Maybe take it to "Weird and Wonderful" ? It does point out why computer languages should not be based on natural language.
Better yet... Start a "Weird and Not So Wonderful"
Remember, no matter where you go... there you are.
-
I am so tempted to make a comment on that, but given the current climate, anything I said would get me into trouble...
“That which can be asserted without evidence, can be dismissed without evidence.”
― Christopher Hitchens
"There be sharks in them waters!" :laugh:
-
Um. I don't really get your point. Yes, that's rubbish code. No, it won't compile in any sensible language. Even English. But quite why you posted it here I have no idea.
"I have no idea what I did, but I'm taking full credit for it." - ThisOldTony "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt AntiTwitter: @DalekDave is now a follower!
-
OriginalGriff wrote:
. I don't really get your point.
Don't you speak in your mind when writing code? If this happens then do this, but you type out c#. If your English was not very good, you're c# would also not compile.
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:
you're c#
Compiler error. Illegal grammar: you're :cool:
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)
-
ZurdoDev wrote:
you're c#
Compiler error. Illegal grammar: you're :cool:
GOTOs are a bit like wire coat hangers: they tend to breed in the darkness, such that where there once were few, eventually there are many, and the program's architecture collapses beneath them. (Fran Poretto)