Thu, Feb 10, 2022

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. 



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.

Related Articles

Sat, Jan 01, 2022

Developer Jokes/Memes

SQL Server Trace
Tue, Jan 01, 2019

SQL Server Trace