|
it was you, didn't knew
|
|
|
|
|
Ehsan Sajjad wrote: The code is written by very senior developer on my team with huge years of experience in c# There's the problem right there -- they're not used to thinking of base, simple types as classes. Ask them what they think an int? is, and they'll probably tell you it's a pointer to an int. Pointers aren't classes that can have functions.
Took me a while to get used to the concept too.
|
|
|
|
|
you are probably right, once i was having code review meeting with that dev and i was asked to replace var keyword with that particular type name, as according to him, it will degrade performance, i then corrected him and gave reference to a post which explained it is just implicit variable that infers the type and nothing else.
|
|
|
|
|
My issue is with "IsHas".
I use "is" or "has", not both.
"(I) am amazed to see myself here rather than there ... now rather than then".
― Blaise Pascal
|
|
|
|
|
He hasn't written enough code for the week.
|
|
|
|
|
My all-time favourite was from a mid-level programmer of ours who wanted to pass a form field value from one web page to the next: something he did all the time... except that in this instance, for some inexplicable reason, he created a table in the database, used Ajax to write the value to it and retrieve a record ID; he then put the record ID into a hidden field on the page, submitted the form, and then, in the next page, used the record ID to retrieve the value from the database and delete the record. Unfortunately, his English wasn't that great... so in response to the question, "What the hell is this supposed to be?" he said, "That mean I do my way. F*** you, Dan!"
|
|
|
|
|
I also had a mid level developer colleague who had set the bool flag to false by default and then the next statement was checking if it's true
|
|
|
|
|
Excellent. The same one mentioned above wrote in ASP (Classic): "if cstr(ucase(x))=cstr(ucase("CA")) then ..."
there was also some code about cint("1") somewhere...
|
|
|
|
|
Is a broadcast an all-female play?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
As opposed to fishing for a good time at a bar?
Latest Article - Code Review - What You Can Learn From a Single Line of Code
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
|
|
|
|
|
The best chance to score at a bar is to cut out a stray. What I mean by that is, single woman rarely come into a bar alone, usually in a herd so to have a chance with one you have to get her away from her friends.
Don't let your mind wander too far.
It's too small to be let out alone.
|
|
|
|
|
the Amazons are a broadcaste.
Signature ready for installation. Please Reboot now.
|
|
|
|
|
Tough question. You have cast me into a brood.
... such stuff as dreams are made on
|
|
|
|
|
Wouldn't such a play be miscast?
If you have an important point to make, don't try to be subtle or clever. Use a pile driver. Hit the point once. Then come back and hit it again. Then hit it a third time - a tremendous whack.
--Winston Churchill
|
|
|
|
|
That would be a play by Overeaters Anonymous; you aren't allowed to know who played what part.
|
|
|
|
|
Don't go to one seeking clever dialog. It's all just one monolog after another.
|
|
|
|
|
I am sure you'll keep us abreast of the situation and not skirt any of the important points.
Ravings en masse^ |
---|
"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 are seek perfection in yourself, then you will find failure." - Balboos HaGadol Mar 2010 |
|
|
|
|
|
|
... I fear the website will not have much of a future, just look how easy it is to bag a kangaroo[^].
I have lived with several Zen masters - all of them were cats.
|
|
|
|
|
Well yes ... but you don't want an ugly one, do you?
Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...
AntiTwitter: @DalekDave is now a follower!
|
|
|
|
|
Nor do I want a fat one[^].
I have lived with several Zen masters - all of them were cats.
|
|
|
|
|
Chris needs to update his profile pic...
|
|
|
|
|
They rely on tail recursion too much, but I like the way they implemented jump lists.
|
|
|
|
|
Every ███████ time I try to go to a blog on Blogspot.com, I get redirected to the Blogspot.de site.
My network blocks "foreign" websites.
And Blogspot isn't the only site that does this nonsense. It happens with Corel and Amazon and Expedia, too. (But at least Amazon and Expedia let me "continue to the US site, instead")
If I type in .com, I expect to go to the .com website, you morons.
|
|
|
|
|
I think there is (was?) an option somewhere to avoid "guess target looking at my position / language of windows"
To be honest... don't know if or where.
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|