Introduction to Programming Languages
hjaem.info
Introduction to Programming Languages
1–10 of 11 posts
Re: Introduction to Programming Languages
#2Re: Introduction to Programming Languages
#3I find the above the best introduction to a programming language.
Re: Introduction to Programming Languages
#4[flagged]
Re: Introduction to Programming Languages
#5[flagged]
Is Scala actually special for doing this? Would Python equally work or JS / C wouldn't work because types?
Re: Introduction to Programming Languages
#6Earlier quoted context omitted.
Is Scala actually special for doing this? Would Python equally work or JS / C wouldn't work because types?
Implementing a programming language is very easy when you have pattern matching and algebraic data types (which implies types). Python, JS, and C lack some or all of these. Scala is not special in this regard, though. Any modern language with FP ancestry will have these features.
It bugs me how languages like JS are clean but any custom domain-specific language made in them is ugly.
Re: Introduction to Programming Languages
#7Earlier quoted context omitted.
Implementing a programming language is very easy when you have pattern matching and algebraic data types (which implies types). Python, JS, and C lack some or all of these. Scala is not special in this regard, though. Any modern language with FP ancestry will have these features.
So its good because of Scala's ability to implement a programming language and not Scala's language itself being good on its own for general abstract sudo like code. Or does Scala write cleanly (like people say Python does) and is also elegantly able to expands it's own simple syntax? It bugs me how languages like JS are clean but any custom domain-specific language made in them is ugly.
I've written a lot of Scala in the last 15 years or so, and I really like the language. It has features that most programmers are not familiar with, which can scare off some. My opinion is that if you understand the features it is a very elegant and simple language, particularly Scala 3.
Re: Introduction to Programming Languages
#8Re: Introduction to Programming Languages
#9Should be called "Introduction to Functional Programming Languages"