Posty z #readableCode

#readableCode

Publiczne posty w X, które używają #readableCode.

Powiązane hashtagi

  1. 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
    Pobierz
    002132
  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
    Pobierz
    101510114K
  3. 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
    Pobierz
    002152
  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
    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
    Pobierz
    003366
  6. ionel Lupu@ionelLupu_
    The code is more readable: when it's less code. #readableCode Using Typescript will allow you to get rid of those if statements used to check parameter types:
    Pobierz
    027
  7. Ben@Discombenulated
    Also note the #MarsKata implementations. How many if statements in the final implementation? Zero. Lines of code per method? 2.125. It’s a lesson in #CleanCode and #ReadableCode and worth watching regardless of your familiarity with #python. Excellent series.
    123
  8. 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
    Pobierz
    23131.1K
  9. Pokaż więcej postów