Sure, one can use SDL2 or whatever to draw lines, and, sure, these figures have "aliasing", but the tasks call for aliased figures. (I already did antialiased lines in ATS for a different task.)
One might notice a couple of things. In the current version of all these codes, (a) you do not need a garbage collector, because it’s using linear types, and (b) you do not need the math library and I do not use floating point.
(I temporarily had floating point while I was confounded to find what I was doing wrong with integers.)
I'm trying to decide if the simplicity of just making every struct field public in #rustlang, actually worth the risk of people/future me, not using the constructors and/or adding mut and changing the validity guarantees that come with using constructors or transformers that are accompanied by the struct.
Hi, as a #FunctionalProgramming beginner, I'd appreciate any guidance. Links to in-depth discussion, examples, and summaries would be great. I'm pretty fine with #JavaScript overall, and have used some FP features, but strict FP is new to me.
Also I realized that using the transparency channel meant I had no need for gamma correction! But it then did require constructing an image from parts. That’s what made it more fun, though.
So I have a few thoughts on why Haskell is not more popular.
Haskell sort of dropped the ball by not being more user friendly. This is not about "keeping Haskell simple" - I like the fancy types and advanced features in Haskell and I wish it would get more such features - this is specifically about the community and the new user onboarding experience and how to fix it.
"Something I'm curious about working on is an imperative dependently typed programming language that uses linear types and #TypeTheory to keep the mutation in line. Something I have to admit is that I'm not actually interested in #FunctionalProgramming. I'm simply interested in #types."
「 As the name suggests, with purely functional programming, the developer can write only pure functions, which, by definition, cannot have side effects. With this one restriction, you increase stability, open the door to compiler optimizations, and end up with code that’s far easier to reason about 」
— IEEE Spectrum
I've been on masto quite a while now, so I think an #introduction is overdue.
Moin. I am a (soon to be finished) computer science student in Germany. My interests are #FOSS#functionalProgramming and #gamedev. I focus on 2D puzzlers but am open for more. I am also interested in human languages. Especially conlangs like #TokiPona. If able, I go climbing fairly regularly.
Sadly I am not very good at expressing myself so if I say something controversial, take it with a grain of salt.