When developer give up on naming things...
-
I just discovered this SQL Server STUFF() Function[^] Bad day at work ?
Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.
I have a
RemoveExtraNonsense()
method in some code I wrote, and I haveGetSolutionStuff()
in another project I wrote. *hides*Real programmers use butterflies
-
I just discovered this SQL Server STUFF() Function[^] Bad day at work ?
Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.
Great find! :)
A new .NET Serializer All in one Menu-Ribbon Bar Taking over the world since 1371!
-
I just discovered this SQL Server STUFF() Function[^] Bad day at work ?
Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.
Isn't this intended for the Verb meaning of Stuff, as in verb - fill (a receptacle or space) tightly with something. "an old teapot stuffed full of cash" Indeed, this function is filling tightly the old characters with the new ones. Or, am i missing something?
-
Isn't this intended for the Verb meaning of Stuff, as in verb - fill (a receptacle or space) tightly with something. "an old teapot stuffed full of cash" Indeed, this function is filling tightly the old characters with the new ones. Or, am i missing something?
It's more of a "replace" than a stuff. Patent / trademark trolls would have a field day.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food
-
I just discovered this SQL Server STUFF() Function[^] Bad day at work ?
Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.
Me: "What do you do at work?" Cushion maker: "Stuff." Me: "Alright then, keep your secrets."
Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
-
Me: "What do you do at work?" Cushion maker: "Stuff." Me: "Alright then, keep your secrets."
Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
-
It's more of a "replace" than a stuff. Patent / trademark trolls would have a field day.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food
Not really, replace needs target text to be replaced, this function does it on character index.
-
I just discovered this SQL Server STUFF() Function[^] Bad day at work ?
Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.
I can actually forgive that. This was just for demonstration's sake and does not really do anything else. Why make up fancy names that distract from what you are trying to demonstrate? I never got this obscession with code styles and conventions. We're writing code, not poetry. I'm used to writing machine code on a RISC processor. It does not get any more abstract than that, but by going down to the lowest level you really can see how little information you need when reading someone else's code. That's mostly about what resources are going to be used, what is being accomplished with them and possibly to point out critical or unusual code and the logic behind it. There actually is no need to make an art out of it.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
Isn't this intended for the Verb meaning of Stuff, as in verb - fill (a receptacle or space) tightly with something. "an old teapot stuffed full of cash" Indeed, this function is filling tightly the old characters with the new ones. Or, am i missing something?
Stop paying attention to what you read - it will only confuse the rest of us.
"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 can actually forgive that. This was just for demonstration's sake and does not really do anything else. Why make up fancy names that distract from what you are trying to demonstrate? I never got this obscession with code styles and conventions. We're writing code, not poetry. I'm used to writing machine code on a RISC processor. It does not get any more abstract than that, but by going down to the lowest level you really can see how little information you need when reading someone else's code. That's mostly about what resources are going to be used, what is being accomplished with them and possibly to point out critical or unusual code and the logic behind it. There actually is no need to make an art out of it.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
CodeWraith wrote:
We're I am writing code, not poetry
FIFY
"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
-
CodeWraith wrote:
We're I am writing code, not poetry
FIFY
"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
Do you recite your poetry before an audience? When will you publish your next book and where must I go to hear you read from it? :-) for (X = 0, y = 42; x < math.Pi && y > 0x1A; x++, y--) { } I just can't wait...
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
Me: "What do you do at work?" Cushion maker: "Stuff." Me: "Alright then, keep your secrets."
Best, Sander sanderrossel.com Migrating Applications to the Cloud with Azure arrgh.js - Bringing LINQ to JavaScript Object-Oriented Programming in C# Succinctly
Those cushion makers have too much fun; they're always in stitches.
-
Do you recite your poetry before an audience? When will you publish your next book and where must I go to hear you read from it? :-) for (X = 0, y = 42; x < math.Pi && y > 0x1A; x++, y--) { } I just can't wait...
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
It is recited on hundred of desktop - every day - all day. The audience appreciation is the comfort with which they use it and the other artist who can create, because of it's natural beauty, interfaces and outputs with ease. The applause - in a special way - include the silence resulting from everything working as expected. And the audience appreciation probably extends to the bi-weekly paying customer. The site is, for now, internal, only - so you'd need to work here. Surely, by now, you've seen shit masquerading as software. They have some here, too, built by their contractors. My target is a comfortable flowing experience for the developer through users - and also keeping it eye-friendly as most of them stare at it all day.
"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 just discovered this SQL Server STUFF() Function[^] Bad day at work ?
Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.
-
Not really, replace needs target text to be replaced, this function does it on character index.
Not really, you can have an offset and a length. There is no "find" implied in replace. It was about "word play", not implementations.
It was only in wine that he laid down no limit for himself, but he did not allow himself to be confused by it. ― Confucian Analects: Rules of Confucius about his food
-
I just discovered this SQL Server STUFF() Function[^] Bad day at work ?
Zen and the art of software maintenance : rm -rf * Maths is like love : a simple idea but it can get complicated.
-
Do you recite your poetry before an audience? When will you publish your next book and where must I go to hear you read from it? :-) for (X = 0, y = 42; x < math.Pi && y > 0x1A; x++, y--) { } I just can't wait...
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
rose = Red;
violet = Blue;
CodeWraithsUseOfDescriptiveAndPoeticNames = 0; -
rose = Red;
violet = Blue;
CodeWraithsUseOfDescriptiveAndPoeticNames = 0;F8 00 BD BE AC AD AE AF
F8 FF BC BF 7AThere you go. RGBA in two register pairs and the rest in a the microcontrollerish I/O flag Q. Big deal. :-)
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.
-
It is recited on hundred of desktop - every day - all day. The audience appreciation is the comfort with which they use it and the other artist who can create, because of it's natural beauty, interfaces and outputs with ease. The applause - in a special way - include the silence resulting from everything working as expected. And the audience appreciation probably extends to the bi-weekly paying customer. The site is, for now, internal, only - so you'd need to work here. Surely, by now, you've seen shit masquerading as software. They have some here, too, built by their contractors. My target is a comfortable flowing experience for the developer through users - and also keeping it eye-friendly as most of them stare at it all day.
"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
How romantic. :-) The truth is that your audience gets my totally unromantic binaries and your poetry may or may not survive as debug information.
I have lived with several Zen masters - all of them were cats. His last invention was an evil Lasagna. It didn't kill anyone, and it actually tasted pretty good.