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
-
I've had a very hard time to go through the official tutorial of learning Haskell. I just can't get it into my brain 😂
-
Haskell can be a bit difficult to get started with yes. This might help (you can ignore the anti-Haskell Platform bit)
https://github.com/bitemyapp/... -
@RememberMe The stuff there is so much better than the original website tutorial, wow.
Thanks. -
galena71915y@irene Numbers themselves are good, I mean I can count. But if the want to tell me something thats makes no sense to me, I suffer!
-
@JFK422 you could try reading up on some computer organization and architecture first. Pointers are trivial after that, since C is basically just a thin layer over assembly and very easy to understand if you have a good mental model of the hardware.
-
Learning what compiler does with symbols and what is linker gives C/C++ more sense.
-
Haskell is a *fantastic* language to learn. It forces you to think functionally, and the ability to switch to a functional way of thought is pretty critical in modern development.
-
@irene why bother when you can recreate Prolog inside Haskell - even as an embedded DSL if you really want. You get to deal with both TemplateHaskell and logic programming, what a win!
-
@irene I didn't see your comment.
The most confusing stuff with C for me was simply the sheer count of methods. For example concatenating two char arrays wasn't as easy as simply using a +.
So, basically just learning how it's all done on the lower levels. -
@PrivateGER isn't that actually easier? There's nothing hidden, you know exactly what's going on in every single line of code, there are no hidden allocations, object creations and destruction, etc. Well written C code is pretty clean while being very explicit about what you're doing. You can also use a naming convention like ModuleName_FunctionName (eg. SDL2's SDL_CreateWindow() function) to help organise things.
-
john-doe9405y@irene prolog is not hard at all. Is basically a language build to describe problems to a backtracking engine.
-
john-doe9405y@irene it's only backwards if you think as you'll think in other languages.
Normal imperative languages are designed to work with a von neuman machine.
Prolog is designed to work with a logic engine.
Postcript is made so that you can talk to a stack manager. BTW learning postcript is fun.
You need to understand the underlying machine, just as in C. It might not be an actual machine, but a logic engine, stack manager or what have you.
Learning C was easier than learning Haskell, and learning C was atrocious.
What in the actual fuck is this?
random