4 ms·
> In the C family for example, you have both C and Javascript. There is no reasonable sense in which JavaScript is in the “C family”. It's not really even in t
by dragonwriter 3y ago
> In the C family for example, you have both C and Javascript.
There is no reasonable sense in which JavaScript is in the “C family”. It's not really even in the broader Algol family that C is in, being most closely related to Self and Scheme (the latter being in the Lisp family.)
- monsieurbanana 3y agoI just took a random example from the wikipedia page of C languages: https://en.wikipedia.org/wiki/List_of_C-family_programming_languages https://en.wikipedia.org/wiki/List_of_C-family_programming_l... I don't think that takes away from my point, in each family of programming languages you can find very different ones and lisp is not a language but a family of languages. Besides using S-expressions, I don't know what else you would need to be considered a Lisp.
- DonaldFisk 3y agoIf you know C, you don't need to learn a new syntax if you learn C++, Java, C#, or Javascript, except where their semantics is different from C. In those languages, this was a good design choice, which encouraged people to adopt those languages.
- lispm 3y agoA language syntax is quite a bit more than { }.
- hencoappel 3y agoC family here refers to syntax style. In this case the general use of curly braces to denote blocks and often semicolons to denote end of statements. Another example of such a family would be the ML language family with languages like Haskell and F Sharp.
- akkad33 3y agoIs Haskell in ML family? I know Fsharp and Ocaml are but Haskell seems to be very different from them synctically with the only similarity being that it is functional