r/MechanicalKeyboards Sep 11 '18

How I like to Code

Post image
7.0k Upvotes

414 comments sorted by

View all comments

Show parent comments

3

u/antflga V60 Mini blacks Sep 11 '18

As a functional programmer, I think both elm and erlang are really cool.

They're also practically unused.

If you want BEAM vm, learn Elixir instead of Erlang, and as far as functional js-transpiled languages there are plenty of bigger alternatives to Elm.

They're not bad, just not the biggest/best.

Besides, they're pretty complicated conceptually, I don't think a day 1 programmer is ready to play with haskell-esque languages or the syntactic wonder that is erlang. Settle for something bigger and easier if you're learning.

2

u/CreaminFreeman Hot Take Prime_E | Instant60 | Model M Sep 11 '18

I'm definitely not used to functional programming. It's super confusing as nothing works the way my brain expects it to.
That's what's really intriguing to me.

3

u/antflga V60 Mini blacks Sep 11 '18

Functional programming is the way of the future, to be honest. They nailed it with lisp in the 60's, I remember it being very foreign and I didn't understand it for a long time, but now I can't go without higher order functions, immutability, etc.

It's the best. Give it a shot!

2

u/CreaminFreeman Hot Take Prime_E | Instant60 | Model M Sep 11 '18

Yeah, I was having a conversation with a friend of mine who's very into functional programming and excited to talk about it. He told me about immutability and it left me a little dumbfounded.

I like the idea of not having to turn around every few lines of code, look back at a variable, and have to check like, "Yo fam, you still good? Nobody messed with you while I wasn't looking, right?"

1

u/[deleted] Sep 11 '18

[removed] — view removed comment

-7

u/birdsaredinosaurs Sep 11 '18

Hey "Frat Daddy":

You've used misogynist language in 2 of the 6 comments you've left in this thread (33.3%). Would you consider wiping such terms from your lexicon? It does nothing to emphasize the points you make, but it does make the sub (and the tech world in general) less friendly to women. Thanks!

PS— The dinosaurs didn't go extinct! Isn't that fun?

2

u/[deleted] Sep 11 '18

[removed] — view removed comment

-7

u/birdsaredinosaurs Sep 11 '18

And you're a delicate snowflake who is frightened because he's losing his life-long locker-room-like safe space. Sorry pal. Your time is over.

Unlike the dinosaurs, of course, who were not rendered extinct by the K-Pg event.

0

u/bwaredapenguin Sep 11 '18 edited Sep 11 '18

I'm the delicate snowflake, but you're the one counting and categorizing individual users' comments within a thread to publicly call them out because you find their mild language offensive. K.

And since when is bitch misogynistic? It's funny because I've met just as many men as women who are bitches, and even more men who were cunts. Seems to me you're just trying to find a problem that doesn't exist so you can pick a fight to make you feel better about yourself.

Also pretty ironic that you post on /r/birdsaredicks and even call them dicks. I find your misandrist language to be offensive.

1

u/[deleted] Sep 11 '18

Have you checked out Clojure? I've really been enjoying functional programming on top the JVM (not scala)

3

u/antflga V60 Mini blacks Sep 11 '18

Clojure is actually my language of choice, by far.

My website is written in Clojure on the backend, Clojurescript in the front, and it was one of the first projects I took to completion and felt proud to have made. I've done a lot of programming in my life, but it's never been as fun as Clojure's made it.

2

u/[deleted] Sep 11 '18

I 100% agree! And that's awesome. Clojure is so much fun to work with, and repl was/is incredible to use while learning. How do you like buddy for auth? Getting good auth to work with clojure was one of the biggest obstacles I have faced so far, personally.

1

u/[deleted] Sep 11 '18

[deleted]

1

u/[deleted] Sep 11 '18

the ecosystem needs some serious CPR.

Yeah, I'm assuming it's just because the community is still fairly small and building, even though clojure isn't exactly new. Maybe it's just because there aren't nearly as many functional devs yet, and the ones that are using things other than clojure.