Publicações com #readablecode

#readablecode

Publicações públicas do X que usam #readablecode.

Hashtags relacionados

  1. 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
    Baixar
    101510114K
  2. 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
    Baixar
    23131.1K
  3. 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
  4. 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
  5. 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
    Baixar
    202868
  6. Christopher Miller@ccmiller2018
    Decorator pattern adds responsibilities dynamically. Wrap objects with decorators to enhance behaviour without altering their structure. my example is of course based on coffee! would you expect anything less from me 🤷 #DesignPatterns #ReadableCode
    Baixar
    117367
  7. qualia@hnaik
    I found someone way more eloquent than me making a convincing argument about 80 columns in code Now I can finally stop imploring and rest! Clearly, I care about this stuff :-) #coding #80column #readablecode #programming
    013
  8. Christopher Miller@ccmiller2018
    Integrate singletons for better testability. If it's the same object every time you call it - mock the call if you need to in test - problem solved! Ok, maybe that's an over-simplification - but it's not far from the truth! it can make it easier! #ReadableCode #DesignPatterns
    Baixar
    003366
  9. Smart u. Monday@smartPyJ_
    Import module_name as 👌 Good practice, especially when the module name is very long (SentimentIntensityAnalyzer) and will be called several times in your code . 👉 import SentimentIntensityAnalyzer as smartpyj👈 #python #readablecode
    001
  10. Mostrar mais publicações