Posts by rbates@ruby.social
(DIR) Post #APPIBNjqAwh7L2d160 by rbates@ruby.social
2022-11-08T21:56:32Z
0 likes, 0 repeats
@james Thanks for your long hours and hard work on ruby.social!
(DIR) Post #APpZBs24NULz4LEKps by rbates@ruby.social
2022-11-21T12:11:55Z
0 likes, 0 repeats
I wish Twitter and Mastodon supported `code formatting`.
(DIR) Post #AQArV1I43kzCmL9Pw8 by rbates@ruby.social
2022-12-01T20:43:53Z
0 likes, 0 repeats
@james @solnic Couldn't you pass lambdas as arguments if you need mulitple blocks?foo(bar: -> { ... }, blah: -> { ... })
(DIR) Post #AbwCNrD9oQWXo3FH04 by rbates@ruby.social
2023-11-17T20:41:18Z
1 likes, 1 repeats
I surround code changes with two different types of refactoring: pre and post change. Pre-change refactoring is to make the change easier to implement. Post-change refactoring is to make the code easier to understand.