So I suppose I should create an . I'm from and I work a lot with and . I primarily use , but I like , , , and . I run and , with /#nvim. I'm studying () and in general. I collect records and play games like , , and . I live in but I want to return to , permanently, or at least for a long time.

@andrewzah If you don't mind me asking, do you use #Crystal professionally or just for personal projects? What made you interested in it?

@circsarlatan I like Crystal for personal projects only atm. It hasn’t reached version 1 yet, and frameworks like Amber aren’t mature and tested yet.

Amaranth is my main project atm, which uses Crystal for the backend (Lexing / Parsing, Plugin Handling, a nice command DSL): github.com/azah/amaranth

I like it because it’s a statically compiled, strongly typed language so it makes me think hard about my data and structuring. And it has elegant syntax like Ruby.

@circsarlatan To clarify, I started out with Ruby (and Rails). So I'm gonna be biased but I think Ruby's style of syntax is really nice. I dislike Python's style.

Crystal has *almost* the same syntax but it's 1) safe, 2) compiled and 3) fast. Handling threads is nice as well, it uses CSP similar to Go. Crystal just gets a lot less press than .

Crystal's API documentation is phenomenal: crystal-lang.org/api/0.24.2/HT

So in general it's really pleasant to work with, fast, and not so verbose.

@andrewzah I actually used Ruby (and Rails) fairly significantly when creating a queuing system in a educational context. I could never really grok the language, too much magic I guess? Same goes for Python.

Did you also look at Elixir? That has *almost* the same syntax but as a functional language.

The documentation is why I'm currently looking at #Rust. Makes learning the language incredibly smooth.

@circsarlatan Yeah, Rails has a nasty problem of "Magic" things like ActiveRecord, etc, doing a lot of stuff under the hood.

What helped is watching a RailsConf talk about how things like ActiveRecord, etc, really work. After that it's not so bad, although I think Rails is overkill for a lot of applications. Sinatra + a basic ORM is pretty sufficient, but I digress.

I've looked at Phoenix/Elm/Elixir, and they look promising. Coming from Clojure I really like languages that make FP first class.

@andrewzah You came from Clojure? Then I have to ask: what made you 'leave' it? Haskell or Idris would probably fit your earlier criteria.

Follow

@circsarlatan Well, I started picking up Clojure for a few months. I really like it, but the errors you get are a nightmare to debug. So I just went back to Crystal. :blobshrug:

I want to learn at some point... I even have the haskellbook.com/ book.

Sign in to participate in the conversation
niu.moe

Welcome to your niu world ! We are a cute and loving international community O(≧▽≦)O !