Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ Core » Core: Null handling incoherent?
Re: Core: Null handling incoherent? [message #32284 is a reply to message #32256] Fri, 06 May 2011 09:55 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
kohait00 wrote on Wed, 04 May 2011 05:39

attached is a patch for discussion. the IsNullInstance naming issue is not adressed yet.

benefits:

* more clear coherent interface because IsNullInstance, SetNull are obligatory



How have you defined IsNullInstance method for 'double'?

See, the obligatory interface is IsNull and Null asignment. IsNullInstance is just helper - it is easier to write it as method than as external function. SetNull was sort of forced by you.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: [SOLVED] String.GetCount with umlaut
Next Topic: read/write to /dev/rtp is happening .. but a small problem
Goto Forum:
  


Current Time: Tue Jun 04 19:19:57 CEST 2024

Total time taken to generate the page: 0.01572 seconds