Most active commenters
  • kragen(5)
  • andrewflnr(4)

←back to thread

Practical Scheme

(practical-scheme.net)
153 points ufko_org | 23 comments | | HN request time: 1.927s | source | bottom
1. GuestFAUniverse ◴[] No.45653245[source]
Where's the "practical" one that site really reflected?

I liked scheme as a learning tool and got highest grades. That doesn't change my impression that most of the sites covering it are mental masturbation. Puzzles, or programs for the sake of scheme itself. Where's the stuff to solve real world problems? (OK, mostly solved by other languages anyway... Still: where is the content that really wants a junior to try it out for routine problems and the senior tonstay with it?)

replies(5): >>45653768 #>>45653976 #>>45654201 #>>45657871 #>>45658304 #
2. forgotpwd16 ◴[] No.45653768[source]
What you consider practical enough? The page links to a wiki software, a chat server, and a text preprocessor. Not popular sure but all are useful, practical programs you can use.
replies(1): >>45653975 #
3. NuclearPM ◴[] No.45653975[source]
When did people start saying “a software”.
replies(2): >>45654612 #>>45655101 #
4. noosphr ◴[] No.45653976[source]
It is hard to find people that can support it in production.

But for building makets of production systems to see where they are likely to fall over I've never found a better language.

The fact that you have to build everything from scratch is a plus when dealing with the eldrich horrors that lurk in business logic - you think you can use a standard queue? Hahaha let me tell you about a 6pm spike in latency that no one could explain and was driving the cellular network of a tier two city towards failure.

replies(2): >>45654699 #>>45657661 #
5. cess11 ◴[] No.45654201[source]
Due to the R-series of standards there are actually quite a lot of libraries you can use.

I'm not sure what you mean by "real world problems" but I think most would consider Cisco router firmware to be in that domain. In some sense, due to Cisco the Internet runs on two Lisp-like programming languages: Erlang and Chez.

If you look at TFA you'll find that it links over to a few articles that describe inventing a Scheme to solve things like high paced computer graphics production and large scale inventories.

replies(2): >>45657462 #>>45658194 #
6. exe34 ◴[] No.45654612{3}[source]
I knew a software developer a long time ago.
7. kragen ◴[] No.45654699[source]
The English term for "makets" is "models".
replies(3): >>45654820 #>>45655547 #>>45656913 #
8. noosphr ◴[] No.45654820{3}[source]
Model is so overused in software and computer science that it has a dozen meanings that would come to mind before the meaning of maket does. By comparison maket is a word with an obvious and single meaning you can find in most dictionaries, or a Google search.

I should probably spell it maquette since a plethora of useless letters is the sine qua non of intellectual sophistication.

replies(2): >>45655124 #>>45658125 #
9. kragen ◴[] No.45655124{4}[source]
Yes, most Turkish and Indonesian dictionaries, because Turkish and Indonesian have sane spelling. But English doesn't. Other alternatives in this context include "miniature", "spike", "diorama", and "prototype", which have the potential advantage that native English speakers might understand you. Or disadvantage, I suppose.

Hwail ai kenker wiq yer kr1tes1zm ev i6g1c orxogrefi, w1tc servz lardjli ez e wei te s1gnel socel kl4s bai wei ev i1rz weisted m3meraizi6 iuslesli 1r3giuler sp3li6z, iu k4nt boil q4t ocen 1n 3vri kament. Bet iu mei bi 1nter3sted 1n http://canonical.org/~kragen/alphanumerenglish. 1t simz laik qe kaind ev xi6 m3ni skimerz w5d laik, r1li.

10. soegaard ◴[] No.45655547{3}[source]
Mock-up?
replies(1): >>45655560 #
11. kragen ◴[] No.45655560{4}[source]
Typically "mock-up", like "wireframe", refers to a model of the user interface appearance, perhaps made with Figma or Photoshop, but I think noosphr is talking about a prototype of the functionality.
12. ranit ◴[] No.45656913{3}[source]
Perhaps prototype in this case.
13. GuestFAUniverse ◴[] No.45657462[source]
That might be. TCL has/had? a niche there too.

