HN Theater @HNTheaterMonth

The best talks and videos of Hacker News.

Hacker News Comments on
Functional programming design patterns by Scott Wlaschin

Ivan Plyusnin · Youtube · 272 HN points · 1 HN comments
HN Theater has aggregated all Hacker News stories and comments that mention Ivan Plyusnin's video "Functional programming design patterns by Scott Wlaschin".
Youtube Summary
In object-oriented development, we are all familiar with design patterns such as the Strategy pattern and Decorator pattern, and design principles such as SOLID. The functional programming community has design patterns and principles as well. This talk will provide an overview of some of these, and present some demonstrations of FP design in practice.
HN Theater Rankings

Hacker News Stories and Comments

All the comments and stories posted to Hacker News that reference this video.
Dec 25, 2019 · 180 points, 14 comments · submitted by ducaale
dustinmoris
Scott Wlaschin is one of my favourite tech speakers of all time. Every single talk I've seen by him has been excellent in explaining rather confusing topics in a really simple and innovative manner. His material was my goto source when I was learing functional programming and I'm not sure if I would have ever gotten even excited about it if it wasn't for one of his talks.

Follow him on Twitter: https://twitter.com/ScottWlaschin

Check out his website F# for fun and profit: https://fsharpforfunandprofit.com/

Mbaqanga
I wish I could find videos of people actually writing complex functional programming code. These talks seem to just reiterate the same things and all example code is too simple for me to be able to visualize using it in our code base to the extreme that they are talking about
AheadOfTime295
Many videos exist on writing servers using FP libraries. A few search keywords for Scala: ZIO, Cats, fs2.

A beginner tutorial using a command-line application as case study:

https://scalac.io/write-command-line-application-with-zio/

kristianp
Is there a non video version of this please? Would be quicker to read an article than a 1 hour talk.
Waterluvian
I hear you. But don't forget about the ability to 2x videos. It's almost exclusively how I watch educational content (but you have to intensely focus)
richardhod
Even 1.25,or 1.5 helps, with less cognitive squeeze
aasasd
There are slides from older conferences, but the author points out that he goes through the patterns as fast as he can in the videos.

https://fsharpforfunandprofit.com/fppatterns/

kod
He wrote a book:

https://pragprog.com/book/swdddf/domain-modeling-made-functi...

BoiledCabbage
Slightly more info, but doesn't compare to the video.

https://fsharpforfunandprofit.com/fppatterns/

slifin
Be-careful when learning "FP" that you're not just learning your chosen language's idea of FP

It can often be a large investment to learn these concepts only to find it's only scala or Haskell or w/e does FP "that way" is frustrating

When starting out I recommend checking if the pattern exists in many different FP language types first

AheadOfTime295
All in one place: A Glossary of Functional Programming

http://degoes.net/articles/fp-glossary

by John A De Goes, keynote speaker at Scala conferences. Discussions on FP using Scala at

https://www.reddit.com/r/hascalator

idclip
Thank you for this, very lovely and straight forward
BoiledCabbage
Interesting look at FP patterns
lioeters
Same speaker, newer presentations:

Functional Design Patterns - Scott Wlaschin (2017) from NDC Conferences

https://www.youtube.com/watch?v=srQt1NAHYC0

The Functional Programmer's Toolkit - Scott Wlaschin (2019)

https://www.youtube.com/watch?v=Nrp_LZ-XGsY

james_s_tayler
This is exactly the resources I've been looking for to advance my understanding of how to accomplish certain things in FP before trying to learn it wholesale.

I have his book Domain Modelling Made Functional as it comes very highly recommended. I haven't gotten to it yet, but I'm even more excited for it now after watching this.

Mar 27, 2017 · 4 points, 0 comments · submitted by kiyanwang
Mar 26, 2017 · 5 points, 0 comments · submitted by mirceasoaica
Mar 26, 2017 · 1 points, 0 comments · submitted by sconxu
> What are your thoughts on languages like Haskell?

I'm planning learn some functional language this year. There is a lot of Haskell developers in Rust community who came for performance and some ties to functional programming. I've just seen presentation about patterns in functional languages (https://www.youtube.com/watch?v=E8I19uA-wGY - strongly recommended) and I like it so far. Getting hardware mechanics out of your way is amazing boost for productivity (I know that from using python).

> dismissing the value of languages like C is the worse of the two mistakes to make

I have Rust now for things that must be fast and low-level, so I do not need C anymore. It served us well, but a lot has changed since it was invented.

Apr 22, 2016 · 82 points, 7 comments · submitted by rawkode
TheSockStealer
I want to punch that guy who is laughing way too much. His jokes are kinda funny, but not that funny.
Cyph0n
There's always that one guy! I agree, he's quite annoying, but he made me laugh to be honest. At 4:20, he gets pretty crazy!
None
None
aryehof
Good video, but I wish I could find a video that helps OO programmers begin to think in an object-oriented way. Most OO programmers don't.
dang
Please don't rewrite titles unless they are misleading or linkbait. That's in the site rules:

https://news.ycombinator.com/newsguidelines.html

rawkode
Noted. Won't happen again
hxegon
I just watched this a couple of days ago. Great video :)
nickpeterson
Scott Wlaschin is excellent, and his website http://fsharpforfunandprofit.com/ is great in general.
HN Theater is an independent project and is not operated by Y Combinator or any of the video hosting platforms linked to on this site.
~ yaj@
;laksdfhjdhksalkfj more things
yahnd.com ~ Privacy Policy ~
Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.