Subj : Re: Eclipse (was Re: Visu To : Khelair From : Mercyful Fate Date : Sat May 09 2015 03:24:00 Re: Re: Eclipse (was Re: Visual Studio 2013 settings regarding indentation By: Khelair to Mercyful Fate on Fri May 08 2015 14:57:35 > Hrm I'd not even thought about checking for anything online. I've forgott > evidently, that now is the day and age of web apps. I'll have to check that > out and see if I can't turn up something that'll help me parse the JS OO. Cool, if you find something worth wide, post it about here and we'll check it out :) > MF> some time: Testing and Refactoring Legacy Code > MF> https://www.youtube.com/watch?v=_NnElPO5BU0 > Awesome. Thank you for the reference, I'll check it out as soon as my lit > one goes to bed tonight. :) Hope you like it, i learned alot from it with initial testing and good ways to go about writting tests. I started using some of the pratices on my new code, and it helps to break to down and test every scenario that you throw at it, then you know it's solid, and if you have to change something lateron on, you just run the test and make sure you didn't break anything. The only down side is writting tests can be slower in the begining, but it saves alot of time lateron when you trying to hunt bugs down and it also documents hows each class is suppose to function. So walking away you can come back and easy see, of year this method only handles parameters or ranges in this way. Then you can either extend it if needed or write something new. > Some of it isn't such a bad thing. Like I mentioned (somewhere, maybe her > I get into a groove where I'm coding quick and I can remember a lot of the > functionality of the code that I've written, but then I find that I'm skimmi > it, instead of looking for what it's actually DOING. I miss a lot of small > bugs that way. Actually, after taking a week off from development on my she > I just realized that I've been doing that and, as a result, chopped through > some bugs that've been bugging me for months. Nice to be able to come back > with a fresh mind, sometimes. Regardless, it's a better working mess now. : > Then again, I also see examples of the people you were talking about earli > where they can fly in and out of different chunks of code that they haven't > touched for months and remember everything. Something to aspire to, I guess > *grin* I look back and i see some really bug functions with lots of case statements and loops and i'm like shit i really need to break this down becasue when something isn't working, tracing through a big mess like that just isn't going to work. Then when it comes to trying to rewrite it. i just makes my head hurt.. haha --- þ Synchronet þ Digital Distortion: digitaldistortionbbs.com .