I dont feel like going back to work...
-
as my 'team leader' does not why the following wrong:
a.SomeProp = a.SomeProp; // no funny side-effects, plain old property
And then he asked me not to criticize him... :wtf:
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))Early in my career, I once made a mistake of commenting a line of code, that broke the whole application. Here is how it looked like:-
void BalanceInvoice(int x, int y , int z)
{
MyInvoiceObject* p = new MyInvoiceObject(x, y, z);
delete p;... Do other stuff that ran 200 lines ...
}I commented the first line thinking it was useless. Turns out that the constructor and only the constructor did the main work. I hope your team leader does not write like that.
public object SomeProp
{
get
{
return 0;
}
set
{
... Connect to database ...
... Call a web service ...
... Do all the other important stuff required in the application ...
}
} -
What I don't get is, given your technical excellence and all that jazz, why you aren't the team leader? Mumbler? Strange body odour? Shy? Unwilling/unable to shout at management types and make demands?
print "http://www.codeproject.com".toURL().text Ain't that Groovy?
martin_hughes wrote:
why you aren't the team leader
Probably because of his technical excellence.
"...great scott!" Dilbert: Aren't all meetings like this... Richard Dawkins: "What if you're wrong?"
-
What I don't get is, given your technical excellence and all that jazz, why you aren't the team leader? Mumbler? Strange body odour? Shy? Unwilling/unable to shout at management types and make demands?
print "http://www.codeproject.com".toURL().text Ain't that Groovy?
Because he was the clown that wrote up a quarter-assed client functional requirement spec. It lacks about 70% of the requirements. And somewhere inside his skull that info still lives (or rots). Please note, this 'client spec' is the only thing our team has to go on, and consistently the client complains about missing functionality. Professionally, I have been trying to avoid taking responsibility for someone else's fuckups, but it seems there is no other way now. Bottom line is, I dont wanna do anything, while he has write-access to the code. he has been spending the last 6 weeks working on something that should have taken 3 days max, given most of the code was copied from somewhere else on the internet (like pretty much all of his code, copies of other people's code, and mine...).
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) -
Early in my career, I once made a mistake of commenting a line of code, that broke the whole application. Here is how it looked like:-
void BalanceInvoice(int x, int y , int z)
{
MyInvoiceObject* p = new MyInvoiceObject(x, y, z);
delete p;... Do other stuff that ran 200 lines ...
}I commented the first line thinking it was useless. Turns out that the constructor and only the constructor did the main work. I hope your team leader does not write like that.
public object SomeProp
{
get
{
return 0;
}
set
{
... Connect to database ...
... Call a web service ...
... Do all the other important stuff required in the application ...
}
}Side-effects are evil. Learn to appreciate that, and code becomes dead simple. I can code fresh code faster than trying to understand what his code is attempting to do.
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) -
Side-effects are evil. Learn to appreciate that, and code becomes dead simple. I can code fresh code faster than trying to understand what his code is attempting to do.
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))leppie wrote:
Side-effects are evil.
Yes as I said I broke the main logic an entire application commenting out what I thought was useless.
-
Side-effects are evil. Learn to appreciate that, and code becomes dead simple. I can code fresh code faster than trying to understand what his code is attempting to do.
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))leppie wrote:
Side-effects are evil. Learn to appreciate that, and code becomes dead simple.
But isn't that the worst thing about AOP, that you don't know what side effects might be introduced? Marc
I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner
-
leppie wrote:
Side-effects are evil.
Yes as I said I broke the main logic an entire application commenting out what I thought was useless.
But do not worry, there are cases when it is legitimate to comment out some unused/unnecessary code. But what your post shows, the worst the code is, the harder to choose what to comment out.
You can't turn lead into gold, unless you've built yourself a nuclear plant.
-
leppie wrote:
Side-effects are evil. Learn to appreciate that, and code becomes dead simple.
But isn't that the worst thing about AOP, that you don't know what side effects might be introduced? Marc
I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner
I always wonder why clean functional programming is not more common?
You can't turn lead into gold, unless you've built yourself a nuclear plant.
-
Because he was the clown that wrote up a quarter-assed client functional requirement spec. It lacks about 70% of the requirements. And somewhere inside his skull that info still lives (or rots). Please note, this 'client spec' is the only thing our team has to go on, and consistently the client complains about missing functionality. Professionally, I have been trying to avoid taking responsibility for someone else's fuckups, but it seems there is no other way now. Bottom line is, I dont wanna do anything, while he has write-access to the code. he has been spending the last 6 weeks working on something that should have taken 3 days max, given most of the code was copied from somewhere else on the internet (like pretty much all of his code, copies of other people's code, and mine...).
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))I wondered were my boss had got to! But as am in a kind mood, you can keep him. ;)
Panic, Chaos, Destruction. My work here is done.
-
leppie wrote:
Side-effects are evil. Learn to appreciate that, and code becomes dead simple.
But isn't that the worst thing about AOP, that you don't know what side effects might be introduced? Marc
I'm not overthinking the problem, I just felt like I needed a small, unimportant, uninteresting rant! - Martin Hart Turner
Marc Clifton wrote:
But isn't that the worst thing about AOP, that you don't know what side effects might be introduced?
That's the problem with age old pensioners, very unpredictable :) (sorry, im trying to cheer myself up)
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))modified on Tuesday, July 28, 2009 11:02 AM
-
Because he was the clown that wrote up a quarter-assed client functional requirement spec. It lacks about 70% of the requirements. And somewhere inside his skull that info still lives (or rots). Please note, this 'client spec' is the only thing our team has to go on, and consistently the client complains about missing functionality. Professionally, I have been trying to avoid taking responsibility for someone else's fuckups, but it seems there is no other way now. Bottom line is, I dont wanna do anything, while he has write-access to the code. he has been spending the last 6 weeks working on something that should have taken 3 days max, given most of the code was copied from somewhere else on the internet (like pretty much all of his code, copies of other people's code, and mine...).
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))leppie wrote:
he has been spending the last 6 weeks working on something that should have taken 3 days max
Holy Zucchini! I'd have certainly rocked the boat...
If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?
-
I always wonder why clean functional programming is not more common?
You can't turn lead into gold, unless you've built yourself a nuclear plant.
Pierre Leclercq wrote:
I always wonder why clean functional programming is not more common?
I write 90% of my C# without side effects (excluding generated-code of course, that doesn't count). There is no reason why someone cannot do the same.
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) -
What I don't get is, given your technical excellence and all that jazz, why you aren't the team leader? Mumbler? Strange body odour? Shy? Unwilling/unable to shout at management types and make demands?
print "http://www.codeproject.com".toURL().text Ain't that Groovy?
martin_hughes wrote:
technical excellence and all that jazz
by the bucket full
martin_hughes wrote:
Mumbler?
no
martin_hughes wrote:
Strange body odour?
no
martin_hughes wrote:
Shy?
no
martin_hughes wrote:
Unwilling/unable to shout at management types and make demands?
no
martin_hughes wrote:
team leader
apparently not. I'm a 'technical lead' which means my TL is half my age with 1/4 my knowledge and and 1/8 my experience. But I'm not bitter :mad:
Panic, Chaos, Destruction. My work here is done.
-
leppie wrote:
he has been spending the last 6 weeks working on something that should have taken 3 days max
Holy Zucchini! I'd have certainly rocked the boat...
If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?
His average estimate takes 8 times longer to complete than what he promises the manager/client and that is if it ever gets completed and not taken over by someone else.
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) -
as my 'team leader' does not why the following wrong:
a.SomeProp = a.SomeProp; // no funny side-effects, plain old property
And then he asked me not to criticize him... :wtf:
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))This seems perfectly reasonable to me. Put in a load of code like this, then seem like a god when you dramatically increase the performance of your application by removing these useless no-ops.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
-
martin_hughes wrote:
technical excellence and all that jazz
by the bucket full
martin_hughes wrote:
Mumbler?
no
martin_hughes wrote:
Strange body odour?
no
martin_hughes wrote:
Shy?
no
martin_hughes wrote:
Unwilling/unable to shout at management types and make demands?
no
martin_hughes wrote:
team leader
apparently not. I'm a 'technical lead' which means my TL is half my age with 1/4 my knowledge and and 1/8 my experience. But I'm not bitter :mad:
Panic, Chaos, Destruction. My work here is done.
Nagy Vilmos wrote:
apparently not. I'm a 'technical lead' which means my TL is half my age with 1/4 my knowledge and and 1/8 my experience. But I'm not bitter Mad
:laugh::laugh: Sorry! That was just insanely funny! I know how you feel, I was like that 1.5 years ago and then I left becoming independent.
If the post was helpful, please vote, eh! Current activities: Book: Devils by Fyodor Dostoyevsky Project: Hospital Automation, final stage Learning: Image analysis, LINQ Now and forever, defiant to the end. What is Multiple Sclerosis[^]?
-
Marc Clifton wrote:
But isn't that the worst thing about AOP, that you don't know what side effects might be introduced?
That's the problem with age old pensioners, very unpredictable :) (sorry, im trying to cheer myself up)
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))modified on Tuesday, July 28, 2009 11:02 AM
0. Complain that you have headache. 1. Tell rfwstl that you're going to get some fresh air. 2. Mix the fresh air with a large GnT. 3. Rinse, dry, repeat.
Panic, Chaos, Destruction. My work here is done.
-
This seems perfectly reasonable to me. Put in a load of code like this, then seem like a god when you dramatically increase the performance of your application by removing these useless no-ops.
"WPF has many lovers. It's a veritable porn star!" - Josh Smith
As Braveheart once said, "You can take our freedom but you'll never take our Hobnobs!" - Martin Hughes.
Pete O'Hanlon wrote:
This seems perfectly reasonable to me. Put in a load of code like this, then seem like a god when you dramatically increase the performance of your application by removing these useless no-ops.
What do you think I do when reviewing his code? :)
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x))) -
Marc Clifton wrote:
But isn't that the worst thing about AOP, that you don't know what side effects might be introduced?
That's the problem with age old pensioners, very unpredictable :) (sorry, im trying to cheer myself up)
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))modified on Tuesday, July 28, 2009 11:02 AM
Hmmm... What is the point of your post? Do you mean Marc is a pensioner? How does that relate to AOP or side-effects?
You can't turn lead into gold, unless you've built yourself a nuclear plant.
-
Pierre Leclercq wrote:
I always wonder why clean functional programming is not more common?
I write 90% of my C# without side effects (excluding generated-code of course, that doesn't count). There is no reason why someone cannot do the same.
xacc.ide
IronScheme - 1.0 beta 4 - out now!
((λ (x) `(,x ',x)) '(λ (x) `(,x ',x)))leppie wrote:
is no reason why someone cannot do the same.
There is a good reason. HINT: CAT scan
Panic, Chaos, Destruction. My work here is done.