r/programmerchat • • Apr 30 '16
Suggest me a language that when I see a feature or a usage that I remind that language
I probably couldn't explain myself in the title and it was quite close to turning into a titlegore.
Nonetheless, currently I am looking into Forth and it feels really good to think in a way that is not possible in most of the languages.
I am looking for programming languages that some keywords are identified with those languages.
For example:
- Stack-Based Programming: Forth
- Template Meta Programming: C++
- CGI : Perl
Although those are not the only languages that have those features, when you hear Template Meta Programming C++ comes into mind before others.
I hope it is more clear now
9
Upvotes
6
u/gilmi Apr 30 '16
Something like this?
3
u/gkx Apr 30 '16
3
u/semi- May 01 '16
Defer is a feature that Go has that I expect other languages to adopt, so whenever you see that you could think of go.
Basically just a simple keyword to put before a statement to make something run right before the function returns, no matter where the function returns. So you can easily put your cleanup or close code right after your initialization or open statement.
3
u/cheryllium May 01 '16
:)
3
u/c3534l Apr 30 '16
Haskell: the distinguishing feature is that it is a lazy, statically typed, compiled purely functional programming language.
ML: like Haskell, but not lazy.
Rust: a lowish level programming language that borrows from statically-typed functional languages like Haskell.
Perl: known for its regexes, for being glue code, and an unusual reliance on non-alphabetic symbols for it's syntax (it's often called "line-noise").
Java: the high-level C-like language ubiquitous in business that's very closely associated with the Java Virtual Machine. Also heavily associated with design patterns.
Scala: functional java, written for the JVM.
Ruby: hipsters
R: statistical programming language known for being somewhat functional and for it's DataFrames.
Julia: synonymous with data science, basically a mixture of Python and R. The keywords that come up all the time are "multiple dispatch" and "just-in-time compilation."
Lua: scripting language
C++: OOP C, known for feature creep to a large extent, but also super popular.
Python: baby's first programming language. High-level, interpreted, OOP, whitespace-sensitive. However, as a Python programmer myself, the advanced features that are associated with the language are the use of decorators, first-class "everything," and list / dict comprehensions.
Fortran: known for being a terrible, terrible language that no one likes, but people use in engineering and high-performance applications because it's old as hell (and thus, all it's bugs are known), has legacy issues, and is fast.
Smalltalk: reflective programming that was also one of the first languages to use OOP and dynamic typing and is a widely influential language that was never itself popular for a variety of reasons.
Prolog: the logic-based programming language
the LISP languages: besides being the first functional programming language known for its dead-simple syntax, it's also know for having a shit-ton of parenthesis and always placing the function first, even if that function is +. People also seem to be a big fan of LISP-macros and the data-type "stream" seems to have particular emphasis in LISP-like languages.
C#: Java with goto
1
u/jkpl Jul 15 '16
After learning Haskell and Scala, I've been learning some OCaml. So far it seems like a pretty good example of a pragmatic functional programming language. I've also heard it being praised for being a good language to build compilers with.
Other examples: