•  
      request #25313 Do not use abbreviations in generic types
    Infos
    #25313
    Joris MASSON (jmasson)
    2022-01-18 16:47
    2022-01-18 15:54
    26845
    Details
    Do not use abbreviations in generic types

    Most of the time, we name generic types with one-character names like T or U. We frown upon such names for variables and functions because they make it very hard to know what we are talking about. Does T mean Type ? Does U stand for Union or is it just another Type ?

    For the same reason we do not use single-character names for variables, functions and classes, we should not use them for generic (template) types.

    Dev tools
    All
    Empty
    • [ ] enhancement
    • [x] internal improvement
    Empty
    Stage
    Joris MASSON (jmasson)
    Closed
    2022-01-18
    Attachments
    Empty
    References
    Referencing request #25313
    Referenced by request #25313

    Artifact Tracker v5

    rel #24185 13.5

    Follow-ups

    User avatar
    Thomas Gerbet (tgerbet)2022-01-18 16:47

    Integrated into Tuleap 13.4.99.88.


    • Status changed from Under review to Closed
    • Connected artifacts
    • Close date set to 2022-01-18