• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Devaka Cooray
  • Tim Cooke
Sheriffs:
  • Rob Spoor
  • Liutauras Vilda
  • paul wheaton
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
  • Piet Souris
Bartenders:
  • Stephan van Hulst

couple of questions about refactoring

 
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
1) On J2EE level, how effective is refactoring from a system perspective.

2) Is refactoring applycable only to teams consisting of reasonably smart programmers( since those are the one's who always thrive for better code and implement right corrections)
 
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Kishore Dandu:
1) On J2EE level, how effective is refactoring from a system perspective.

What do you mean by "on J2EE level" and "from a system perspective"?

Originally posted by Kishore Dandu:
2) Is refactoring applycable only to teams consisting of reasonably smart programmers( since those are the one's who always thrive for better code and implement right corrections)

I wouldn't say so. Everyone can participate in refactoring if it becomes a team decision to do so -- the difference then lies in how well an individual developer recognizes code smells and how committed she is to his work. If you've got someone on the team who's not committed enough to refactor along the way, maybe you should simply get rid of her. In any case, things can only get better if she does at least a little refactoring every now and then (assuming his net productivity is positive, of course ).
 
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"how committed she is to his work"

Now, that is a good compromise for maintaining political correctness.
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Lasse Koskela:
I wouldn't say so. Everyone can participate in refactoring if it becomes a team decision to do so -- the difference then lies in how well an individual developer recognizes code smells and how committed she is to his work. If you've got someone on the team who's not committed enough to refactor along the way, maybe you should simply get rid of her. In any case, things can only get better if she does at least a little refactoring every now and then (assuming his net productivity is positive, of course ).



That's a good reply.

what i mean by system perspective is how about refactoring 'System design decisions'; I mean about some stuff like hibernate ans Spring in place of EJB(thanks to Rod Johnson's preachings from his new book) etc. Does refactoring address system level decisions.
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Kishore Dandu:
what i mean by system perspective is how about refactoring 'System design decisions'; I mean about some stuff like hibernate ans Spring in place of EJB(thanks to Rod Johnson's preachings from his new book) etc. Does refactoring address system level decisions.

Yes, I would consider such "high-level design changes" as a type of refactoring given that the architectural change does not involve changes in the current feature set.
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sonny Gill:
"how committed she is to his work"

Now, that is a good compromise for maintaining political correctness.

It wasn't being "PC". I believe it's a custom of the English language to use "she" when referring to "someone in general". I might be wrong, of course, since I'm not a native English-speaker...
 
Kishore Dandu
Ranch Hand
Posts: 1934
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Lasse Koskela:
It wasn't being "PC". I believe it's a custom of the English language to use "she" when referring to "someone in general". I might be wrong, of course, since I'm not a native English-speaker...



In US, we refer he/she to be politically correct. We don't refer at all if this goes into a official document(to be not forced into some silly litigation).

FYI I heard about 70% of lawsuits in the world take place in US. I am not surprised about that because the number of lawyers is also very high.
 
Sonny Gill
Ranch Hand
Posts: 1211
Mac IntelliJ IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Lasse Koskela:
It wasn't being "PC". I believe it's a custom of the English language to use "she" when referring to "someone in general". I might be wrong, of course, since I'm not a native English-speaker...



No offence was meant Lasse. I was just nitpicking 'cause I had nothing better to do.
and what I meant was that by using
"how committed she is to his work"
instead of
"how committed she is to her work"

You are making both groups happy
[ September 10, 2004: Message edited by: Sonny Gill ]
 
Lasse Koskela
author
Posts: 11962
5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Sonny Gill:
No offence was meant Lasse.


And none taken.

Originally posted by Sonny Gill:
and what I meant was that by using
"how committed she is to his work"
instead of
"how committed she is to her work"


LOL! I hadn't noticed that
 
I'm gonna teach you a lesson! Start by looking at this tiny ad:
Gift giving made easy with the permaculture playing cards
https://coderanch.com/t/777758/Gift-giving-easy-permaculture-playing
reply
    Bookmark Topic Watch Topic
  • New Topic