Quantcast
Channel: Agile at Work » Refactoring
Browsing all 4 articles
Browse latest View live

Martinizing is Not Refactoring

A friend of mine, Keith, used the term martinizing (as in Uncle Bob) for the process of cleaning code. The term has taken on a very specific meaning and it’s worth a few words. Martinizing is similar...

View Article



Image may be NSFW.
Clik here to view.

Domain Driven Design in the Small

A few months ago we built a Magento extension to send orders to a product supplier via soap for payment and fulfillment along with affiliate tracking. As part of the process, a contact record was...

View Article

Rafactoring: Introduce Parameter Object

Take a look at this function: public UserIndexViewModel GetIndexViewModel(int pageSize, int pageNumber) { var model = new UserIndexViewModel(); var allUsers = Session.CreateCriteria<User>();...

View Article

Refactoring C# Style

Take a look a this function. [UnitOfWork] public virtual void Upload(DocumentDto dto) {     var entity = new Document().Merge(dto);       using (var stream = new MemoryStream(dto.Data))     {...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images