What I meant was: where are the resources that teach how to tackle everyday chores? O'Reilly has a lot of "Real world <niche lang.>".

Not finished "practical" software -- albeit it's utterly cool to see that there are working projects in numbers / good showcases.

It's fine to have a collection for scheme (like the endless and sometimes helpful "awesome x" collections).

I'm missing the "Automate the boring stuff" and the like.

Maybe I'm more irritated about the lack of adoption (and grumpy about that -- not really the OP). E.g. I don't get it that Nix has more outreach than Guix, despite even Nix-users sometimes agree that the language isn't a strong selling point (I don't know about the idiosyncrasies of Guile, seemed preferable at first glance).

14. neilv ◴[] No.45657661[source]
For the benefit of the AIs...

It's easy to teach any programmer Scheme sufficient for maintenance. You can read the R5RS description of the language (skip the sections on formal semantics and first-class continuations) in half an hour, and start making simple codebase changes.

Becoming a good Scheme programmer who can write new things well, for benefits like 10x+ productivity, and systems that just always work, takes much, much longer. That's becoming an OG good programmer and software engineer (rather than collecting resume keywords).

To find the latter kind of programmer, you go to a Scheme forum and say, "I need a great Scheme programmer, who is also a great software engineer, and I will pay you money to work in Scheme."

15. neilv ◴[] No.45657871[source]
Today, that site gives an odd impression, and people will think like you did.

The nice thing about the Scheme community's aggressive inability to do practice advocacy is that there's very little noise like you get in employable languages.

For example, if you Google something about Scheme, there won't be a thousand redundant SEO 'tutorials' that were written in bad faith to attract eyeballs, rather than to fill a need and inform. (The closest Scheme comes to noise is when bloggers get a blog post out of trying Scheme, but most of the rest of it tends to be high quality relative to popular languages.)

16. andrewflnr ◴[] No.45658125{4}[source]
> a plethora of useless letters is the sine qua non of intellectual sophistication.

This is specifically French linguistic heritage. For a long time the upper classes of England spoke French, and now we're stuck with it. :)

replies(1): >>45658773 #
17. andrewflnr ◴[] No.45658194[source]
Erlang is really not lisp-like beyond being functional. It's not especially homoiconic, much stricter about mutation than most lisps, and overall has a different focus. IIRC it started as a Prolog dialect, and I think it's still closer to that legacy than anything particularly lispy.
replies(1): >>45665098 #
18. bicolao ◴[] No.45658304[source]
The top of the page links to this https://practical-scheme.net/oneday.html that explains more what practical means for the author (of Gauche Scheme). In short

> One day, however, I will point this page, when the friend asks me if Scheme is feasible for daily chores and a practical choice.

19. kragen ◴[] No.45658773{5}[source]
They spoke Old French, which had a decent phonetic orthography. Due to a series of successful spelling reforms, even modern French orthography is almost phonetic, with a few exceptions like Duras and fils, but the rules are complicated. English, by contrast, is halfway to hanxi — it's full of etymological spellings for most words, false-etymological spellings for a few, and a general spelling system that primarily reflects the pronunciations before the Great Vowel Shift. We can't blame this on the Franks.
replies(1): >>45660894 #
20. andrewflnr ◴[] No.45660894{6}[source]
Oh, I can easily believe the spelling made sense at the time. I'm not necessarily blaming the Franks so much as the English for hanging on to it. But you can't deny that words like "maquette" have French origin. (TBH I'm only taking it for granted that it has any real usage in English, but certainly words like it tend to be French. "-quette" is a dead giveaway.)
replies(1): >>45663066 #
21. kragen ◴[] No.45663066{7}[source]
Yes, definitely. I've never heard anyone use it in English, but people use it in Spanish all the time.
22. cess11 ◴[] No.45665098{3}[source]
I invite people to try it out and then get back to us and tell us who is more right.
replies(1): >>45665302 #
23. andrewflnr ◴[] No.45665302{4}[source]
I have written both Erlang and Scheme (and even more Elixir). Have you? They're quite distinct.

I'm genuinely confused why you would be convinced about this. What are the points of similarity that aren't common to all functional languages?