[TYPO3-50-general] Better coding standards
Stefano Kowalke
blueduck at gmx.net
Tue Nov 11 22:44:24 CET 2008
Good to hear, that`s just what i feel.
The problem is, that there are no official Coding Guidelines for TYPO3 4.x.
Dmitry post a inoffical CGL in his blog but this yet not accepted by the
core devs. So we live in a kind of neverland.
Stefano
Tapio Markula wrote:
> Hi
>
> Coding standars still allow this kind of coding (used in core files of
> Typo3 4.2)
>
> $aTag = "<a href=\"#...
>
>
> is *extremely* annoying using JEDit. That mixes totally the color coding
> of JEDit
>
> Please use always in core files
>
> $aTag = '<a href="#...
>
> even if it might cause more usage of \.
>
> It is extremely difficult to make patches or XCLASS if used
>
> $aTag = "<a href=\"#...
>
> because it is not possible to see, if the code is valid or not.
>
> Please more rigorius standard when string would always use this format
>
> $string = '....
--
Seit dem 1.1.2008 werden Daten zu jeder E-Mail verdachtsunabhängig gespeichert!
Weitere Informationen: www.vorratsdatenspeicherung.de
GPG-ID: 0x2B08936D
Key-Fingerprint: 7F31 BCF0 70C0 B3B1 1235 07E9 1777 D7A0 2B08 936D
More information about the TYPO3-project-5_0-general
mailing list