Brilliant - no wonder Google is ahead of the rest out there with guys like Rusty around
@BangsarRia4 ай бұрын
Recently, in a large Java codebase that had no automated tests of any kind, I found API methods that were not called from anywhere in the Git repos and the terminology in the methods did not match. I did not want to waste substantial time writing tests and refactoring this code if it wasn't used. I asked a dev team in another country and fortunately they knew that their code called these methods by composing JSon strings from DB tables into scripts that were interpreted by the MVEL interpreter and then invoked by it. So, as ERH predicts in the video, I found substantial snippets of dead code to remove, but the seemingly dead API methods were actually relied upon by an application in another country that used the framework and added extensive subclasses for local logic.
@InvitusCode4 жыл бұрын
I hope this Video will help me... At this moment, I am working on the nightmare legacy code project (12 years development, no documentation, no testing, few comments in code) ... This is so frustrating. Before this fucked up task, i really liked my job :( Have a good day, greetings from software hell!
@nathantorquato97773 жыл бұрын
so.. did it help you?
@SylvainBrunerie3 жыл бұрын
I feel you, I’ve been in the same situation for a few years… I’m just starting to realize refactoring legacy code is a whole different skill as writing new code, and videos like this one really helped. Just today I managed to get myself out of despair working on a specific function, methodically refactoring it step by step until I felt comfortable changing its behaviour. It can actually be a great feeling! I still have a lot to learn, but I think one of the keys is to stop banging your head against the walls and slowly, methodically, bring the function to a manageable state before trying to add a feature/change behaviour.
@roosterslab6783 жыл бұрын
I can hear and understand him at 2x also ...clear voice 👌
@TheodoreRavindranath2 жыл бұрын
Seems the video title is wrong... should be "Testing Legacy Code" by Elliotte Rusty Harold
@pablohernandez43052 жыл бұрын
Thanks for this great video.
@SylvainBrunerie4 жыл бұрын
What is this browser that doesn’t remember zoom level in between pages?… Weird
@Nemethszyszy2 жыл бұрын
Haha, exactly. I was also wondering what's this. At the same time I liked the simplicity of the slides and zooming all the time just made me realize that more.
@BaronVonTacocat6 жыл бұрын
@48:13 I came here because I was reading that book! LOLZ