in

He keeps insisting his polymorphic types must be separate because he doesn’t “believe in inheritance” 😭

He keeps insisting his polymorphic types must be separate because he doesn't "believe in inheritance" 😭 | code-memes, engineer-memes, iphone-memes, google-memes, try-memes, scala-memes, warning-memes, compiler-memes, ide-memes, twitter-memes, retweet-memes, runtime-memes | ProgrammerHumor.io
code-memes, engineer-memes, iphone-memes, google-memes, try-memes, scala-memes, warning-memes, compiler-memes, ide-memes, twitter-memes, retweet-memes, runtime-memes | ProgrammerHumor.io

Content

Thread Jamie (Softcore) Kyle and Jon Giengset liked Travis Brown (20-30 parody) travisbrown As a Twitter engineer I can confirm that Elon Musk just doesn’t understand type erasure. He keeps trying to pattern match on generic types and we keep explaining that those aren’t available at runtime 4:39 AM Nov 16, 2022 Twitter for iPhone 678 Retweets 126 Quote Tweets 10.5K Likes 17 Tweet your reply Reply Travis Brown (20-30 parody) travisbrown Nov 16 Replying to travisbrown Idon’t know how many times I’ve had to tell him in code review that his implicit ExecutionContexts aren’t actually doing anything. Twitter Futures don’t work that way, you need a Future ool 6 17 34 1,607 Travis Brown (20-30 parody) travisbrown Nov 16 I wish he’d stop fucking with the Scalafmt config. Hundreds of thousands of lines changed every time he touches my team’s code just because he can’t decide whether he wants align.openParenCallSite on or off 5 17 37 1,501 1, Travis Brown (20-30 parody) travisbrown Nov 16 We haven’t been able to explain the difference between map and flatMap so he keeps returning FutureFuture Unit when he needs FutureUnit and then yelling about his effects not happening 10 17 51 1.516 Travis Brown (20-30 parody) travisbrown Nov 16 "What does warning: discarded non-Unit value mean?" Maybe google it, Elon, sometimes the things the compiler says are actually useful 9 31 17 59 1.903 Proarat