• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [NOOB] Finding Information (was: real noob question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NOOB] Finding Information (was: real noob question)


  • Subject: Re: [NOOB] Finding Information (was: real noob question)
  • From: Michael Ash <email@hidden>
  • Date: Tue, 20 Jan 2009 00:01:09 -0500

On Mon, Jan 19, 2009 at 2:57 PM, Brian Slick <email@hidden> wrote:
> I'm not sure this is a documentation failure as much as a language failure,
> at least in this case.  Why isn't there an initWithInt: or initWithFloat:
> like in some other cases?  THAT would have resulted in the documentation
> page leading to the correct answer.  Mantissa?  Come on.

I really don't see the problem with this. While Apple generally does a
good job of insulating you from the details of how things work
underneath, you still have to know *something* about how things are
built. NSDecimalNumber is fundamentally built around mantissa and
exponent. Thinking the document is inadequate because it relies on
these concepts would be like thinking that the NSString documentation
is inadequate because it relies on the concept of "character".

There are basically only three ways to make a variable NSDecimalNumber
that are mentioned in the documentation. If faced with this problem,
it sure seems to me that it would be worth investigating all of them
before giving up.

Mike
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: [NOOB] Finding Information (was: real noob question) (From: julius <email@hidden>)
 >Re: [NOOB] Finding Information (was: real noob question) (From: mmalc Crawford <email@hidden>)
 >Re: [NOOB] Finding Information (was: real noob question) (From: Brian Slick <email@hidden>)

  • Prev by Date: Search Fields, Array Controllers and Multiple NIBs
  • Next by Date: Re: Memory allocation issues with NSObject and NSString
  • Previous by thread: Re: [NOOB] Finding Information (was: real noob question)
  • Next by thread: Re: [NOOB] Finding Information (was: real noob question)
  • Index(es):
    • Date
    • Thread