• 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: (newbie)RE: Book- Building cocoa applications..
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: (newbie)RE: Book- Building cocoa applications..


  • Subject: Re: (newbie)RE: Book- Building cocoa applications..
  • From: Sherm Pendley <email@hidden>
  • Date: Tue, 10 Sep 2002 01:01:12 -0400

On Monday, September 9, 2002, at 06:52 PM, Jonas Roel wrote:

Could someone kindly explain to me why, in chapter 10 of the Building Cocoa Applications book(OReilly), the authors chose to construct a back-end in lex and yacc.

Here's a related question:

The back end tool used in this chapter is written to exit cleanly when its input stream is closed. But, the front end is written to terminate the child process, rather than simply closing the stream to it. Why are such harsh measures taken, when simply closing the stream is cleaner?

I understand that for this simple example, there's virtually no difference and no harm done by killing off the child process. I'm more concerned about a newbie who, upon reading this chapter, may get the impression that terminating child processes is preferred over asking them nicely to exit.

sherm--
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >(newbie)RE: Book- Building cocoa applications.. (From: Jonas Roel <email@hidden>)

  • Prev by Date: Re: Learning lex/yacc (was: Book- Building cocoa applications)
  • Next by Date: Re: [newbie] Font attributes in NSTextView
  • Previous by thread: Re: (newbie)RE: Book- Building cocoa applications..
  • Next by thread: Re: (newbie)RE: Book- Building cocoa applications..
  • Index(es):
    • Date
    • Thread