4 ms·
Well the only other thing i know of which is written in Racket is HN. So not sure if it's any popular today either. IMO it looks like were getting too many damn
by dogma1138 12y ago
Well the only other thing i know of which is written in Racket is HN. So not sure if it's any popular today either.
IMO it looks like were getting too many damn programming languages which is something I'm starting to really dislike. Too much shit flying around forcing you to pickup some niche languages for a project, and worse having fresh developers being forced to learn like a billion languages instead of mastering 1 or 2.
- kenferry 12y agoHacker News is (was?) written in Arc, no?
- jeorgun 12y agoIIRC the Arc interpreter is itself written in Racket.
- fjarlq 12y agoCorrect, HN is written in Arc, a dialect of Lisp. But, the Arc compiler is written in Racket[1], and internally outputs Racket code[2]. "mzscheme"[3] is an early version of PLT Scheme, aka Racket. [1] https://github.com/arclanguage/anarki/blob/master/ac.scm https://github.com/arclanguage/anarki/blob/master/ac.scm [2] http://arclanguage.org/item?id=14608 http://arclanguage.org/item?id=14608 [3] http://docs.racket-lang.org/mzscheme/ http://docs.racket-lang.org/mzscheme/
- andrewchambers 12y agoLearn scheme and you can handle all lisps, learn C/C++ and you can handle all the imperative languages, learn ocaml/haskell and you can handle the rest. That is 3 languages to master.
- FreeFull 12y agoUntil you come to Prolog, or APL/J/K and realise that none of these languages have fully prepared you either. And then there are other things out there too, that will leave you learning all over again.
- jevgeni 12y agoI have this ritual every year or so, where I try to write J, sigh, and go back to pedestrian F#.
- eggy 12y agoI always do one-liner stuff in J, and I keep trying to get into F#. I recently bought Dyalog's APL. I thought the symbols would get in the way, but it's a whole other door opening. I really like the array-oriented languages for math and science. Even Julia and Numpy are attempts to do what the APL/J/K family have always done. I've always had Racket on my machine, before it was called Racket. Having an IDE and a good standard library right off the bat is great for beginners and dabblers like myself. I do not program for a living. I only program when I have a math or engineering problem to solve.
- jevgeni 12y agoRacket is amazing, I agree. :)
- jwdunne 12y agoAPL and friends blew my mind when I read about them. I remember thinking "You can do all that with just those characters? That's the same length as the word function"! It's a good job I read this far down, I made a mental note to learn J but, as usual, forgot it by the time I got home. Thanks!
- e12e 12y agoYou forgot Prolog, and maybe Smalltalk (although CLOS may help or hinder you in understanding message parsing/"proper" OO)... but otherwise, yeah pretty much. [ed: and perhaps PostScript/Forth...]
- andrewchambers 12y agoYeah, forgot about logic programming. There are some specialist languages too, and hardware languages like VHDL. Overall, I think the more languages that exist, the better. Some people think we should be moving towards more domain specific languages. There is a balance between using the best tool for the job, and getting a large potential developer base.
- bjwbell 12y agoC/C++ is not like all imperative languages. Basic, Go, Python - those are more bog standard imperative languages. C/C++ are off in a world of their own with implementation specific behavior (compiler, arch, ...), undefined behavior & memory safety.
- andrewchambers 12y agoIf you know C/C++, the concepts of Go and python should be easy. Especially since you understand how python itself is implemented.
- bjwbell 12y agoI just pity the poor person who learns C++. I pity myself for having learned it.
- danieldk 12y agoWhy? I think following a 3/4rd year university course on C++ was one of my best investments ever. Nearly every imperative language is a walk in the park after you know C++, and you can still write C++ for performance-intensive code (if necessary with expression templates et al.).
- TeMPOraL 12y agoTotally agree. Also, I'm very happy I learned C++ as my first language (after little bit of dabbling in QBasic, Pascal and VB in primary school). When you're learning programming for the first time, you have no reference points. You either learn it or don't. So I learned C++, not once thinking it's difficult or complicated, and it became my reference point, making other imperative programming languages trivial to learn.
- deleted 12y ago[deleted]
- harperlee 12y agoI don't get the argument. Can't I say then "learn Logo and you can handle all programming?" Because you are defining an arbitrary cutoff of functionality and detail further which there is no effort involved in "handling" new languages, based on your experience, I suppose.
- serf 12y ago>IMO it looks like were getting too many damn programming languages which is something I'm starting to really dislike. Are there more now? I remember a zillion niche pet languages from forever ago. Now a days I see less, probably because it's not in-style to write an in house scripting language for every single new project, they tend to just use a language that is nice off the shelf.
- 59nadir 12y agoWhile I understand your frustration with 'too many languages', Racket is older than quite a few (started in '95). I also think the danger of having this attitude is that if we all thought like this nothing would become better. If no one wanted to get out of C++ we wouldn't have had many languages. The premise behind Racket, in broad strokes, is to provide a platform and programming language for making new programming languages. The most important identifier/keyword in Racket is '#lang' (specified at the top of a file to tell Racket which language the file is in). It's a whole ecosystem in which a multitude of languages exist and the only thing they really need to have in common is that on some level they speak Racket. Personally, I think the above paragraph explains how exciting Racket as a language and platform is, but it doesn't sound that interesting on the surface. It does allow people to create things like this[0] and this[1], though, which displays real practical use; shaping the way you solve the problem to fit the actual problem. [0] http://www.youtube.com/watch?v=oSmqbnhHp1c http://www.youtube.com/watch?v=oSmqbnhHp1c - Naughty Dog's scripting language [1] http://pollenpub.com/ http://pollenpub.com/ - A web book publishing language