Google RLint: Reformatting R Code to Follow the Google St Bedienungsanleitung Seite 15

  • Herunterladen
  • Zu meinen Handbüchern hinzufügen
  • Drucken
  • Seite
    / 19
  • Inhaltsverzeichnis
  • LESEZEICHEN
  • Bewertet. / 5. Basierend auf Kundenbewertungen
Seitenansicht 14
Google Confidential and Proprietary
RLint implementation uses Python
Use Python string functions and regular expressions.
Algorithm:
Stub out comments, strings, user-defined operators.
Ex: Comment may contain code!
Ex: Multi-line string
Check spacing.
Align & indent lines within {}, () and [].
Align lines by opening bracket.
Align lines by ‘=’ if they are in the same bracket.
Align if/while/for (...) not followed by {}.
Unstub comments, strings, user-defined operators.
Seitenansicht 14
1 2 ... 10 11 12 13 14 15 16 17 18 19

Kommentare zu diesen Handbüchern

Keine Kommentare