loading...

What is your favorite “non-mainstream” programming language?

ntrupin profile image Noah Trupin ・1 min read

Forget about Python, JavaScript, Java, and those other massively popular languages — what is your favorite “non-mainstream” programming language?

Some examples of these include:

Discussion

pic
Editor guide
Collapse
vonheikemen profile image
Heiker

Don't have favorites but I have been keeping an eye on this:

Collapse
deciduously profile image
Ben Lovy

Have you used either Nim or V? Nim looks like it could be pretty useful, especially. V looks great in theory but I'm still not sold. Both have been on my radar too... gotta look into the rest.

Collapse
ntrupin profile image
Noah Trupin Author

I've never used V before, but have been following its development on GitHub for quite some time.

I have used Nim frequently in the past, it's definitely a useful language.

Thread Thread
deciduously profile image
Ben Lovy

I snooped, while ocelot is cool in and of itself and I'd need to spend some time researching, can you comment on pros and cons of Nim for the implementation? What might you have used if it didn't exist, and how did Nim address any shortcomings?

Thread Thread
ntrupin profile image
Noah Trupin Author

The expressiveness and forced formatting (statements being grouped by indentation) allowed me to keep a clean, understandable code style while crafting the project.

However, modularity with a large struggle; if a file required another file, the required file could not require that file or any file that required the original file (I know -- confusing). It made splitting the compiler into components difficult, as strategic planning was required to know what to put where so that they could be brought together.

Thread Thread
deciduously profile image
Ben Lovy

Interesting, thanks. That seems like a problem that small-to-medium programs can overcome, but it's a bit of a showstopper if you want to scale indefinitely. Is that accurate, or do you think this language could be used in the large?

Thread Thread
ntrupin profile image
Noah Trupin Author

I do think the language could be used at large, because you combat the import struggles the creators of the language also added an include statement, which brings the code for another file into the file that calls it. This can lead to rather bulky statements at the top of files, but is rather powerful in splitting up modules without worrying about shared imports.

Collapse
ntrupin profile image
Noah Trupin Author

Personally, my favorite is one of the languages I gave as an example, Io.

I’m quite fond of the protocol-based structure of the language, and the everything-is-a-message (even assignment!) approach.

Collapse
4mitch profile image
Dima

the only bad thing in Io is its name. Impossible to Google something about "io" :)

Collapse
vfabricio profile image
Vilson Fabricio Juliatto

These are not so far from the mainstream, but I love Haskell and Clojure.
They both expanded my horizons a lot, each in a different way.

Collapse
deciduously profile image
Ben Lovy

Favorite niche-but-kinda-still-mainstream-niche: Rust - here's the book.

Favorite actually off the beaten path: ATS - here's the book.

Collapse
ntrupin profile image
Noah Trupin Author

Rust is a personal favorite of mine! I’ve used it for many projects over the past couple of years.

I’ve never heard of ATS, but will certainly look into it.

Collapse
deciduously profile image
Ben Lovy

ATS is pretty hardcore - it's pulling in lots of disparate ideas. That's not always the right way to go, but it's already extremely powerful given how new it is. Shoulders of giants and such.

Collapse
charlesbarouch profile image
Charles Barouch

mvBASIC, I also work in Lazarus/Delphi.