Re: A Mathematician looks at D

2013-02-20 Thread so
On Monday, 18 February 2013 at 22:07:00 UTC, Joshua Niehus wrote: http://www.reddit.com/r/programming/comments/18r7zk/a_mathematician_looks_at_d/ No REPL, I guess we are rubbish? http://en.wikipedia.org/wiki/Read–eval–print_loop says almost ALL languages one way or another have it, mentions

Re: A Mathematician looks at D

2013-02-20 Thread Paulo Pinto
On Wednesday, 20 February 2013 at 09:11:15 UTC, so wrote: On Monday, 18 February 2013 at 22:07:00 UTC, Joshua Niehus wrote: http://www.reddit.com/r/programming/comments/18r7zk/a_mathematician_looks_at_d/ No REPL, I guess we are rubbish? http://en.wikipedia.org/wiki/Read–eval–print_loop says

Re: A Mathematician looks at D

2013-02-20 Thread so
On Tuesday, 19 February 2013 at 00:57:31 UTC, Joshua Niehus wrote: On Monday, 18 February 2013 at 23:55:46 UTC, bearophile wrote: Most exploratory mathematics systems have a REPL, because for some people and for some kinds of problems, it's much better to have it. It's not for everyone nor for

Re: A Mathematician looks at D

2013-02-20 Thread so
On Wednesday, 20 February 2013 at 12:27:46 UTC, Paulo Pinto wrote: Smalltalk and Lisp were already doing in the late 70's, funny how we ended up exchanging such development environments for primitive languages like C in name of performance, only to try to duplicate them almost 50 years later.

Re: A Mathematician looks at D

2013-02-20 Thread Paulo Pinto
On Wednesday, 20 February 2013 at 14:13:17 UTC, so wrote: On Wednesday, 20 February 2013 at 12:27:46 UTC, Paulo Pinto wrote: Smalltalk and Lisp were already doing in the late 70's, funny how we ended up exchanging such development environments for primitive languages like C in name of

Re: A Mathematician looks at D

2013-02-20 Thread so
On Wednesday, 20 February 2013 at 14:29:19 UTC, Paulo Pinto wrote: Have you ever seen this video of how Lisp machines used to be? http://www.loper-os.org/?p=932 The later model Ivory was even better. All of this in the 80s. I have seen that but too much hardware talk which i have not much

Re: A Mathematician looks at D

2013-02-19 Thread FG
On 2013-02-19 01:28, Nick Sabalausky wrote: I can do that just as easily without a REPL. With a much reduced interactivity and more slowly. Slightly so. I wouldn't say much. But of course, I'm not saying that a REPL wouldn't be nice to have. Just saying that edit, re-compile/run really

Re: A Mathematician looks at D

2013-02-19 Thread Paulo Pinto
On Tuesday, 19 February 2013 at 01:36:31 UTC, bearophile wrote: Joshua Niehus: I'll take your word for it, in my narrow experience, I've found REPLs slow me down. Thankfully in most cases you are not forced to use it. I have met several persons that don't like to use a REPL, for unknown

Re: A Mathematician looks at D

2013-02-19 Thread Sönke Ludwig
Am 18.02.2013 23:06, schrieb Joshua Niehus: http://www.reddit.com/r/programming/comments/18r7zk/a_mathematician_looks_at_d/ No REPL, I guess we are rubbish? There once was this approach: http://forum.dlang.org/thread/fpmpa6$2muq$1...@digitalmars.com Not full D, but the concept should be

Re: A Mathematician looks at D

2013-02-18 Thread Joshua Niehus
Personally I find REPLs super annoying, especially when you need to import or require something or like to use multiple lines. Serious how hard is it to just do: ### Ruby #!/usr/bin/ruby require pp puts do stuff // D #!/usr/bin/rdmd import std.stdio; void main() { writeln(do stuff); }

Re: A Mathematician looks at D

2013-02-18 Thread bearophile
Joshua Niehus: Serious how hard is it to just do: then press Command+b (Sublime text) and watch it work/fail? With a REPL you don't need to repeat the precedent computations every time you add something. You keep building on what you have already done. This saves you time (beside saving you

Re: A Mathematician looks at D

2013-02-18 Thread Nick Sabalausky
On Mon, 18 Feb 2013 23:37:00 +0100 bearophile bearophileh...@lycos.com wrote: A REPL is handy when you don't know the correct usage of something: you try something, read the error it gives you, ask for some help to the system, and try again, etc. I can do that just as easily without a

Re: A Mathematician looks at D

2013-02-18 Thread Nick Sabalausky
On Tue, 19 Feb 2013 00:55:44 +0100 bearophile bearophileh...@lycos.com wrote: Nick Sabalausky: I can do that just as easily without a REPL. With a much reduced interactivity and more slowly. Slightly so. I wouldn't say much. But of course, I'm not saying that a REPL wouldn't be nice

Re: A Mathematician looks at D

2013-02-18 Thread bearophile
Joshua Niehus: I'll take your word for it, in my narrow experience, I've found REPLs slow me down. Thankfully in most cases you are not forced to use it. I have met several persons that don't like to use a REPL, for unknown reasons. Different persons have a brain shaped in different ways.