SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Refactoring: Improving the Design of Existing Code


Refactoring: Improving the Design of Existing Code

Author
Message
Brian Knight
Brian Knight
SSCrazy Eights
SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)SSCrazy Eights (8K reputation)

Group: Moderators
Points: 8015 Visits: 235
Comments posted to this topic are about the content posted at Improving the Design of Existing Code.

Brian Knight
Free SQL Server Training Webinars
Dave Poole
Dave Poole
One Orange Chip
One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)

Group: General Forum Members
Points: 26602 Visits: 3543
I haven't read this particular book, but my comment is that a book from a different discipline can provide a useful perspective that is applicable to the SQL discipline.
For example, I've been working through the Ivor Horton book "Beginning Visual C++4" off and on for the past 3 years (I'm not a slow reader I've got 3 kids).

From this I've picked up hints on "Hungarian notation", that is prefixing variables and objects with a type identifier which is directly related to recent articles on this site.

It has also made me a better programmer because I have a greater appreciation of objects and their life cycle.

Application development books (not the teach yourself in 'x' days/hours books) are good because they tend to slant towards what people actually want to use databases for and therefore they give hints on the areas that you should target your skills.

LinkedIn Profile
www.simple-talk.com
Jonr
Jonr
SSC Eights!
SSC Eights! (896 reputation)SSC Eights! (896 reputation)SSC Eights! (896 reputation)SSC Eights! (896 reputation)SSC Eights! (896 reputation)SSC Eights! (896 reputation)SSC Eights! (896 reputation)SSC Eights! (896 reputation)

Group: General Forum Members
Points: 896 Visits: 65
Good to see a book about this, a topic that's been around some time, but never formalised. Not aware of any formal methodology for safely changing code once it's in a working system, so this sounds like a welcome addition to any conciencious coder's library. Code Complete (MS Press, ISBN: 1556154844) by Steve McConnell is also an excellent work which would probably complement this one. Although it concentrates more on getting the code right in the first place, many of the same principles apply, though it does not present a method for safely re-writing code. Maybe one to send to your third party application provider when your new $100,000 app. starts performing like a dog Wink


Jon Reade


Jon
Andy Warren
Andy Warren
SSC-Forever
SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)

Group: Moderators
Points: 40404 Visits: 2770
Thanks for the comments so far, didnt know what reaction to expect! David one note, MS in its wisdom is moving away from Hungarian in .Net.

Andy
http://www.sqlservercentral.com/columnists/awarren/

Andy
SQLAndy - My Blog!
Connect with me on LinkedIn
Follow me on Twitter
Dave Poole
Dave Poole
One Orange Chip
One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)One Orange Chip (26K reputation)

Group: General Forum Members
Points: 26602 Visits: 3543
What are they using instead of Hungarian?

Considering the battle to get developers to adhere to standards I don't relish the idea of changing just because MS don't feel like it anymore!

I would like to here a convincing argument for changing it.

If it ain't broke.......

LinkedIn Profile
www.simple-talk.com
Andy Warren
Andy Warren
SSC-Forever
SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)SSC-Forever (40K reputation)

Group: Moderators
Points: 40404 Visits: 2770
Dont know if I can present one yet. I'll see if I can find something where they outline their reasons. I kinda use hungarian, mostly for controls on VB forms. Even pre-.Net they recommended not using hungarian for class names or public methods of classes. Dont know that there is a compelling reason to switch if you have a standard in place.

Andy
http://www.sqlservercentral.com/columnists/awarren/

Andy
SQLAndy - My Blog!
Connect with me on LinkedIn
Follow me on Twitter
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum







































































































































































SQLServerCentral


Search