Re: Strong typing vs. strong testing

2010-10-17 Thread Nick Keighley
On 10 Oct, 10:44, Lie Ryan lie.1...@gmail.com wrote: On 10/02/10 20:04, NickKeighleywrote: In a statically typed language, the of-the-wrong-type is something which can, by definition, be caught at compile time. Any time something is true by definition that is an indication that

Re: Strong typing vs. strong testing

2010-10-02 Thread Nick Keighley
On 1 Oct, 11:02, p...@informatimago.com (Pascal J. Bourguignon) wrote: Seebs usenet-nos...@seebs.net writes: On 2010-09-30, Ian Collins ian-n...@hotmail.com wrote: Which is why agile practices such as TDD have an edge.  If it compiles *and* passes all its tests, it must be right. So

Re: Strong typing vs. strong testing

2010-10-02 Thread Nick Keighley
On 1 Oct, 19:33, RG rnospa...@flownet.com wrote: In article slrniabt2j.1561.usenet-nos...@guild.seebs.net,  Seebs usenet-nos...@seebs.net wrote: On 2010-10-01, RG rnospa...@flownet.com wrote: snip Those goal posts are sorta red shifted at this point. [...] Red shifted? Moving away

Re: Strong typing vs. strong testing

2010-10-01 Thread Nick Keighley
On 27 Sep, 18:46, namekuseijin namekusei...@gmail.com wrote: snip Fact is:  almost all user data from the external words comes into programs as strings.  No typesystem or compiler handles this fact all that graceful... snobol? -- http://mail.python.org/mailman/listinfo/python-list

Re: Strong typing vs. strong testing

2010-09-30 Thread Nick Keighley
On 27 Sep, 20:29, p...@informatimago.com (Pascal J. Bourguignon) wrote: namekuseijin namekusei...@gmail.com writes: snip Fact is:  almost all user data from the external words comes into programs as strings.  No typesystem or compiler handles this fact all that graceful... I would even

Re: Strong typing vs. strong testing

2010-09-30 Thread Nick Keighley
On 30 Sep, 11:14, TheFlyingDutchman zzbba...@aol.com wrote: in C I can have a function maximum(int a, int b) that will always work. Never blow up, and never give an invalid answer. Dynamic typed languages like Python fail in this case on Never blows up. How do you define Never

Re: Strong typing vs. strong testing

2010-09-30 Thread Nick Keighley
On 30 Sep, 15:24, TheFlyingDutchman zzbba...@aol.com wrote: If I had to choose between blow up or invalid answer I would pick invalid answer. there are some application domains where neither option would be viewed as a satisfactory error handling strategy. Fly-by-wire, petro-

Re: How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ?

2010-08-25 Thread Nick Keighley
On 19 Aug, 16:25, c...@tiac.net (Richard Harter) wrote: On Wed, 18 Aug 2010 01:39:09 -0700 (PDT), Nick Keighley nick_keighley_nos...@hotmail.com wrote: On 17 Aug, 18:34, Standish P stnd...@gmail.com wrote: How are these heaps being implemented ? Is there some illustrative code or a book

Re: How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ?

2010-08-18 Thread Nick Keighley
On 17 Aug, 18:34, Standish P stnd...@gmail.com wrote: On Aug 16, 11:09 am, Elizabeth D Rather erat...@forth.com wrote: On 8/15/10 10:33 PM, Standish P wrote: If Forth is a general processing language based on stack, is it possible to convert any and all algorithms to stack based ones and

Re: How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ?

2010-08-18 Thread Nick Keighley
On 17 Aug, 21:37, Elizabeth D Rather erat...@forth.com wrote: On 8/17/10 10:19 AM, Standish P wrote On Aug 17, 12:32 pm, John Passanitijohn.passan...@gmail.com  wrote: It is true that the other languages such as F/PS also have borrowed lists from lisp in the name of nested-dictionaries and

Re: How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ?

