Uploaded image for project: 'OASIS Open Data Protocol (OData) TC'
  1. OASIS Open Data Protocol (OData) TC
  2. ODATA-341

Can we get rid of the optional trailing 'L'/'l' for int64 numbers

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: V4.0_WD01
    • Fix Version/s: V4.0_WD01
    • Component/s: ABNF
    • Labels:
      None
    • Environment:

      [Applied]

      Description

      According to the ABNF an optional 'L'/'l' character MAY be included. I was asked why this was and failed to give an answer. Dear I ask why we allow this whereas we don't make any distinction that way for the other integer types?We already allow for upscaling to a bigger type, why couldn't any integer number be just specified using its digits full well knowing that if more then 15 digits are required it has to be an int64 number ?

        Attachments

          Activity

          hubert.heijkers Hubert Heijkers (Inactive) created issue -
          hubert.heijkers Hubert Heijkers (Inactive) made changes -
          Field Original Value New Value
          Proposal Remove the trailing 'L' character for int64 numbers. Remove the optional trailing 'L'/'l' character for int64 numbers.
          Description According to the ABNF we need to append the capital 'L' character to an int64 integer whereas all the other integer types simply allow for more digits to be returned. Dear I ask why? We already allow for upscaling to a bigger type, why couldn't any integer number be just specified using its digits full well knowing that if more then 15 digits are required (and even with certain 15 digit numbers) an int64 number is required? According to the ABNF an optional 'L'/'l' character MAY be included. I was asked why this was and failed to give an answer. Dear I ask why we allow this whereas we don't make any distinction that way for the other integer types?We already allow for upscaling to a bigger type, why couldn't any integer number be just specified using its digits full well knowing that if more then 15 digits are required it has to be an int64 number ?
          Priority Major [ 3 ] Minor [ 4 ]
          Summary Can we get rid of the trailing 'L' for int64 numbers Can we get rid of the optional trailing 'L'/'l' for int64 numbers
          hubert.heijkers Hubert Heijkers (Inactive) made changes -
          Proposal Remove the optional trailing 'L'/'l' character for int64 numbers. Remove the optional trailing 'l'/'L', 'f'/'F', 'd'/'D' and 'm'/'M' qualifier for int64, single, double and decimal numbers respectively.
          ralfhandl Ralf Handl made changes -
          Fix Version/s V4.0_WD01 [ 10247 ]
          Affects Version/s V4.0_WD01 [ 10247 ]
          Environment [Proposed] [Resolved]
          Status New [ 10000 ] Open [ 1 ]
          ralfhandl Ralf Handl made changes -
          Resolution Fixed [ 1 ]
          Status Open [ 1 ] Resolved [ 5 ]
          ralfhandl Ralf Handl made changes -
          Assignee Ralf Handl [ ralfhandl ]
          ralfhandl Ralf Handl made changes -
          Environment [Resolved] [Applied]
          sdrees Stefan Drees (Inactive) made changes -
          Status Resolved [ 5 ] Applied [ 10002 ]
          sdrees Stefan Drees (Inactive) made changes -
          handl Ralf Handl made changes -
          Assignee Ralf Handl [ ralfhandl ] Ralf Handl [ handl ]

            People

            • Assignee:
              handl Ralf Handl
              Reporter:
              hubert.heijkers Hubert Heijkers (Inactive)
            • Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: