Hello Ronan,

> By the way, if someone has an idea about a sample application (simple,
> but not trivial) which could lead the tutorial, and show different
> aspects of the language, let me know !
> I was thinking about a more complete and idiomatic version of Vincent
> Foley's "Fetching web comics" tutorial, but something more
> "enterprisey" seems more adequate.

I have a slightly more - a full application, it is a tool which I
wrote to save someone around one hour per week of doing "monkey
work" (nothing against monkeys, I just do not like when people waste
their time on what computer can do for them, so I "wasted" some of
mine on learning clojure better while doing something useful).

The input is an excel spreadsheet, this spread-sheet is read (using
libraries developed at apache project), checked whether it is
"valid" (i.e. user opened the right kind), parsed (nothing too
complicated), filtered (what the user needed was a subset according to
few rules), and written to a new file in which the data split in 3
pages - all (for checking), not-interesting (what user does not want)
and interesting (the stuff the user needs to make informed jugement).
The result is, that instead of manually checking 100s spread-sheet
"records" (the input spread-sheet was output from a database, btw),
one only needs to check few.

The app also reports reasonable errors and possibly exceptions (which
can be cut-and-pasted - they do not pop up as dialog boxes), so this
could be fed back to the programmer (me) to get a clue where the
problem is.

The program is not too long, reasonably structured (I wrote it twice,
the first version with focus to make it work and learn, the second to
like the code and the result), I could add more comments (to the code)
as it was not too long ago that I wrote it.

Also, I am pretty sure, someone with higher mastery of clojure-fu
could improve it (my main motivation here is
for other people not to pick up possibly bad beginners (mine) habits
if there are some in there).

Please e-mail me privately if interested.

Kind regards,

Vladimir

-- 
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

To unsubscribe from this group, send email to 
clojure+unsubscribegooglegroups.com or reply to this email with the words 
"REMOVE ME" as the subject.

Reply via email to