Code
BCTAGL005
Duration
1 day
Tags
Online Offline

DescriptionWhat we offer

This workshop will help you to apply methods in clean code from practical experience of the trainer in different languages and sizes.

ObjectivesWhat you learn

  • Write code that is easy to read, understand and change
  • Incrementally clean existing code using the boy scout rule
  • Start using naming principles so you can communicate with your development team trough code
  • Learn how to structure methods in classes

TopicsThe best for you

  • The reasons and benefits for use the clean code principles
  • Naming Principles; The continuum of names
  • Methods Principles: small, low indentation, single responsibility, short list of arguments, no side effects, error handling is one thing
  • Comments vs. self-explaining code
  • Structuring objects and data
  • Structuring classes: Small, single responsibility, easy to change
  • The boy scout rule: try and leave the code a little better than you found it

PrerequisitesWhat should you know

  • Participants must be proficient in at least one programming language
  • Basic knowledge of design patterns and SOLID principles is useful for understanding some of the concepts, but not required

AudienceWho should attend

  • Mid-level and senior programmers
  • Technical leads looking for improved coding guidelines or improved ways to structure code
  • CTOs who want to reduce cost of change for their applications