You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
blocks {|a| … } & do ... end: closures with loose arity (like js functions) that you can yeild to in a method. All methods can accept a block without any change to their signature. You can yield conditionally if a block is given.
class Foo
def map
yield(1,2,3) if block_given?
end
end
Foo.new.map { |one| ... } # <= doesn't matter that arity is inconsistent
Tmate is used as the "free reverse ssh tunnel". It is not super secure because a key is not required to connect, but it sure is conventient.
Tmux is used inside the Tmate session to share multiple terminal windows
Here's the situation.
You've createe a new tmux session where you will do your work named foo.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
That test is hurting your test suite! Tests at the application's edge fail in strange ways and erode confidence in your test suite. You'll learn why Integrations and the edges are not meant to be tested, and also how to make your own decision and not listen to me! We'll practice thinking through test design at one of the more difficult areas of an application and how to purposefully break the rules.
Details
Not all tests are created equal. Some tests erode confidence in your test suite, and make it slow. You'll see examples of these tests at the edge of your application. You'll learn why those areas shouldn't be tested. More importantly, though, you'll learn how to make these decisions for yourself. After all, what good are rules if you can never break them?
Ruby is late to the type system party. Let’s give Ruby something smart to say when it gets there.
You’ll take a journey with Haskell’s type system. Along the way, you’ll learn how types can let
you forget about nil, declaratively model your domain, and allow your compiler to drive your design.
Details
How can ANYONE be productive in a language without if/else, while, or even classes? Let me show you!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters