Alwin
1.4K posts

Alwin
@AnOceanGyre
This app is crypto bot mentions, OF bot likes and far right propaganda/edgy takes timeline. Consider this account inactive
Katılım Nisan 2016
124 Takip Edilen33 Takipçiler

FP languages have bad tooling... compared to what, exactly?
- C++. A horribly chaotic ecosystem. No standard package manager. Good luck with installing a compiler and libraries. Each IDEs is titanic: huge, slow, easy to break.
- JavaScript. Enjoy dealing with incompatible non-portable code that requires an army of transpilers. Also: ES6, Babel, Webpack. Cool buzzwords until you realize you have to configure your toolchain just to get "Hello, World!". Oh, and then there is Node.js.
The only language that has good tooling... doesn't exist. Every language is its own masochistic philosophy. Some just hide it better than others.
English

@jfohringer @ThomasWalach Dieser Typ kennt alle device Resolutions auswendig. Was ist den Stundensatz als App Dev?
Deutsch

@ThomasWalach Ach geh.
Die 14 Symbole (gleiche Fahnen) passen halt genau in eine Zeile. Also es entsteht dadurch noch kein Zeilenumbruch.
Oberndorf an der Melk, Österreich 🇦🇹 Deutsch

@DanielW_Kiwi Because we can't have simple FP. It will always gravitate towards monad transformers, tagless final, complex type signatures, ...
English

"But the humiliation of the European people is infinitely greater as they're gaslit about their right to free speech. That Vance doesn't know what he's talking about. Oh, and what about the Gulf of America?? It's pathetic." world.hey.com/dhh/leave-it-t…
English

@VSSENTHILKUMA13 @thechosenberg I see your point, but I would argue that your 50/50 framework brings nothing relevant to the table
English

@LeSuderer @AgendaAustria Liebe Agenda, wir hatten in den Jahren Rekordinflationsrate. Wie wär's?
Deutsch

This is a very hazardous false equivalence, and it gets trotted out every six months or so.
There's an important difference between the items in those two sets.
If I tell you, that say, this code only cares that some type argument is a Monoid, you know how to reason about it and come away with laws you can use to check if your code is correct without having to go down to the case-by-case instantiation of that code at every possible type.
That doesn't happen if I tell you it is a Strategy. What are the laws of a Strategy? The Gang of Four sure as hell never told us any. So now I have to read the code anyways, and still reason through every possible instantiation of the types. I've gained nothing except additional onboarding time, and some vocabulary for smells and feelings.
Now it did give us, for the time, a vocabulary that was better than what we had in the imperative world. It gave us a canonical reference chapter for each golden idea, complete with a smorgasbord of options to pick and choose between judiciously written so as to not offend anybody that their precious variant on the idea wouldn't fit the mold.
But, ultimately, the GoF patterns hold for a narrow range of languages. And patterns are really about expressing thoughts your language is bad at letting you properly encode as a library. They more or less acknowledge that in the book itself. They are by definition code that some poor schmuck is stuck writing variants on over and over.
But I can write a 'Monoid' and package it up and never rewrite that code again. Most consumers of it need never care too much about the details. You can know it is safe to foldMap with (at least for finite cases) as long as you trust the implementation to be correct to the claim of being a Monoid.
Now, we do have _plenty_ of "real" design patterns in functional programming!
* encouraging `higher-kinded` data to avoid having lots of copies of near identical structure
* "boring" haskell so you don't have to teach so many new tricks and more of the language works
* some folks like to newtype all sorts of things rather than rely on them being stringly typed.
* all the machinery we use to manage masking for exceptions is right on the cusp of being a design pattern. I say that because we _do_ get to reuse the implementation that was written by God and/or @simonmar back at the dawn of time, but knowing when and why to use the mask idiom takes about the effort of reading one of the GoF chapters.
* I gave a bigger laundry list here last time the oop design patterns vs. functional programming thing came up: x.com/kmett/status/1…
*tl;dr* FP isn't free of design patterns, but typeclasses aren't design patterns.
English

@Rainmaker1973 @JeremiahLu56985 @Swiss_Snoopy Wow you didn't even waste time to confirm my point. A call for subscriptions soon after this engagement bait.
English

@AnOceanGyre @JeremiahLu56985 @Swiss_Snoopy Alwin, you're a clear, fulgid example of person that has nothing to do but searching for extremely sick details in things. It's called Paranoid Personality Disorder.
QED.
English

@JeremiahLu56985 @Rainmaker1973 @Swiss_Snoopy Let's be real here. The arrows are absolutely unnecessary and a blind man could see that it forms a swastika. So assuming @Rainmaker1973 is not a Nazi there is only one explanation left: engagement, controversy, ...
So the post now has 10k likes and several hundred comments. QED
English

@Rainmaker1973 @AnOceanGyre @Swiss_Snoopy Oh well I didn't know that but I don't have it but calling people maniacs becuase of it is kinda retarded
English

@Rainmaker1973 @Swiss_Snoopy Bro, really?
"No, no, the arrows are totally necessary, tihihihi, you are seeing things tihihihaha"
English

@Swiss_Snoopy Not you too what? You're all going crazy? This is a damn astronomical chart, if you're seeing whatever symbol you may have a serious issue. Not my fault.
English

How many different values can return Math.signum(double) in #Java?
English

@chr_hofer Die gleiche Summe? Also nicht mehr % vom Gehalt, oder wie wollen Sie das machen.
Es verdienen nicht alle gleich viel...
Deutsch

Nein, das ist nicht gerecht. Wer nur Teilzeit arbeitet, aber die vollen Gesundheitsleistungen genießen will, der soll die gleiche Summe einzahlen, wie ein Vollzeit-Arbeitnehmer
Thomas Lippert@tlnue
Ist es gerecht, dass jemand, der wegen seiner Work-Life-Balance nur 25h pro Woche arbeitet, weniger KK Beiträge zahlt als der mit gleicher Arbeit mit 40 Wochenstunden? Die Kosten im Krankheitsfall sind doch (bis auf die Höhe des Krangengeldes) gleich.
Deutsch

If you’re a hardcore software engineer and want to build the everything app, please join us by sending your best work to code@x.com.
We don’t care where you went to school or even whether you went to school or what “big name” company you worked at.
Just show us your code.
English

@SolautSonja Warum trifft das die Frauen besonders?
Weil sie dank höherer Lebenserwartung überdurchschnittlich von dem System profitieren?
Deutsch

Die ÖVP will die Anpassungen bei Pensionen um einen %P unter (!) der Teuerung durchzuführen.
Das ist eine massive Kaufkraftvernichtung, die Frauen besonders trifft und der Wirtschaft enorm schadet.
Andras Szigetvari@ASzigetvari
Teurer Tabak, höhere Steuern, Aus für E-Auto-Förderung: So wollte die ÖVP sparen derstandard.at/story/30000002…
Deutsch

@SolautSonja @BernhardHam Nach der Logik: geben wir den pensionisten doch gleich das doppelte nachdem der Effekt 1:1 auf die Erwerbstätigen übertragbar zu sein scheint
Deutsch

@BernhardHam Wenn Pensionisten reale Kaufkraftverluste erleiden, geben sie real weniger aus, und die Nachfrage schrumpft. Schrumpfende Nachfrage für am Ende zu Stellenstreichungen und mehr Arbeitslosen – und kein einziger Erwerbstätiger hat real einen Cent mehr zum Ausgeben.
Deutsch











