Skip to main content Skip to footer

You can lead a horse to water...

C# is an amazing language, a recent twitter poll picked out many of my favourites. Including LINQ which is a query languge that developers can use to filter, sort, transform data which lets face it is a huge portion of what we do on a daily basis. 

 

campaignsByPricePlanRepository.UserAllowedCampaigns(premiseID).Where(CampaignAffectsTheEntireBasket).ToList();

Just because you can give developers wonderful syntax to produce highly readable code doesn't mean they have to use it though. If it did we wouldn't need things like Pull Requests to ensure code quality.

When I saw this image posted on twitter it highlights all the developer sins.

Duplicated code, poor use of ternary operators, magic strings, magic numbers and so on. I just thought it stood out as a great lesson that in development you can lead a developer to top quality code but unsurprisingly it doesn't mean they have to drink it.

About the author

Richard Brisley

I'm a multi-award winning Sitecore developer. Currently working for Sagittarius Marketing as a solutions architect to understand customer needs and produce multi-national high-performance websites.

About Me

As a Tech Lead for Sagittarius marketing who I have been with for the last twelve years. I oversee a team of seven working pods, including numerous developers and contractors in multiple global locations. This involves supporting the developers with coding issues, meetings and phone calls with their clients and going out of pitches with potential new clients.

I have extensive experience building and supporting Sitecore websites from Sitecore 6+ including Helix pattern, I scored 100% in the Sitecore 7 certification exam. Experience managing and maintaining SQL Server, integration with numerous third parties such as Salesforce, AppDynamics, New Relic, Dynamics CRM and many payment gateways.

The first Sitecore website I developed was Skiweekends which was architected and developed by me. It won the Sitecore Experience Award the main award during the Sitecore Experience awards ceremony and the Sitecore Best Travel & Tourism award. I also was lucky enough to perform the first Sitecore 8 upgrade within the United Kingdom for Liberon.

Personally I have had the honour of being recognised in several award ceremonies. Including the BIMA 100 awards in 2019 in the Tech Trailblazers category and previously in the Dev's and Makers category. I’ve been highly commended twice in the Wirehive 100 Techie of the Year awards. Due to my involvement in many aspects of Sagittarius work, many of the awards for their clients I've also been involved in.