Just to clarify, I was talking about for an existing project. So I've already downloaded all the dependencies.
I wasn't talking about the first programming experience, I wouldn't recommend maven for a first programming experience :-) Cordialement, Matthew Farwell. Le 23 décembre 2011 08:04, Andrew <[email protected]> a écrit : > Baptism by fire using maven I'd say. > > Something like this might be cool for your first programming > experience; > > groovyconsole.appspot.com/ > > No install, no wait for massive dependency downloads... > > On Dec 23, 4:50 pm, Matthew Farwell <[email protected]> wrote: > > As Josh Suereth pointed out to me, you can do this with maven as well: > > > > mvn scala:console > > > > which starts the repl with all of the classpath filled in etc. You can > also > > use this for exploring java projects, but obviously with a scala syntax. > > > > Cordialement, > > > > Matthew Farwell. > > > > Le 22 décembre 2011 17:42, Dick Wall <[email protected]> a écrit : > > > > > > > > > > > > > > > > > As is often the case Reinier - you seem to have got your enthusiasm > making > > > statements that are far to over general. > > > > > Here is the history from my development machine (not one of the ones I > use > > > for Scala training) along with the number of times I have started the > scala > > > REPL > > > > > dick@Apollo:~$ history | wc -l > > > 500 > > > dick@Apollo:~$ history | grep scala | wc -l > > > 31 > > > dick@Apollo:~$ history | grep "sbt console" | wc -l > > > 40 > > > > > I am a pretty experienced Scala developer now, with about 3 years > behind > > > me, and I start the Scala REPL to try stuff out every day I am > developing, > > > often several times a day (assuming I don't just leave it running > > > constantly). REPLs are far from pointless in real life, and I would not > > > want to use a language without one. Prior to Scala, I used to use > Python > > > every chance I got and I used to (and still do) fire up the python > shell at > > > the drop of a hat to try out some idea or other. A REPL may not appear > to > > > be all that useful to you, maybe because you are used to using > languages > > > that don't offer one, but that doesn't make it true for everyone else. > > > > > Incidentally, sbt console starts up the current project with all jars > and > > > classes in the project already on the REPL class path. Combined with > tab > > > completion in the Scala REPL, it is an excellent way of trying out > ideas > > > and exploring unknowns, like interactively experimenting with third > party > > > ReST web services (I practically developed our interface to confluence > this > > > way, using the REPL to send requests and explore the resulting XML > until I > > > got what I needed) or just getting a feel for a new API. > > > > > I don't use it as my only tool, and I don't doubt that you don't find > them > > > interesting, but I also can't let a statement like "REPLs are pointless > > > in real life" when I use them all the time. > > > > > Dick > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "The Java Posse" group. > > > To view this discussion on the web visit > > >https://groups.google.com/d/msg/javaposse/-/KNnGpvO8rE8J. > > > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]. > > > For more options, visit this group at > > >http://groups.google.com/group/javaposse?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "The Java Posse" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]. > For more options, visit this group at > http://groups.google.com/group/javaposse?hl=en. > > -- You received this message because you are subscribed to the Google Groups "The Java Posse" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/javaposse?hl=en.
