Talk in English - UK at Symfony Live London
View Slides: http://verraes.net/2013/09/extract-till-you-drop/
Short URL: https://joind.in/talk/e2a95
(QR-Code (opens in new window))
Extract till you drop
Comments are closed.
Not so much new things for me, anyway everything was good explained. Really a practical talk
Explained code really well and didn't make any mistakes!
Great talk and amazingly well chosen example. Nobody was been able to argue that you need to refactor at the end :)
I felt a little like my day at work is being shown on the screen. I wish I'd seen this earlier. Very well done.
P.S. I still haven't seen the 'throw new PupilAlreadyInGroupException' to get moved inside foreach/if and remove all those booleans around ;)
There is indeed plenty of room for improvement. And some of the code is truely ugly. The point is that everything is cleanly separated and tested. I would in fact recommend to leave it be -- unless there is a real, demonstrable reason to change the isolated methods. For example, a bug, change request, security concern, or performance issue. Developers often over-focus on performance. In this case, perhaps we can learn from the domain expert, that pupils are only enlisted in groups once at the beginning of the year. If it's a little slow, that's ok, it's not going to affect day to day business.
Was great to get some validation that my own process was similar to the refactoring exercise done here. The live coding was done expertly. Very clear, well explained and easy to follow.
Good talk with live refactoring! I struggled to follow some of it, since am new to Symfony, but the concepts and ideas were clear enough and most of it was well explained. A nice format.