Status/Resolution/Reason: Closed/Fixed/Fixed
Reporter/Name(from Bugbase): Adam Cameron / Adam Cameron (Adam Cameron)
Created: 02/22/2014
Components: Language
Versions: 11.0
Failure Type: Enhancement Request
Found In Build/Fixed In Build: PublicBeta / Final GM build
Priority/Frequency: Trivial / Unknown
Locale/System: English / Platforms All
Vote Count: 10
The member functions for query (and I presume struct and arrays etc) cannot be chained, because they don't return sensible values. This is almost certainly due to the implementation is purely a transliteration from the equivalent procedural functions. The member function implementation does not need to be so literal as this.
I'd say as a rule of thumb, where the current proocedural functions return a pointless/meaningless boolean, the member function should instead return the object itself.
--
Adam
----------------------------- Additional Watson Details -----------------------------
Watson Bug ID: 3712125
External Customer Info:
External Company:
External Customer Name: Adam Cameron.
External Customer Email:
External Test Config: My Hardware and Environment details:
Attachments:
Comments: