Skip to content

Al Wrote It, You Clean It: A Code Duplication Workshop

Photo of Sukhman Singh
Hosted By
Sukhman S. and 2 others
Al Wrote It, You Clean It: A Code Duplication Workshop

Details

Abstract:
When working with AI or LLMs that generate code for us, we often need to review the code and understand what's happening. Sometimes the code becomes hard to read due to large amounts of duplication. Knowing how to recognize opportunities to quickly and safely remove duplication is a useful skill when you're trying to understand what's going on.

In this workshop, held in collaboration with Calgary Software Crafters, we will pair up to work on small practice exercises that help us see duplication in code. Then, we'll quickly and easily refactor to remove it and allow the hidden architecture inherent in the code to emerge.
We will look at exercises in one of five languages (Python, C#, C++, JavaScript, or Java), so bring a laptop with an IDE and get ready to code!

Suggested IDEs: PyCharm, CLion, Visual Studio with ReSharper, WebStorm, IntelliJ, Eclipse, VS Code.

Learning Outcomes:

  • Seeing duplication
  • Extracting duplication
  • Refactoring to create extractable duplication
Photo of Tech Connect Alberta group
Tech Connect Alberta
See more events
East Annex, Platform Calgary
407 9 Ave SE, Calgary, AB T2G 2K7 · Calgary, AB
Google map of the user's next upcoming event's location
FREE