Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Learn both. They do complement each others, and I’ve found especially F# having been beneficial for grasping new languages with far less effort. Not sure if by virtue of the qualities of said language or whether I went over some threshold while learning F#, tho. Anyhow, I do recommend learning both, and there’s absolutely no need to stick to just either.
And I’m just talking F# v Rust here. When it comes to fp vs lower level, I recommend learning fp for it enhances your theoretical understanding, which does help with the lower level stuff even if you’ll find yourself not using fp as much per se in that context. -
Both. I'd also recommend doing some assembly programming to really get how the lowest level hardware-software interface looks like.
-
Geoxion9024yChoose Rust! It is both low level and has a lot of concepts from the functional word, like traits and sum types.
-
Functional vs "lower level"?
How the fuck is oop, or structured "lower level"?
Why not use a generalized language so you don't have to choose?
Like C++,
which is an extremely high level language if you program it right and you can go as low as you want. Including to assembly language.
Jeebus, programmers today. "Its hard". Back when I learned to program you just picked up a language and didn't cry about it. -
@Geoxion sum types are one of the most awesome features that programming languages can have.
But I‘ve never thought of them as functional. If they have something to do with functional programming, can you explain what the connection is? -
@Demolishun That's because the hard part was only to follow up, namely making a compiler when all we had was wood - if we were lucky.
-
@Lensflare Next thing he say that lazy eval is only functional. Yes, I am salty today.
"I felt like destroying something beautiful" -
Geoxion9024y@Lensflare yes, I wish C# had them as well.
Ok, maybe sum types themselves are not functional. But you can use them to create Option and Result types, so monads. -
@Demolishun Honestly you made me feel pretty shitty and stupid, I don't see how I deserved that, but I also think your comment might have a tiny seed of value in between the misunderstanding and the derogatory stuff.
I never complained that "it's hard", my C# is just much stronger than my C++. But I love C++.
That said, I find the sentiment that a programmer "shouldn't complain" to be really weird and toxic. If you can find a way to make things simpler and easier, then that's a win right? Isn't easy code a good thing and hard code to be avoided? A lazy programmer is a good programmer, anyone?
Now: who said that oop or structural is "lower level"? What are you talking about dude?
Was it wrong of me to call Rust "lower level"? Is that your problem?
Please explain, preferably without making me feel shitty and stupid.
Thanks -
@daglundberg No man, I went on the attack and misread something. You are right to call me out. I will try to be less of a dick. I usually try to be funny, but I can be mean. As you can tell. You were just asking a question. So I am truly sorry for abusing you. I will try to be better. You seem like a good person. It will be all good only when I do better.
Fuck fuck fuck! There, that should help me center myself a bit. Cheers. -
dstm1284yLearn both types of languages! My recommendations are:
Haskell (functional) and C (low level).
I like both languages a lot and have learnt so much with these even though I am not using them on a day to day basis. -
@Demolishun the creator of c++ on the importance of learning multiple languages and the problems with being a monoglot https://youtu.be/5An1sNznblQ
Should I try to learn functional programming or focus on a lower level language?
My strongest language is C#.
I'm looking at F# or Rust atm.
Thoughts?
question