devel-codetags.rst
author Oleksandr Gavenko <gavenkoa@gmail.com>
Wed, 05 Aug 2015 23:55:34 +0300
changeset 1729 22ffd80639c0
parent 1334 9bf0d5a1f0cf
child 1905 fba288d59662
permissions -rw-r--r--
Make centered content design with adoption for mobile devices. Highlight TOC.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
1334
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 920
diff changeset
     1
.. -*- coding: utf-8; -*-
9bf0d5a1f0cf Include common header with quick links.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 920
diff changeset
     2
.. include:: HEADER.rst
918
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     3
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     4
====================
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     5
 TODO like keywords
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     6
====================
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     7
.. contents::
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     8
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
     9
Existing resources.
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    10
===================
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    11
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    12
  http://www.python.org/dev/peps/pep-0350/
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    13
                Codetags
920
05c1d6ef107b http://tracos.org/codetag/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 919
diff changeset
    14
  http://tracos.org/codetag/
05c1d6ef107b http://tracos.org/codetag/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 919
diff changeset
    15
                This project aims to provide a Toolset and RFC-style Pep usage
05c1d6ef107b http://tracos.org/codetag/
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 919
diff changeset
    16
                convention for Codetags.
919
7270274e29a3 Add tips from Code Conventions for the Java TM Programming Language.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 918
diff changeset
    17
  http://java.sun.com/docs/codeconv/html/CodeConventions.doc9.html#395
7270274e29a3 Add tips from Code Conventions for the Java TM Programming Language.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 918
diff changeset
    18
                Code Conventions for the Java TM Programming Language.
7270274e29a3 Add tips from Code Conventions for the Java TM Programming Language.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 918
diff changeset
    19
                Programming Practices
918
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    20
  http://c2.com/cgi/wiki?FixmeComment
919
7270274e29a3 Add tips from Code Conventions for the Java TM Programming Language.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 918
diff changeset
    21
                Fixme Comment
918
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    22
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    23
FIXME
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    24
=====
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    25
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    26
For things which are definitely broken, but where you want to not worry about
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    27
it for the moment.
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    28
919
7270274e29a3 Add tips from Code Conventions for the Java TM Programming Language.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 918
diff changeset
    29
Use FIXME to flag something that is bogus and broken.
7270274e29a3 Add tips from Code Conventions for the Java TM Programming Language.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 918
diff changeset
    30
918
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    31
TODO
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    32
====
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    33
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    34
For useful features, optimizations or refactorings that might be worth doing
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    35
in the future.
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    36
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    37
TODO used to justify not completing code at the time it is first written.
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    38
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    39
XXX
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    40
===
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    41
919
7270274e29a3 Add tips from Code Conventions for the Java TM Programming Language.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 918
diff changeset
    42
Use XXX in a comment to flag something that is bogus but works.
7270274e29a3 Add tips from Code Conventions for the Java TM Programming Language.
Oleksandr Gavenko <gavenkoa@gmail.com>
parents: 918
diff changeset
    43
918
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    44
For things that require more thought and that are arguably broken.
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    45
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    46
An XXX demands attention and is not intended to stay in the code long. We may
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    47
later decide that no problem exists. Or we may need to document unexpected
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    48
behavior. If code is broken, we do not expect it to stay that way. We mark the
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    49
problem immediately so that it is not forgotten.
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    50
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    51
BUG
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    52
===
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    53
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    54
BUG [ID бага] – обозначает, что в коде есть известный баг, который ещё не исправлен.
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    55
REVIEW
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    56
BROKEN
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    57
HACK
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    58
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    59
TRICKY
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    60
======
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    61
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    62
Говорит о том, что код является мудрёным и нужно хорошо подумать прежде чем
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    63
что-то в нём менять.
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    64
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    65
WARNING
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    66
=======
bab1d4bfd0c9 TODO like keywords
Oleksandr Gavenko <gavenkoa@gmail.com>
parents:
diff changeset
    67