139 points · by macco · 9y ago · 49 comments
On the other hand, my experience with Racket has been fantastic, I have not done too many significant projects, but when I toy around with it, it doesn't get in my way. I just don't have a good project for it as of yet. If I want to do web I'm already accustomed to using other web stacks so I don't see the appeal there, one thing that always surprises me is the GUI stack for Racket though, it just feels straight forward. It feels like we still haven't figured out the whole GUI thing, Electron is so popular because you can get a GUI done fairly quickly since everyone understands the front-end code so well out of the box.
I was also fairly impressed by Clojure. You install the package manager (Lein) and you have all you need to do any Clojure work, iirc it will go as far as installing Clojure for you. The repl approach to GUI design with Clojure was also quite interesting for me. I think Clojure and Kotlin are the only two things about the JVM that impress me these days, but that's just my opinion.
While most language provide the basics, sooner or later you will end up needing something that is only available for the most popular 5-6 languages.
E.g. S3 APIs or drivers for Riak, or gRPC or rabbitmq or something else. Something always comes up.
Having said that, the packages listed in Racket’s webpage seem quite comprehensive.
The thing that is the Special Sauce for Racket is it's macro system. You can build your own language for specific things easily or you can extend Racket with a library also much easier then the other 5-6 languages.
Racket really has a chance of being the Python of functional(ish) languages. The ability of the community to produce a great ecosystem is all right there baked in. http://jeapostrophe.github.io/2013-07-22-123list-post.html
I also think the documentation is all in one place. The library Scribble makes it simple for everyone to document your macro/library simply and uniformly. I really have high hopes for Racket over the next 5 years.
Compare the raw format:
https://stripe.com/docs/api/curl#metadata
with Python:
https://stripe.com/docs/api/python#metadata
How are macros going to give me a better solution that the one which exists, is tested and have been used by others for some time? Besides, macros are a meme. What difference are macros going to make when wrapping a api? Can you show me an existing lisp/clojure wrapper which is more expressive than python/ruby?
I love lisps, but I don't think racket comes anywhere near the accessibility level of python. I'm not convinced a functional language (in the style that current functional languages take) can in general. Imperative python is extremely easy to grok.
If I can download a language and have all these things out of the box (which Racket provides) then I probably will have less friction than someone programming in C or C++ (with 0 experience in either those or Racket mind you) who have to figure out what compiler to get, what editor / IDE to use, how to configure their IDE / editor, what magic terminal incantations to do all while I'm building websites and GUI's on Racket in a matter of minutes (from examples of course, but now I can play with those). All because Racket has: documentation, tooling and a good out of the box stack.
python myscript.py
Now with C# or Java, I would agree with you.
https://en.wikipedia.org/wiki/NoteCards
http://www.ubiq.com/hypertext/weiser/UbiHome.html
Which is why Alan Kay is not a big fan of the Web as such,
"The Internet was done so well that most people think of it as a natural resource like the Pacific Ocean, rather than something that was man-made. When was the last time a technology with a scale like that was so error-free? The Web, in comparison, is a joke. The Web was done by amateurs."
-- http://www.drdobbs.com/architecture-and-design/interview-wit...
Which (like it or not --- I jump back & forth myself) is probably why it took off as explosively as it did..
it's a little stale, though. This is the latest repo: https://github.com/soegaard/whalesong
Since Racket methods are just functions around a class context, it seems like it should be possible to make these into methods.
yeah, frustratingly they have a great core language and then tack on optional OO, generics or static typing systems that are about 80%-90% baked. then those systems see just enough use they can't be ignored, but not so much that someone steps up to finish the last bit of baking.
Prices are arbitrary. Locking USD = EUR makes you superficially feel like you're getting ripped off but it's still arbitrary. You're also paying the same as someone making $100k/year more or less than you.