r/hascalator • u/jdegoes ZIO • Sep 06 '19
I am functional programming fanboy #1 and OSS contributor John De Goes, ask me anything
With all the recent drama in the Scala community, I want to make myself available today to answer any questions!
They don't have to be drama related, either: yes, I'll answer questions about fitness or cooking delicious primal food. :)
_Please just respect the mod rules in place._
100
Upvotes
15
u/ciberon Sep 06 '19
Hey. Sorry if it's an intrusive question but I really wonder: how do you manage your work-life balance in terms of family, open source, preparing talks and source of income?
15
u/edwardkmett Sep 06 '19
Can you talk about the Drupal Confessions account and what happened there? It seems to be the brush used to color your actions the most by your opponents at the moment.
I frankly had never heard of it, and so am simply trying to get up to speed. Years worth of background context and a tale involving a shared account (?) makes for muddled history.
8
u/solovayy Sep 06 '19
John, you sometimes mention you have mathematical background. Which areas did you like and which did you find boring?
9
u/paweln1986 Sep 06 '19
Why don't you use Haskell instead of Scala?
7
u/[deleted] Sep 06 '19 edited Sep 06 '19
what is the best way to transition a team to go functional? my team uses Scala but the furthest we go functional is using Typeclass.
7
u/mac Sep 06 '19
Any thoughts on FP in a dynamically typed language like Clojure and clojure.spec?
7
u/eaparnell Sep 06 '19
First, thanks for your work on ZIO as it is awesome. I especially appreciate it is beginner friendly. My question is about Scala 3/Dotty: Are you concerned that this could cause a serious bifurcation in the Scala community and in the end reduce adoption of Scala? I say this especially in light of your "Scala Endgame" talk which I found hit the mark exactly.
Lastly, I appreciate that you are both a gifted engineer AND willing to mentor others. That seems to be a rare combination.
(btw, I contend I am the oldest adopter of ZIO at the whopping age of 59!)
6
u/[deleted] Sep 06 '19
why do you like scala?
6
u/say_nya Sep 06 '19
What changes should we expect in ZIO for Scala 3.0?
6
u/DecisiveVictory Sep 06 '19 edited Sep 06 '19
a) How do you "sell" people on FP in Scala (or Haskell or wherever) without them thinking it is overly complicated? Immutable data & pure functions and monads - and their benefits - are relatively easy to explain and thus "sell". But the more advanced topics get very abstract, and seemingly removed from real problems.
b) How does a "good Java dev" (and by this I include knowledge of the FP-esque features available in Java) get from where he is now to being able to solve http://degoes.net/articles/zio-challenge on his own? What is the roadmap?
c) What is your take on the future of Kotlin?
6
u/technolums Sep 06 '19
Hi John, I think it will be really hard to convince companies to stop their work for a week (being optimistic here) in order to migrate to Scala 3. How would you approach this issue?
6
u/solicode Sep 06 '19
Can you make a ZIO-like for Haskell too? 😉
But more seriously, what came out of your discussions with /u/snoyberg? I see there is an expiremental trio library, but do you have any takeaways from that? Especially now that ZIO is further along now than when that discussion first took place.
Having switched to ZIO in a fairly large Scala project now, I'm finding that I'm really liking it and wanting something similar in Haskell to try. But I'm wondering whether it's actually feasible for something like this to emerge out of Haskell, or if the existing solutions in Haskell are already sufficient. Perhaps Haskell and Scala are different enough that porting over the concept won't fit as naturally, but I'm curious what your take is. Because I see some people trying to do similar things in other languages (Kotlin, F#, etc), and I'm excited to see what comes out of it.
6
u/ferrousoxides Sep 06 '19
I've been frustrated with many conferences. There seem to be two kinds, of events and attendees.
There's the kind who wants to create distance, with genius galaxy brain speakers, and audience members amazed at their brilliance... And then there's the kind where speakers and listeners are peers, and audience members listen critically and offer feedback.
Lambdaconf has always seemed like the latter to me, but have you experienced the former, and do you think this is a factor in why some people attach so much meaning to a speaking spot?
5
u/[deleted] Sep 06 '19
Hi John,
what is your opinion about Clojure and its ecosystem? I started learning FP concepts with Clojure, and only after that I looked at Scala and Haskell.
Do you think Clojure can gain more followers with time? If you know any, can you give an example of some nice Clojure feature , that lacks in other FP languages?
Thanks!
5
u/nmcborst Sep 06 '19
You seem to be someone who prefers to focus on future rather than the past: have you, in your long line of experiences with being excommunicated from the communities you belong to, ever experienced that the person or organisation doing so said sorry for the act afterwards? From a human perspective: have relational rifts that occurred in your personal and professional life ever healed after they occurred? As for the current event with Typelevel, you seem almost happy it occurred: was the *code* you wrote for Typelevel's projects taking too much of your time and effort?
5
u/LukeSkySpanker Sep 06 '19 edited Sep 06 '19
Hello John,
I am a newcomer to functional programming and working my way through fp in scala, the Scala with Cats tutorial and Mr. Milewski's "category theory for programmers". I will soon get started on some Haskell material. Would you have any recommandations for said material and/or newcomers-friendly projects I could spend some time on ?
Many thanks !
5
u/iyer_land Sep 06 '19
I am trying to explain to my colleague, why IO[] and not Future. So, i know its suspended effects with IO, but the question they ask is so, what if it gets executed? I know about referential transparency, and Future violates it, by eagerly executing, but, if you go about hand-tracing code execution, what difference does it make, if the program is executed at the end-of-the-world as opposed to somewhere in the service/database layer (if we limit our discussion to say REST API, where flow is from
External Clients -> API -> Service -> DAO -> Database)?
I think I am looking for some practical insights. Most explanations stop at end-of-the-world and stop right there! Another question, how does IO afford local reasoning, and Future does not!
You did say, any question :). I am jumping at this oppurtunity! Thanks in Advance!
5
u/Judheg Sep 06 '19 edited Sep 06 '19
Came across the banifesto archive, and while reading the following sentence in the email to you:
I can't help but wonder, has Typelevel ever invite you to contribute in a productive work / real implementation?
I asked this because I imagine if I ever have open source project and I saw potential contributor having valuable insight, although it was delivered in "often-negative and belligerent arguments and obstructionism", I would just invite him and ask him to sit on the same table and work together to find a better solution.
That's to me more productive than banning the annoying but potentially insightful member of community.
What do you think?
11
u/fromscalatohaskell Sep 06 '19
This is related to drama - I would like to stand up to bullying in community, but I am too afraid I will be next on hit-list of Travis others, and that I will be bullied too. At the end of the day I am average programmer and I can't risk having such bad reputation (of much better programmers than me targeting me, i.e. Travis) haunt me. But I feel as a coward.
What should I do?
8
u/KineticCookie Sep 06 '19
Hi John, I wonder if you would share something about your workout program and diet. Do you count calories and/or nutritional value?
4
u/say_nya Sep 06 '19
Are there any plans for better Akka interaction? Especially for better Akka Streams interaction.
4
u/fromscalatohaskell Sep 06 '19
Hold old are you and how did you get so knowledgable? What is your background (university etc.). How do you get time to interact with community so much (so postiively)?
You have impacted my life in a very positive manner and I would like to thank you for it.
4
u/Kokosero Sep 06 '19
What kind of music do you like the most?
7
u/eXiga Sep 06 '19
Hi John! First of all, thanks a lot for your outstanding work, talks and your inspiration. I have a couple of questions:
Thanks in advance! :)
5
u/Kokosero Sep 06 '19
I wanted to contribute to ZIO (still a beginner to FP Scala), but 'good first issues' are taken away by people before I even notice :(
Do you think I should write a program that will notify me every time an issue with this label is created, or would you perhaps recommend other project which is 'less busy' and still requiring some attention? :)
Thanks!
3
u/filippovitale Sep 06 '19
Hi John, are you looking forward to come to Scala Italy in Bologna?
3
u/BarneyStinson Sep 06 '19
Hi John,
many of the points that Travis Brown raises in his blog post go back to the controversy around some of the speakers at Lambdaconf. Do you in hindsight believe that it was a mistake to let Curtis Yarvin and Ed Latimore speak at the conference?
I don't use Twitter, so thank you for the opportunity to ask questions here.
3
u/sergei__ Sep 06 '19
Hi John!
What is your relation to Slamdata (the company and the team) these days?
Thanks!
2
u/BeardedCrake Sep 06 '19
What, if any, are your thoughts on extensible effects? What do you see the role of an IO monad as in the context of a system with many effects?
2
u/H67iznMCxQLk Sep 07 '19
when will u offer workshop for Scala/FP/ZIO training again?
3
u/daron_ Sep 06 '19 edited Sep 06 '19
LoL, what hero from new mk11 roster do you like most? (My main will be Sindel for sure)
3
u/dustingetz Sep 06 '19
Why do you lift?
3
u/ijauradunbi Sep 06 '19
when will you leave scala?
i ask you that because you don't seem to want to move to haskell whenever something like this happen.
edit: i'm asking this in a good faith. i've invited you to jump into haskell in twitter a few times.
3
u/jmgimeno Sep 06 '19
As you have been marked by events that happened two years ago, is there no expiration date for supposed faults one could have commited in the past? Because, if this is so, I think no one will pass the test.
2
u/valenterry Sep 08 '19
IO,monix.TaskorZIOworks well for me using cats effects interfaces likeSyncetc. However, I struggle a little bit with achieving the same when combining them with streams. Can you recommend good resources on that topic?1
u/chexxor Sep 08 '19
Similar to how functional programming offers a power leap compared to prior languages I knew, what greater power will a functional programmer likely discover after mastering FP?
1
u/teckhooi Sep 10 '19 edited Sep 11 '19
I have another question about Clojure. Refactor large Java/Scala applications, I have some form of guarantee by the compiler that I will invoke the right methods on the right classes after compilation provided no typecasting nor reflection. How do Clojure developers have the same guarantee if they refactor a large codebase? Next, what are Clojure equivalent for tag final and free monad styles? Does it really matter to Clojure? Thanks
2
u/edvmorango Sep 06 '19
Hey John, thank you for all your contributions and mentorship!
I would ask, which are Algebras/Typeclasses (and its instances) less know but that are very useful to create programs composable with an amazing performance, and in which problems we should use them?
Thank you again!
-2
u/eschizoid Sep 06 '19
First of all I want to say that I am big fan of you, and reading you through the years has made me a better programmer. However there is something that I have never understood and hope you can explain it, why do you think that inviting misogynist/bigots speakers to lambda conf makes it more inclusive and diverse?
0
u/[deleted] Sep 06 '19
[deleted] — view deleted comment
0
u/[deleted] Sep 06 '19
[deleted] — view deleted comment
0
u/[deleted] Sep 06 '19
[deleted] — view deleted comment
0
u/[deleted] Sep 06 '19
[deleted] — view deleted comment
0
u/[deleted] Sep 08 '19
[deleted] — view deleted comment