From: Arne Babenhauserheide <arne_bab@web.de>
To: Panicz Maciej Godek <godek.maciek@gmail.com>
Cc: "guile-user@gnu.org" <guile-user@gnu.org>,
guile-devel <guile-devel@gnu.org>
Subject: Re: Request for feedback on SRFI-126
Date: Wed, 30 Sep 2015 01:44:22 +0200 [thread overview]
Message-ID: <2004212.koJWAIKy7V@fluss> (raw)
In-Reply-To: <CAMFYt2aTw1QPDqXXpqJmgOLcT23D94HbBVKw9e-DTYnT155PHA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 4114 bytes --]
Am Mittwoch, 30. September 2015, 01:02:50 schrieb Panicz Maciej Godek:
> 2015-09-29 22:05 GMT+02:00 Arne Babenhauserheide <arne_bab@web.de>:
> > I wrote SRFI-119, not because I want Scheme to become more like
> > Python, but because I want it to *look* more like Python while
> > retaining its strengths.
> If you asked me, I'd say that if people started using that SRFI (or the two
> others), then it would be most harmful to the Scheme community, because
> that would increase code enthropy and force programmer to make an
> irrelevant choice.
It’s no more irrelevant than the choice between Guile and Racket. And
different from that choice, it’s trivial to change:
for i in *.w; do guile wisp.scm $i > $(basename $i .w).scm; done
> It also sacrifices some of the strengths of Scheme, actually, because it
> makes the code structure obscure.
I disagree on that. The structure is still just as easy to recognize
as with parens: Even with parens the strongest indicator of the
structure is the indentation. It keeps the effects of inline-colons
limited to one line to avoid the need to do any complex mental
parsing: If there’s a colon in a line, the paren it opens gets closed
at the end of the line.
> The same goal could better be achieved (non-intrusively) by making an easy
> to use editor that would allow to display your Scheme code in the way you
> prefer, be it Python-style indentation or some fancy LaTeX formatting.
I consider it as problematic when programming languages need strong
tool support to be easy to read. With the right tools, even Java is
nice to use.
Changing indentation sensitive code needs some tool support to be
elegant, but that is available in most editors, but reading does
not. And I’ve been stuck in too many github diffs to consider that as
a solved problem :)
> > It isn’t necessary to sacrifice the strengths of Scheme to become as
> > easy for new programmers as Python. However it does require accepting
> > that a large part of the utility of any language lies in its
> > libraries: The best language for any job is the one which provides the
> > solution off-the-shelf.
>
> Fine. But I don't find it disturbing that this "useful language with tons
> of great libraries" is called Racket or Guile, rather than Scheme.
This week a Freenet user wrote a client to Freenet in Racket. I wanted
to use it for Guile, but since I didn’t really know the capacities of
Racket, I didn’t know how to replicate them in Guile. I asked the user
whether he/she could port to Guile and after a few days he/she
published a Guile version but stated that it did not work yet. One
hour of fixing later I had it running.
Why I write that: For large projects it might be relatively easy to do
the conversion, because the compatibility layers are only a small part
of the total code base. The saved time by reusing existing code is
much larger than the time spent doing the compatibility stuff. For
small projects, it can be a blocker. You can’t spend a few days
waiting and 1 hour porting for programs which just take 4 hours to
write. Or rather: You can’t do that if you need to combine many small
projects into a bigger whole.
> I will agree with you if you show me one example of successful deployment
> of Guile or Racket. Like, Python has some impressive tools like Django or
> Enaml.
Can you give me clear criteria for when you would consider a
deployment as successful?
> > But someone has to actually do that: Creating libraries with
> > consistent style which provide to the application developer what
> > Scheme already provides to the language developer.
> >
>
> I agree. But from my experience, in order to make a useful library, it is
> best to work on some real applications.
I agree.
> I think it is actually reasonable to think that the power of a programming
> language manifests itself in the applications that are written in that
> language.
I agree, too.
So our viewpoints don’t seem to be that far away from each other :)
Best wishes,
Arne
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 299 bytes --]
next prev parent reply other threads:[~2015-09-29 23:44 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-09-27 12:15 Request for feedback on SRFI-126 Taylan Ulrich Bayırlı/Kammer
2015-09-27 19:00 ` Panicz Maciej Godek
2015-09-27 20:11 ` Taylan Ulrich Bayırlı/Kammer
2015-09-27 23:20 ` Panicz Maciej Godek
2015-09-27 23:56 ` Marko Rauhamaa
2015-09-28 8:13 ` Taylan Ulrich Bayırlı/Kammer
2015-09-28 10:37 ` Marko Rauhamaa
2015-09-28 12:39 ` Taylan Ulrich Bayırlı/Kammer
2015-09-28 20:02 ` Panicz Maciej Godek
2015-09-29 20:05 ` Arne Babenhauserheide
2015-09-29 23:02 ` Panicz Maciej Godek
2015-09-29 23:44 ` Arne Babenhauserheide [this message]
2015-09-30 6:39 ` Panicz Maciej Godek
2015-09-30 22:16 ` Arne Babenhauserheide
2015-09-30 23:39 ` Panicz Maciej Godek
2015-09-30 7:58 ` Taylan Ulrich Bayırlı/Kammer
2015-09-30 22:20 ` Arne Babenhauserheide
2015-10-01 7:33 ` Taylan Ulrich Bayırlı/Kammer
2015-09-29 20:18 ` Arne Babenhauserheide
2015-10-01 5:11 ` Marko Rauhamaa
2015-09-28 15:46 ` Christopher Allan Webber
2015-09-28 17:34 ` Taylan Ulrich Bayırlı/Kammer
2015-09-30 17:41 ` Mark H Weaver
2015-09-30 22:33 ` Taylan Ulrich Bayırlı/Kammer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/guile/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=2004212.koJWAIKy7V@fluss \
--to=arne_bab@web.de \
--cc=godek.maciek@gmail.com \
--cc=guile-devel@gnu.org \
--cc=guile-user@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).