We're a place where coders share, stay up-to-date and grow their careers.
Ruby, Javascript, Lemurs, Puns, and Art. Aspie, He / Him. Currently Ruby Infrastructure and Frameworks @Square. Opinions are my own.
Frameworks Engineer at Square
All private interactions must abide by the code of conduct.
qo
Qo - Query Object - Pattern matching and fluent querying in Ruby
Ruby • 350 stars
xf
Xf - Transform Functions
Ruby • 58 stars
actioncable_symphony
The ActionCable Symphony - A Symphony Orchestra played over Actioncable!
Ruby • 2 stars
Then you'll probably like the refactor: gist.github.com/bawea...
Jan 14
Not really, most of the point of these posts is not always to...
Jan 13
On 1: Enumerable#count vs Enumerable#reduce you're correct, b...
Dec 28 '20
Yep, you're correct that filter_map isn't technically needed ...
Y'know I always forget about ARGF because of how rarely I wri...
[1, 2, 3].any? { 1 } Regarding this, yes, that was the po...
Sep 2 '20
def descending_order(n) n.digits.sort_by { |c| -c.ord }.joi...
Aug 11 '20
No worries, and the same rules apply as with Medium. Feel fre...
May 26 '20
TCP is just SYNACKtic sugar.
Sep 23 '19
A few asides before I get into it: You can use ruby after...
Sep 8 '19
In my personal case I tend to contribute differently to the...
Enumerable in Ruby has a lot of handy methods you may enjoy...
Be careful of accidentally using strict equality with === l...
Fun fact: The XKCD site was hacked, and the second most com...
You may enjoy Hash constructors and what you can do with them...
Aug 28 '19
Want another challenge? Try implementing all of the Enumera...
Aug 23 '19
Haskell and other functional languages have Lenses, which a...
The fun thing about TicTacToe is you can derive all the pot...
Aug 21 '19
Technically in Ruby there's never a point in which methods ...
Aug 18 '19
It's possible to write the first part, haven't taken a shot...
Aug 16 '19
I'm already drafting ideas for such a piece :) It may take...
Jul 16 '19
I would say this is not a very charitable view of Matz's co...
Jun 14 '19
All 22 comments
Ruby 3 Pattern Matching Applied: Poker
Then you'll probably like the refactor: gist.github.com/bawea...
Ruby 3 Pattern Matching Applied: Poker
Not really, most of the point of these posts is not always to...
Advent of Ruby 3.0 - Day 03 - Toboggan Trajectory
On 1: Enumerable#count vs Enumerable#reduce you're correct, b...
Advent of Ruby 3.0 - Day 02 - Password Philosophy
Yep, you're correct that filter_map isn't technically needed ...
Advent of Ruby 3.0 - Day 01 - Report Repair
Y'know I always forget about ARGF because of how rarely I wri...
Ruby 3 - Set Literal
[1, 2, 3].any? { 1 } Regarding this, yes, that was the po...
Ruby Descending Order Method
def descending_order(n) n.digits.sort_by { |c| -c.ord }.joi...
Deeper Magics: Monoids in Ruby and Rails
No worries, and the same rules apply as with Medium. Feel fre...
What's your best software pun?
TCP is just SYNACKtic sugar.
An Introduction to Yield in Ruby, and filtering class instances
A few asides before I get into it: You can use ruby after...
A Choice
In my personal case I tend to contribute differently to the...
Binary Gap of a Number
Enumerable in Ruby has a lot of handy methods you may enjoy...
Determining class of an object with case equality operator (===)
Be careful of accidentally using strict equality with === l...
correct horse battery staple
Fun fact: The XKCD site was hacked, and the second most com...
Pigeon Organizer Lab
You may enjoy Hash constructors and what you can do with them...
Enumerate Methods
Want another challenge? Try implementing all of the Enumera...
Are there functions similar to Ruby's `dig` in other languages?
Haskell and other functional languages have Lenses, which a...
Game Tic Tac Toe
The fun thing about TicTacToe is you can derive all the pot...
Decorating Ruby - Part Two - Method Added Decoration
Technically in Ruby there's never a point in which methods ...
Causes - a programming language feature concept
It's possible to write the first part, haven't taken a shot...
Tales of the Autistic Developer - The 10x Engineer
I'm already drafting ideas for such a piece :) It may take...
Ruby 2.7: The Pipeline Operator
I would say this is not a very charitable view of Matz's co...