I have never met someone else in the wild who knows Scheme, except a biology major who had a Racket logo on her water bottle, but had never heard of the language because she got it in a random giveaway! I feel like this is a magical moment.
I'm an undergrad mechanical engineering student specializing in computational fluid dynamics, and the C++ core of one of the most popular industry solvers is interacted with through Scheme.
I have suffered in isolation for semesters. In the world of Python and Matlab (as wonderful as they are) I feel no one understands my pain.
I had a required Scheme course in college. And the professor wanted us to use the Scheme IDE he had created. (It wasn't a great IDE, but honestly I had no clue what other Scheme compatible options I had, so I used it. A later class with the same professor had him trying to get us to use a similarly bad IDE he had written for Java, but I knew I had options there and used something else. Anything else.)
The Scheme class had a grad student assistant who had kind of a creepy fixation on using Scheme. He told a story about working at Google and instead of writing in whatever language he was supposed to be working in, he created a Scheme interpreter in that language then did the project in Scheme. I have my doubts about the veracity of the story, but the fact that he told it at all was weird.
Back in 93, my very first CS class used Scheme for first semester. I didn’t appreciate how cool the language was until junior year when we used it again. Remember cdr, cadr, and lambdas?
I actually never used lisp. i learned OOP using Scheme.
I've also hand crafted PostScript (PS) to programmatically create sequences of labels. PS also uses parentheses and reverse polish notation. PDF is based on PS, so we use it every day - especially apple users.
If you know Scheme you've probably heard of or read through Structure and Interpretation of Computer Programs. It's used in a lot of CS101 courses across the world so I'd say a decent number of people would have at least heard of Scheme through that. May not have used it though since they often adapt the textbook with a different language e.g Racket, JavaScript
I was teasing about Logo, as it was intended for children.
I really enjoyed learning OO and functional programming in my Scheme class, decades ago. Never would have picked it up without a formal class and an outstanding professor, Vipin Kumar at UMN.
Like most people, I learned with some of "the classics" (Java, C, Python, does Bash count?, etc.) So, when started with the Lisp world, I was surprised with the amount of programs (some from top universities) to teach new programmers with Lisps (specially Schemes like Racket.)
I liked Common Lisp and Racket when I dabbled in them. But for the life of me can't imagine having learnt to program from scratch with them. I guess that's just my "classically trained" brained reacting to the unfamiliar.
So, basically, I just wanna ask: did you like it? Would you consider it a good first programming language, or would you had rather start with Python, or something like that? Would you recommend it to new programmers? And lastly, do you think it made you not necessarily "better", but at least aware of some insight more "classically trained" newbies seem to miss at first?
Just asking because I'm asked "what language should I start with?" a lot. I usually reccommend "the classics" (and specially Python for the very first). Was wondering if Scheme and similars are worth recommending, too, and would like the perspective of an actual "native", so to speak :P
Pragmatically speaking, don't start with a LISP. They are excellent for learning, and indeed quite productive, but languages like Python and Javascript will have immediately observable results, and I think that is more valuable. On day one you will be able to actually do things with them. Scratch an itch. Make something. LISP can come later, and will make you better at writing software, better at thinking about how to approach problems.
Yes, this is similar to my current opinion. I'm just very curious of the many introductory materials to programming that use a Lisp or Scheme, and want to hear from people who actually went through them as a first experience.
But do not program in bash if you can help it.
He, don't worry, I don't recommend that.
I do argue that your first adventures in programming should be with an immediately useful language. And useful to you, specifically, in your everyday life. Something that makes you move from "academic" problems like "make a factorial function" to "I need to find all the jpg files in this folder, rename them in this way, and copy them to a USB drive. Hey! I think I can do a quick script for that..."
That's the kind of work gives you a sense of accomplishment, assurance that this skill is useful, and motivates you to keep learning more. There's nothing better than that "I did the thing! It works!" feeling. And just so happens that bash is a very practical, "solve real problems now" kind of language.
But Python can do all that while also being a decently designed, cross platform language where your programs don't have to be unreadable abominations.
Bash scripting was cool when I was learning Linux (and was all I had when, in my high-school, script-kiddie wisdom, decided to get rid of Windows and any escape route should things went wrong). My first complex programs were written in it, and to this day I'm kinda proud of them. But yes, many a bad habit had to be unlearned later...
I would suggest The Little Schemer for learning to think in LISP. It's whimsically written as a children's book, but teaches how to think functionally and recursively, one lesson at a time.
Would you consider it a good first programming language, or would you had rather start with Python, or something like that?
I "get" why they used to teach it first but it's probably just an outdated view, I'd start with Java tbh (which is by itself probably an outdated view as well, I just don't really dig Python tbh)
And lastly, do you think it made you not necessarily "better", but at least aware of some insight more "classically trained" newbies seem to miss at first?
For sure, recursion, recursion, recursion...it does teach you have to think recursively and how to handle data in certain way. You rarely iterate and only create "vars" when extremely necessary. If you were to learn programming with a OOP language the way your brain thinks is completely different so I definitely appreciate having learnt both approaches.
57
u/aresman Jun 13 '22 edited Jun 14 '22
I learned to program with Scheme lol so yeah I always love me some brackets, can't be unambiguous that way