2010-08-16 Thread Nick Keighley
this is heavily x-posted I'm answering from comp.lang.c On 16 Aug, 08:20, Standish P stnd...@gmail.com wrote: [Q] How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ? I'm having trouble understanding your question (I read your whole post before replying). I

Re: How far can stack [LIFO] solve do automatic garbage collection and prevent memory leak ?

2010-08-16 Thread Nick Keighley
On 16 Aug, 09:33, Standish P stnd...@gmail.com wrote: On Aug 16, 12:47 am, Nick Keighley nick_keighley_nos...@hotmail.com On 16 Aug, 08:20, Standish P stnd...@gmail.com wrote: this is heavily x-posted I'm answering from comp.lang.c I also note that another poster has suggested you are a troll

Re: Fascinating interview by Richard Stallman on Russia TV

2010-07-19 Thread Nick Keighley
On 18 July, 09:38, Emmy Noether emmynoeth...@gmail.com wrote: On Jul 18, 1:09 am, Nick 3-nos...@temporary-address.org.uk wrote: Emmy Noether emmynoeth...@gmail.com writes: snip In this video, Stall man makes 4 promises to public but stalls on 2nd of them. I have no idea of the rights

Re: Fascinating interview by Richard Stallman at KTH on emacs history and internals

2010-07-16 Thread Nick Keighley
On 16 July, 09:24, Mark Tarver dr.mtar...@ukonline.co.uk wrote: On 15 July, 23:21, bolega gnuist...@gmail.com wrote: http://www.gnu.org/philosophy/stallman-kth.html RMS lecture at KTH (Sweden), 30 October 1986 did you really have to post all of this... snip read more »... ...oh sorry

Re: C interpreter in Lisp/scheme/python

2010-07-08 Thread Nick Keighley
On 7 July, 17:38, Rivka Miller rivkaumil...@gmail.com wrote: Although C comes with a regex library, C does not come with a regexp library Anyone know what the first initial of L. Peter Deutsch stand for ? Laurence according to wikipedia (search time 2s) --

Re: C interpreter in Lisp/scheme/python

2010-07-08 Thread Nick Keighley
On 8 July, 08:08, Nick Keighley nick_keighley_nos...@hotmail.com wrote: On 7 July, 17:38, Rivka Miller rivkaumil...@gmail.com wrote: Anyone know what the first initial of L. Peter Deutsch stand for ? Laurence according to wikipedia (search time 2s) oops! He was born Laurence but changed

passing data to Tkinter call backs

2010-06-09 Thread Nick Keighley
to pass data to the callback function? Some GUIs give you a user-data field in the event, does Tkinter? Or am I reduced to using spit global data? A Singleton is just Global Data by other means. -- Nick Keighley This led to packs of feral Global Variables roaming the address space. -- http

Re: passing data to Tkinter call backs

2010-06-09 Thread Nick Keighley
On 9 June, 10:35, Bruno Desthuilliers bruno. 42.desthuilli...@websiteburo.invalid wrote: Nick Keighley a crit : I'm trapping mouse clicks using canvas.bind(ButtonRelease-1, mouse_clik_event) def mouse_clik_event (event) :      stuff What mouse_clik_event does is modify some data

Re: passing data to Tkinter call backs

2010-06-09 Thread Nick Keighley
On 9 June, 13:50, Bruno Desthuilliers bruno. 42.desthuilli...@websiteburo.invalid wrote: Nick Keighley a écrit : On 9 June, 10:35, Bruno Desthuilliers bruno. 42.desthuilli...@websiteburo.invalid wrote: Nick Keighley a crit : I'm trapping mouse clicks using canvas.bind

Re: Haskell's new logo, and the idiocy of tech geekers

2009-10-03 Thread Nick Keighley
On 3 Oct, 00:33, Xah Lee xah...@gmail.com wrote: Haskell has a new logo. A fantastic one. Beautiful. For creator, context, detail, see bottom of: • A Lambda Logo Tour  http://xahlee.org/UnixResource_dir/lambda_logo.html I'm amazed he thinks anyone would donate 3 USD to that site --