Re: How often do you use REPL?

2010-09-28 Thread Nicolas Oury
On Tue, Sep 28, 2010 at 12:03 PM, David Cabana  wrote:
> My standard practice is to split the (Emacs) screen, one side is a
> Clojure mode edit session, the other a repl.  Best of both worlds.
> One can easily build up complex expressions as required,  and still
> easily evaluate expressions in either side of the screen.
>
>

Same here. Dream of having a bigger screen to have more than one file
and a REPL.

Use REPL all the time to test function and to try expression while
waiting complex functions.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How often do you use REPL?

2010-09-28 Thread David Cabana
My standard practice is to split the (Emacs) screen, one side is a
Clojure mode edit session, the other a repl.  Best of both worlds.
One can easily build up complex expressions as required,  and still
easily evaluate expressions in either side of the screen.

If you are not familiar with Emacs and want to see how this works,
check out Craig Andera's screencasts at
http://www.pluralsight-training.net/microsoft/olt/course/toc.aspx?n=clojure-concurrency-tutorial
. He uses the same approach.

These screencasts are well worth watching, BTW.  Good stuff.

On Sep 27, 3:14 pm, Christian Guimaraes 
wrote:
> It's a noob question... I know
>
> But in my studies I use REPL 80% of the coding time.
>
> More advanced users still uses REPL so many times?

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How often do you use REPL?

2010-09-27 Thread ngocdaothanh
cake (http://github.com/ninjudd/cake) has the "tab completion"
feature.

Because this is very useful, I wonder if this feature should be added
to leiningen or Clojure itself.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How often do you use REPL?

2010-09-27 Thread Wilson MacGyver
I use REPL quite a bit. Especially if I'm quickly trying to throw
something together.
I'd use vimclojure and REPL.

In intelliJ, I use REPL for brain storm and testing.

On Mon, Sep 27, 2010 at 3:14 PM, Christian Guimaraes
 wrote:
> It's a noob question... I know
>
> But in my studies I use REPL 80% of the coding time.
>
> More advanced users still uses REPL so many times?
>

-- 
Omnem crede diem tibi diluxisse supremum.

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en


Re: How often do you use REPL?

2010-09-27 Thread Laurent PETIT
A lot. By that, I mean that probably 80% to 100% of the time the REPL is
running waiting for your command.
And what may change is that you may more and more "send" code to the REPL
from your favorite editor.

2 flavors :
  * keep the full control on what is emitted to the REPL. There are
shortcuts for your favorite editor to send the selection, or the top level s
expression, to the REPL.
  * leverage some automation from your IDE : e.g. ccw (plugin for clojure
code in Eclipse) has a mode for automatically reloading the namespaces of
your project everytime you save a file (in addition to the above mentioned
shortcuts)

2010/9/27 Christian Guimaraes 

> It's a noob question... I know
>
> But in my studies I use REPL 80% of the coding time.
>
> More advanced users still uses REPL so many times?
>
> thanks.
>
> -- christian guimaraes
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

Re: How often do you use REPL?

2010-09-27 Thread Linus Ericsson
Why not?

The only thing I found very practical (even though it does not yet work 100%
(like autoloading the open code in the repl) for me) is the possibility to
fire of longer commands and function definitions (or the like) in Slime (or
vi-equivalent).

The repl is a great way to debug your thoughts, but it's harder to gain the
overview to build more complex programs (with more than a few rows or
functions, that is).

REPL ftw!

/Linus

2010/9/27 Christian Guimaraes 

> It's a noob question... I know
>
> But in my studies I use REPL 80% of the coding time.
>
> More advanced users still uses REPL so many times?
>
> thanks.
>
> -- christian guimaraes
>
> --
> You received this message because you are subscribed to the Google
> Groups "Clojure" group.
> To post to this group, send email to clojure@googlegroups.com
> Note that posts from new members are moderated - please be patient with
> your first post.
> To unsubscribe from this group, send email to
> clojure+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/clojure?hl=en

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en

How often do you use REPL?

2010-09-27 Thread Christian Guimaraes
It's a noob question... I know

But in my studies I use REPL 80% of the coding time.

More advanced users still uses REPL so many times?

thanks.

-- christian guimaraes

-- 
You received this message because you are subscribed to the Google
Groups "Clojure" group.
To post to this group, send email to clojure@googlegroups.com
Note that posts from new members are moderated - please be patient with your 
first post.
To unsubscribe from this group, send email to
clojure+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/clojure?hl=en