|
|
That is true! Just sold ours...
|
|
|
|
|
|
not just the bank balance, the other one also.
I'd rather be phishing!
|
|
|
|
|
Well I got paid 2 days ago... so I just stare at my bank account for a few minutes until I remember why I need to work to earn money.
After that I am fully motivated and get straight on with... reading posts on here
|
|
|
|
|
musefan wrote: reading posts on here
And consuming those valuable bits over Youtube.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
|
Focus on the moments when the kids drove me crazy...
"The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012
|
|
|
|
|
Getting back to work IS vacation.
|
|
|
|
|
|
It is often a tough choice between kids and co-workers.
"It is easy to decipher extraterrestrial signals after deciphering Javascript and VB6 themselves.", ISanti[ ^]
|
|
|
|
|
Easy. I just open the lid of my laptop, which is always in front of me.
I wanna be a eunuchs developer! Pass me a bread knife!
|
|
|
|
|
I owe, I owe, so off to work I go
If you can keep your head while those about you are losing theirs, perhaps you don't understand the situation.
|
|
|
|
|
That code won't refactor itself.
|
|
|
|
|
Finally ... continuing all the challenging (and terribly relevant) stuff that was suddenly abandoned a few days ago , and, I admit, being rewarded for the efforts ...
|
|
|
|
|
Just forget about it and do what I have to do.
One step at a time. Like the alorithm they will someday replace you with.
|
|
|
|
|
Just forget about it and do what I have to do.
One step at a time. Like the algorithm they will someday replace you with.
|
|
|
|
|
I spend 2 hours cleaning my inbox. After that everything else is good!
|
|
|
|
|
There's always some crisis or another around here that needs tending to.
|
|
|
|
|
Not at all. I'm hanging out in discussion forums.
|
|
|
|
|
i have this one piece of code, and it is Bad Code(TM)
it certainly would not survive code review.
It deals with over a half dozen corner cases for disambiguating a parse of a field vs a type reference in C#
it keeps failing and I keep going back and adding another corner case.
such an anti-pattern
my hand rolled parser didn't try to handle this at all. it didn't like open typerefs with generic or array params so like
Console.WriteLine(int.Maxvalue);
Console.WriteLine(System.Int32.MaxValue);
Console.WriteLine(MyGenericType<int>.MaxValue);
This parser is supposed to handle it but it's causing it to fail on field references. sometimes.
fml
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
modified 1-Jan-20 17:52pm.
|
|
|
|
|
No wonder the parser can't disambiguate it. They look the same. I can't see how to do it without first resolving names. Within C#, it looks like a type attribute (Maxvalue) masquerades as a field. So for C#, you could probably just treat it that way and get on with life. But if you want to generate the equivalent code in another language, I can see how it would be a PITA.
|
|
|
|
|
Basically I treat them as fields until I can't, such that a type has generic arguments or something which precludes it from parsing as a field reference.
Later on i resolve it, and yes it's a pain.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|
|
I don't know how far afield you're going with your project, but the prospect of converting C#
System.Int32.MaxValue to C++
INT32_MAX does not fill me with delight. Not in the least.
|
|
|
|
|
Luckily I'm only targeting other .NET languages so the basic libraries are all the same.
When I was growin' up, I was the smartest kid I knew. Maybe that was just because I didn't know that many kids. All I know is now I feel the opposite.
|
|
|
|