7 ms·
Of all the Lisps I've toyed with (mostly Clojure and Racket) I think I enjoy Racket the most. I wish more languages (I know some already do: Python, Processing,
by giancarlostoro 9y ago
Of all the Lisps I've toyed with (mostly Clojure and Racket) I think I enjoy Racket the most. I wish more languages (I know some already do: Python, Processing, and others) would at least include a minimal text editor that can build and debug code - coded in the same language. Matter of fact, I've wished this were the case for Rust (and maybe D? - I guess there's a minimalist emacs for D but that's not as approachable as say Dr. Racket for newcomers), it would give them a chance to build a bare bones UI stack for Rust that is officially maintained.
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.
- noncoml 9y agoThese days it’s more about the ecosystem rather the language itself. 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.
- giancarlostoro 9y agoIt's a mixture of: standard library (see how quickly Go was adopted, especially when making a web project was an out of the box experience), documentation, and tooling is definitely crucial. 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.
- irahul 9y agoA language with large standard library and tooling is awesome. But Racket still falls short on api wrappers for tools(message queues, zero mq, templates...) and services(payment gateways, google cloud or azure apis...). It's a chicken and egg problem. Unless a significant number of people start using it in production, Racket isn't going to have extensive libraries and unless it has the libraries to hit the ground running, a significant number of people won't try it.
- baldfat 9y ago> you will end up needing something that is only available for the most popular 5-6 languages 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 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.
- irahul 9y ago> 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. Compare the raw format: https://stripe.com/docs/api/curl#metadata https://stripe.com/docs/api/curl#metadata with Python: https://stripe.com/docs/api/python#metadata 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?
- bad_login 9y agoThe example you give doesn't have boilerplate so macro can't do more. Macro can help for two things: - reduce boilerplate - add new function to your language (often specific and limited in context of use [racket's macro a suposedly composable]). Example: racket match, clojure.async.
- irahul 9y ago> Macro can help for two things I know what macros are and what macros can do. The parent poster made a comment that somehow macros can help overcome non-existence of wrappers in Racket. We both agree that macros won't help in this case, and my personal opinion is macros are a meme. They help some in very limited circumstances yet they are touted as a productivity multiplier. A pattern match over if-else doesn't really buy much. It's nicer, sure, but not by much.
- RandomInteger4 9y agoWhy would you need a text editor to come with the language when you could have Vim and the rest of the command line. The problem newcomers have with programming is that educators think they're too stupid to use the command line and in the process they shield them from important details about the build process by obfuscating them under the veil of an IDE.
- throwaway7645 9y agoIt depends on the language and intent. With Python it has a simple GUI shell that lets you edit, run, and use the REPL (similar to Dr Racket). It's easy to use and doesn't actually shield you because there isn't any complicated build process anyway. If anything it shields you from: python myscript.py Now with C# or Java, I would agree with you.