Postări cu #ReadableCode

#ReadableCode

Postări publice de pe X care folosesc #ReadableCode.

Hashtaguri înrudite

  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
    Descarcă
    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
    Descarcă
    101510114K
  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
    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
    Descarcă
    002152
  5. 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
    Descarcă
    002186
  6. 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
  7. 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:
    Descarcă
    027
  8. 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
    Descarcă
    014332
  9. JayTakahashi | @42tokyo@Jay_42Tokyo
    📘 技術書紹介:『リーダブルコード』 定番だけど、今読んでも気づきがある。 「美しいコードは、他人の時間を尊重する」 チーム開発を学ぶ人ほど、読む価値あり。 #ReadableCode #CodingBestPractices #DevLife
    007466
  10. 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
    Descarcă
    103149
  11. 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
    Descarcă
    106710
  12. Arată mai multe postări