Simple and Powerful Things That Work For Me – Jakub Nabrdalik

Learn simple yet powerful strategies for writing better code and avoiding common pitfalls, including unit testing, error handling, readable code, and more, in this interactive talk with Jakub Nabrdalik.

Key takeaways
  • Take small steps to implement a feature, like uploading an Excel file. This makes it easier to test and verify.
  • Don’t assume you’ll write the perfect code the first time. Assume the opposite and be ready to make changes.
  • Unit tests are important, but don’t just focus on coding and forget to test.
  • Payment error handling is crucial, but don’t automate everything. Manually verify and correct errors.
  • Don’t assume things will always work as expected. Analyze what can go wrong and be prepared.
  • Focus on writing readable code, not perfect code. Remove unnecessary complexity.
  • Don’t be afraid to delete parts of your code if they become outdated or wrong.
  • Take baby steps when implementing features and refine requirements with behavioral scenarios.
  • Use practices like threat modeling to anticipate and prevent potential issues.
  • Don’t assume customers will always use your system correctly. Plan for errors and edge cases.
  • Write tests as a way to communicate with the business and refine requirements.
  • Don’t automate everything. Focus on writing code that is maintainable and adaptable.
  • Live coding can be beneficial, but don’t feel pressured to do it perfectly.
  • Don’t be afraid to try different approaches and delete code that doesn’t work.
  • Good logs are important for debugging and understanding what went wrong.
  • Focus on writing code that is easy to understand, not just perfect code.

Note: Some points may be inferred from the provided transcript, as they may not be directly mentioned.