Publicações com #readableCode

#readableCode

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

Hashtags relacionados

  1. 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
    Baixar
    002152
  2. 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
  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. Christopher Miller@ccmiller2018
    Singletons may lead to tight coupling. Evaluate if they're truly necessary for the intended use case, or whether there's a more appropriate option. you might want to consider a factory instead! which would you choose? 1 or 2? #ReadableCode #DesignPattern
    Baixar
    106710
  5. Christopher Miller@ccmiller2018
    Refactoring: Well there we have it, a whistlestop tour of refactoring unreadable code into more readable code. Does that mean this is now perfect? no not at all - but we've got a lot better than we did. It's now a lot more readable. #ReadableCode
    Baixar
    002132
  6. 竹雄@takeo1116
    プログラミングをしていて”dataの複数形”を使いたくなることが年に365回くらいあるんですけどどうするのが正解なんですか?
    343741.2K
  7. かえで@topyhc
    @takeo1116
    @takeo1116 そもそも変数名などdataという名前を付けることを考え直すのもいいかも。 メモリ上はすべてのものはデータなので。 #変数名 #readablecode
    002
  8. 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
    Baixar
    002166
  9. 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
  10. 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
  11. Christopher Miller@ccmiller2018
    Refactor for readability. As code evolves, refactor it to align with best practices, simplify logic, and improve its overall structure. And don't be afraid of colleagues suggesting a refactor in code review! everyone is working together. #Refactoring #ReadableCode
    Baixar
    114298
  12. 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
    Baixar
    014332
  13. 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
  14. 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
  15. Mostrar mais publicações