Posts with #ReadableCode

#ReadableCode

Public posts on X that use #ReadableCode.

Related hashtags

  1. Christopher Miller@ccmiller2018
    Use specific exception types. Create custom exception classes to convey meaningful error information and differentiate between different error scenarios. Remember you can stack your exception classes like in the code example: #ErrorHandling #ReadableCode
    Download
    23131.1K
  2. Christopher Miller@ccmiller2018
    The Singleton pattern ensures a single instance of a class. Use it to manage shared resources like database connections efficiently. Create a single object, then when you need it reuse it - bonus! memory optimization. #DesignPatterns #ReadableCode
    Download
    101510114K
  3. Hans Müller@h2muller
    Whoever invented the lambda function for Python did a disservice for the whole coding community, and whoever uses that function is just perpetuating the mistake. Don't perpetuate mistakes! #python #lambda #readablecode
    011
  4. Raghu Kishore Vempati✓@raghuvempati
    Design code like telling a captivating story! Make each line contribute to the plot, with clear characters (variables) and a well-orchestrated narrative (code flow). Engage your readers (developers) with elegance and readability! #CodeStorytelling #ReadableCode #SoftwareDesign
    107379
  5. Christopher Miller@ccmiller2018
    Decorators and core components share a common interface. This ensures interchangeable usage and consistent behaviour. Makes it easy to keep building with decorators. let's take an abstract example #ReadableCode #DesignPatterns
    Download
    014332
  6. Christopher Miller@ccmiller2018
    Log error details. Logging error messages along with context information aids debugging and provides insights into application issues. The example is over-simplified - but remember your logs should actually help you to find the problem. #Logging #ErrorHandling #ReadableCode
    Download
    002152
  7. Christopher Miller@ccmiller2018
    Choose decorators wisely to maintain clarity. Don't make everything a decorator - think about your use case for everything you write. There's always choices! I'm pretty sure we can represent a drink choice without 9 decorators! #DesignTips #DesignPatterns #ReadableCode
    Download
    002166
  8. Christopher Miller@ccmiller2018
    This week, a series of tweets looking at refactoring some bad code, step by step, into some more readable code. We're going to start with a particularly bad setup, and step by step make it more readable and optimised. let's start with the attached code #ReadableCode
    Download
    202868
  9. busayo✓@AmoweO
    Remember that code that's easy to understand is more valuable than code that's clever. 🤔💻 #ReadableCode"
    Theo - t3.gg @theo
    Quote tweet this with something you wish more people knew about coding
    02121K
  10. Theo - t3.gg✓@theo
    Quote tweet this with something you wish more people knew about coding
    288103403K
  11. Christopher Miller@ccmiller2018
    Refactoring 1: Simple Layout Changes We're going to start simply by putting in some whitespace to separate things up a bit - a wall of text is super-hard to read, so getting some spacing in there immediately helps us to understand what's happening a bit more. #ReadableCode
    Download
    002186
  12. Christopher Miller@ccmiller2018
    Provide constructive feedback when you're asked to review code. Focus on improving code quality and suggest alternative approaches while maintaining a positive tone. There's two ways of saying the same thing - choose the nice one. #Feedback #CodeReview #ReadableCode
    Download
    103149
  13. Show more posts