Posty z #ReadableCode

#ReadableCode

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

Powiązane hashtagi

  1. 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
  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. 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. 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
  5. Theo - t3.gg✓@theo
    Quote tweet this with something you wish more people knew about coding
    288103403K
  6. 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
  7. 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
    Pobierz
    117367
  8. 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
  9. 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
  10. 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
    Pobierz
    106710
  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
    Pobierz
    114298
  12. 竹雄@takeo1116
    プログラミングをしていて”dataの複数形”を使いたくなることが年に365回くらいあるんですけどどうするのが正解なんですか?
    343741.2K
  13. かえで@topyhc
    @takeo1116
    @takeo1116 そもそも変数名などdataという名前を付けることを考え直すのもいいかも。 メモリ上はすべてのものはデータなので。 #変数名 #readablecode
    002
  14. Pokaż więcej postów