Tuleap Community Edition development and releases are no longer public. You have until September 30th to download packages and sources in Tuleap project. You can contact the team if you need further assistance.

    •  
      request #25313 Do not use abbreviations in generic types
    Infos
    #25313
    Joris MASSON (jmasson)
    2022-01-18 16:47
    2022-01-18 15:54
    26850
    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
    Referenced by request #25313

    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