3 ms·
RoR doesn't look particularly web-focused to me (the end of it mentions the web server as something worth reading about). That said, it leaves a lot of Racket's
by kd0amg 10y ago
RoR doesn't look particularly web-focused to me (the end of it mentions the web server as something worth reading about). That said, it leaves a lot of Racket's features untouched. HtDP doesn't really aim for SICP's niche -- it is meant to be an introduction to programming and the mode of thought involved, rather than trying to cover the structure and implementation of languages.
- baldfat 10y agoI really liked RoR for how it presented items and just walked through items. I am self taught and know a dozen languages well enough to write a lightweight program, but RoR made me understand all of them better. I use R weekly and learning a scheme language like Racket opened up a whole part of R I missed. R is actually based off of S as well as Scheme. So I now program totally differently because of RoR.
- peatmoss 10y agoHigh-five for learning R better via exposure to Racket. People ask me how to level up their R programming, and I tell them, "Read HtDP." I haven't read RoR--placing an order now.
- throwaway7645 10y agoHow is Racket anything like R?
- baldfat 10y ago"R is based on S and Scheme" From 2009 mail list of R on the similarities and differences between R and Lisp https://stat.ethz.ch/pipermail/r-help/2008-December/181982.html https://stat.ethz.ch/pipermail/r-help/2008-December/181982.h... R is much more functional then most people give it credit. From Saint Hadley > R, at its heart, is a functional programming (FP) language. This means that it provides many tools for the creation and manipulation of functions. In particular, R has what’s known as first class functions. You can do anything with functions that you can do with vectors: you can assign them to variables, store them in lists, pass them as arguments to other functions, create them inside functions, and even return them as the result of a function. http://adv-r.had.co.nz/Functional-programming.html http://adv-r.had.co.nz/Functional-programming.html It isn't a pure functional language which is really only available in Academics and Haskell has nomads to get things out which is arguably not pure. Learning Racket helped me to use the Scheme parts found in R. It really is a little mind blowing. R was mostly used by people with little computer skills and was used with a imperative mindset but when you use it more functional R really shines.