1w6 uRPG 1w6 uRPG
  • Anmelden
  • Öffentlich

    • Öffentlich
    • Gruppen
    • Beliebt
    • Verzeichnis

https://sn.1w6.org/file/clacke-20180302T075307-gcpxh6b.html

https://sn.1w6.org/file/clacke-20180302T075307-gcpxh6b.html
#Python 3.7 will give you one less reason to denormalize your code, among other things.

> This change should encourage you in class-design to follow the DRY (don’t repeat yourself) principle and add private methods that reduce duplication of logic across multiple public methods. Prior to 3.7, the performance hit would have been a strong consideration and copying+pasting code was an accepted practice where speed was required.

https://hackernoon.com/5-speed-improvements-in-python-3-7-1b39d1581d86

3.7 is planned for June 2018: https://www.python.org/dev/peps/pep-0537/

Nachrichten, in denen dieser Anhang erscheint

  1. clacke clacke

    #Python 3.7 will give you one less reason to denormalize your code, among other things. > This change should encourage you in class-design to follow the DRY (don’t repeat yourself) principle and add private methods that reduce duplic…

    Friday, 02-Mar-18 07:52:45 UTC
  • Hilfe
  • Über
  • FAQ
  • AGB
  • Privatsphäre
  • Quellcode
  • Version
  • Kontakt

1w6 uRPG ist ein Mikrobloggingdienst von Arne (Drak) Babenhauserheide. Es wird mit der Mikrobloggingsoftware StatusNet (Version 1.1.1-release) betrieben, die unter der GNU Affero General Public License erhältlich ist. The running version includes the patches from draketo.de/proj/statusnet-patches.

Creative Commons Attribution 3.0 Alle Inhalte und Daten von 1w6 uRPG sind unter der Creative Commons Attribution 3.0 Lizenz verfügbar.