G

Garrett Smith

gar1t.com · Personal blog · on HN since 2012

Garrett Smith is an Erlang developer who writes about Erlang style and made the 'Erlang the Movie II' and 'MongoDB is Web Scale' videos.

What HN saysHN commenters call him a good speaker and say his post on tiny functions influenced their Erlang, though one finds the resulting functions too small.
16HN people shared it
8linked it in comments
8stories submitted
259story points
5 years agolast shared
2012people per year2026

Most-shared posts

  1. 1
    Erlang the movie II: The Sequel
    4 people · 133 points · first shared 2014 · 8 comments on HN
  2. 2
    Solving Embarrassingly Obvious Problems in Erlang
    3 people · 2 points · first shared 2018 · discussion on HN
  3. 3
    OTP: Outlaw Techno Psychob...h
    3 people · 1 points · first shared 2014 · discussion on HN
  4. 4
    Erlang the Movie II - The Sequel
    2 people · 8 points · first shared 2013 · 1 comments on HN
  5. 5
    Solving Embarrassingly Obvious Problems In Erlang
    2 people · 2 points · first shared 2012 · discussion on HN
  6. 6
    Why The Cool Kids Don't Use Erlang
    1 people · 113 points · first shared 2014 · 119 comments on HN
  7. 7
    Videos
    1 people · first shared 2015
  8. 8
    Homepage
    1 people · first shared 2015
  9. 9
    More embarrassingly obvious problems
    1 people · first shared 2018

What HN people wrote when they linked it

rdtsc · 2015-06-30
This is by Garrett Smith http://gar1t.com Pretty much all his talks and videos are great. He is a good speaker. Watch even just for the fun on if it. (BTW he is author of "MongoDB is Webscale" video as well as "Erlang II : The Movie"). As far as the talk is concerned (TL;DR) "Scalable doesn't mean anything anymore, it is too ambiguous of a term. Just replace it with another equally useful word -- Awesome".
macintux · 2021-06-10
I agree with Dave on the pattern matching in function heads, at least from your description. Garrett Smith’s blog post on tiny functions[0] has heavily influence my Erlang. [0]: http://www.gar1t.com/blog/solving-embarrassingly-obvious-problems-in-e…
jake_morrison · 2020-08-31
This post describes a process of decomposing code into very simple functions: http://www.gar1t.com/blog/solving-embarrassingly-obvious-problems-in-e… This results in functions which are, I feel, a bit too small for comfort. On the other hand, Erlang's pattern matching on function parameters has an effect similar to Eiffel design by contract. It has the potential to reduce the number of tests that need to be written (many of which are often very short functions). Ideomatic Erlang/Elixir code tends toward smaller functions and pattern matching on multiple function heads instead of if/then/else logic.
TeMPOraL · 2015-10-21
Also known as Outlaw Techno Psychobitch in Erlang community, per [0], as popularized by the creator of the famous "MongoDB is Web Scale". Context [1]. [0] - https://www.youtube.com/watch?v=rRbY3TMUcgQ [1] - http://www.gar1t.com/blog/otp.html
delian66 · 2014-07-09
What is wrong with Outlaw Techno Psychobitch [1] ? [1] http://www.gar1t.com/blog/erlang-the-movie-ii-the-sequel.html
silentbicycle · 2012-07-31
It takes a lot of chutzpah for Larry Wall to say anything critical about Lisp syntax. Larry Wall. Come on. I'm not the author of the comment above, but I think Erlang's syntax is effective in that it strongly emphasizes computation by pattern matching. If you write very imperative code in it (as people tend to, coming from Ruby or what have you), yes, it will look gnarly. Good Erlang code looks qualitatively different. There are pretty good examples of hairy, imperative Erlang code being untangled in this blog post: http://gar1t.com/blog/2012/06/10/solving-embarrassingly-obvious-proble… The . , ; thing is a bit of a hack, admittedly -- I suspect that comes from using Prolog's read function to do parsing for the original versions of Erlang (which was a Prolog DSL), and reading every clause of a function definition at the same time. Prolog ends every top-level clause with a period, not "; ; ; ; .". (Not sure, but a strong hunch, supported by Erlang's history.) I got used to it pretty quickly, though.

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close