Session

Eradicating Boilerplate: Five Non-Conventional Techniques for Clean and Maintainable Code

Ever felt the tedium of writing the same code over and over in C#? This often stems from the absence of a 'pattern' keyword in C#, compelling developers to code at a lower level of abstraction than ideal, leading to unnecessary repetition and boredom. However, there's a solution to bridge this abstraction gap: the use of aspects. Aspects have been invented to encapsulate concerns that traditional object-oriented programming doesn't efficiently address, thus significantly reducing boilerplate code. In this session, we will delve into five aspect-oriented techniques, complete with practical examples: ASP.NET middleware, DI-based and IL-based AOP frameworks, source generators, and Roslyn-based AOP frameworks. Attendees will not only gain practical insights into crafting cleaner, more efficient code but also learn strategies that enhance long-term project sustainability and boost developer productivity. Join us to add a new dimension to your conceptual toolkit.

Gael Fraiteur

Founder and President at PostSharp Technologies

Prague, Czechia

Actions

Please note that Sessionize is not responsible for the accuracy or validity of the data provided by speakers. If you suspect this profile to be fake or spam, please let us know.

Jump to top