I came to the realization that functional programming is not for me.>Hindley-Milner type systems are retarded>significant whitespace languages are retarded>no loops, recursion only is retarded>everything MUST be immutable is retarded>(((lisp))) is retardedturns out, i only really liked tagged unions and exhaustive pattern matching. let's just steal that and implement it in mainstream languages like C++/C#/Java and leave the rest of the retardation behind for fpfags
>>107811366>significant whitespace languages are retardedWhy?
>>1078113931,copying code snippets from other places like stackoverflow or nowadays chatgpt will cause the indentation to be fucked up almost all the time.2,cannot be minified3,the compiler will randomly start crying when you want to align things nicely4,invisible characters should not define how the program behaves
>>107811418>1"other places" worth a damn will already have indentation. both your examples included>2retard>3what?>4false and frankly retarded
>>107811418>1No it doesn't>2Doesn't matter>3You're not aligning things nicely>4Youmeanlikethespacecharacterdoes?
i dont know what you said but AWOOGA ooga booga that picrel!!!!!
>>107811453>"other places" worth a damn will already have indentation. both your examples includedyes and most editors will fuck it up when you paste unless you use fucking emacs or notepad like a cavemen
>>107811505>most editors will fuck it up when you paste unless you use fucking emacs or notepad like a cavemenvim has done The Right Thing(tm) here since forever, wtf kind of old ass 7.4 shit are you using?
>>107811366functional programming is just when the verb does first. object oriented programming is when the noun goes first. it's just>walk(the_dog)vs>the_dog.is_walked()
>>107811597that would be procedural vs oop actually
>but muh lisp macrosno one gives a shit
>>107811597>>walk(the_dog)I like this one. Which language do I learn?
>>107811597No, it's not.FP is a paradigm based on the lambda calculus, so no global mutable state, no side effects, no jumps - only recursion
>>107811366are you dumb?syntax always need whitespaces to separate thingsvoid f(){}int x =// you can't do:voidf(){}intx =
void f(){}int x =// you can't do:voidf(){}intx =
>>107812118you know what i meant nigger
>>107811366computer is applied math, anonso fp which follows math faithfully makes the most sense
>>107812172computers are literally a gigantic global mutable state thoughbeit. fp people are just as religious and ideological as oop niggers and they both ignore the hardware. the moment i learned haskell uses dogshit slow linked lists of characters for strings because it fits better into their immutability ideology is the moment i understood fp fags don't care about pragmatism or good engineering either. both fp and oop fags just want to live on top of a billion abstarctions where they dont have to think about the "yucky" hardware anymore. two sides of the same coin
>>107811366filtered
>>107812199I'm gladly filtered amongst all the other people who build actually useful shit. Nothing useful is ever written in fp trash languages because your immutable "everything is a math formula" bullshit doesn't translate to the real world. no operating systems, no game engines, no databases, no browsers, nothing.
>>107812189computer is a dogshit that doesn't follow math which causes many bugscomputation should always be immutable and purecomputer was originally pure like math functions, until some retards added side-effects and merged it with pure computations which fuck up everythingwhile oop is a dogshit wrapper around imperative programming which does not change the imperative paradigm, fp however does change the behavior of the computation
>>107812239this is exactly what i meant when i said fp niggers are ideological cultists thanks for demonstrating. you look at the world as how you think it should be and not how it actually is. I'm personally really happy we have a paradigm we can use to quarantine your kind off from any real engineering
>>107811366>>107811418whitespace is just like any other charactertwo spaces mean two chars, which means indentation level twothree spaces mean three chars, which means indentation level threewant another level? just add one spacehow much of a brainlet can you be to not be able to grasp this?
>>107812293sometimes you want the ability to freely spam as many spaces as you want for code alignment. python would not allow this and my code would be forced to look ugly
>>107812321>cshartno wonder you got filtered
>>107812329At least C# is used to write real software unlike all the fp shitlangs
>>107812189functards and cniles are way more zealous than OOPchads. only the first two impose their shitty practices on other paradigms. and it doesn't help their case when practically all of their complaints about OOP are either based on deliberately bad practices, or blatant evidence that they got filtered by OOP and have no idea how to make it work
>>107811366there is a reason why functional programming courses at the university are taught by absolute autists. and i mean REAL autists.
>>107812293spoken like a true bitch slave to his own computeryes, whitespace is "just another character" for a computer, but for a human it's *spacing* between actual symbols. the human is the master in this pair, the code should be aligned for him
>>107811366>>Hindley-Milner type systems are retardedretard
Programming in general is not for you.
>>107811366Fuck, I wish this was me.
>>107812896>type inference is so gooooooodthe type is an anchor.you can use it to go to definition immediately.you can use it to find all references to a type.you can use it to rename a type in place immediately.The Hindley-Milner type system assumes that typing out the types is the "problem" but in fact it is not.
>>107812896retard
>>107811418>he doesn't know about pic relatednigga what are you doing?
>>107815224That will literally ruin your code in significant whitespace languages
>>107815496>t. never coded python in vscodeok
common lisp has loops, no significant whitespace and mutability. same for scala.
>>107815609((((((()))))))
>>107815862unironic skill issue