Skip to content
By using Twitter’s services you agree to our Cookies Use. We and our partners operate globally and use cookies, including for analytics, personalisation, and ads.

This is the legacy version of twitter.com. We will be shutting it down on June 1, 2020. Please switch to a supported browser, or disable the extension which masks your browser. You can see a list of supported browsers in our Help Center.

  • Home Home Home, current page.
  • About

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @
  • Language: English
    • Bahasa Indonesia
    • Bahasa Melayu
    • Català
    • Čeština
    • Dansk
    • Deutsch
    • English UK
    • Español
    • Filipino
    • Français
    • Hrvatski
    • Italiano
    • Magyar
    • Nederlands
    • Norsk
    • Polski
    • Português
    • Română
    • Slovenčina
    • Suomi
    • Svenska
    • Tiếng Việt
    • Türkçe
    • Ελληνικά
    • Български език
    • Русский
    • Српски
    • Українська мова
    • עִבְרִית
    • العربية
    • فارسی
    • मराठी
    • हिन्दी
    • বাংলা
    • ગુજરાતી
    • தமிழ்
    • ಕನ್ನಡ
    • ภาษาไทย
    • 한국어
    • 日本語
    • 简体中文
    • 繁體中文
  • Have an account? Log in
    Have an account?
    · Forgot password?

    New to Twitter?
    Sign up
patio11's profile
Patrick McKenzie
Patrick McKenzie
Patrick McKenzie
@patio11

Tweets

Patrick McKenzie

@patio11

I work for the Internet, at @stripe, mostly on accelerating startups. Opinions here are my own.

東京都 Tokyo
kalzumeus.com
Joined February 2009

Tweets

  • © 2020 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • Imprint
  • Cookies
  • Ads info
Dismiss
Previous
Next

Go to a person's profile

Saved searches

  • Remove
  • In this conversation
    Verified accountProtected Tweets @
Suggested users
  • Verified accountProtected Tweets @
  • Verified accountProtected Tweets @

Promote this Tweet

Block

  • Tweet with a location

    You can add location information to your Tweets, such as your city or precise location, from the web and via third-party applications. You always have the option to delete your Tweet location history. Learn more

    Your lists

    Create a new list


    Under 100 characters, optional

    Privacy

    Copy link to Tweet

    Embed this Tweet

    Embed this Video

    Add this Tweet to your website by copying the code below. Learn more

    Add this video to your website by copying the code below. Learn more

    Hmm, there was a problem reaching the server.

    By embedding Twitter content in your website or app, you are agreeing to the Twitter Developer Agreement and Developer Policy.

    Preview

    Why you're seeing this ad

    Log in to Twitter

    · Forgot password?
    Don't have an account? Sign up »

    Sign up for Twitter

    Not on Twitter? Sign up, tune into the things you care about, and get updates as they happen.

    Sign up
    Have an account? Log in »

    Two-way (sending and receiving) short codes:

    Country Code For customers of
    United States 40404 (any)
    Canada 21212 (any)
    United Kingdom 86444 Vodafone, Orange, 3, O2
    Brazil 40404 Nextel, TIM
    Haiti 40404 Digicel, Voila
    Ireland 51210 Vodafone, O2
    India 53000 Bharti Airtel, Videocon, Reliance
    Indonesia 89887 AXIS, 3, Telkomsel, Indosat, XL Axiata
    Italy 4880804 Wind
    3424486444 Vodafone
    » See SMS short codes for other countries

    Confirmation

     

    Welcome home!

    This timeline is where you’ll spend most of your time, getting instant updates about what matters to you.

    Tweets not working for you?

    Hover over the profile pic and click the Following button to unfollow any account.

    Say a lot with a little

    When you see a Tweet you love, tap the heart — it lets the person who wrote it know you shared the love.

    Spread the word

    The fastest way to share someone else’s Tweet with your followers is with a Retweet. Tap the icon to send it instantly.

    Join the conversation

    Add your thoughts about any Tweet with a Reply. Find a topic you’re passionate about, and jump right in.

    Learn the latest

    Get instant insight into what people are talking about now.

    Get more of what you love

    Follow more accounts to get instant updates about topics you care about.

    Find what's happening

    See the latest conversations about any topic instantly.

    Never miss a Moment

    Catch up instantly on the best stories happening as they unfold.

    Patrick McKenzie‏ @patio11 20 Jun 2019
    • Report Tweet
    • Report NetzDG Violation

    Stripe has open sourced Sorbet, our Ruby type checker: https://sorbet.org/blog/2019/06/20/open-sourcing-sorbet … I will probably adopt this in all future Ruby projects. Here’s why:

    3:34 PM - 20 Jun 2019
    • 98 Retweets
    • 348 Likes
    • Jake Marsh Osmel Diego Henrique Titu B G Иррегуляр Christopher Henn Ben Reynolds David Vrensk Terence Lewis
    5 replies 98 retweets 348 likes
      1. New conversation
      2. Patrick McKenzie‏ @patio11 20 Jun 2019
        • Report Tweet
        • Report NetzDG Violation

        Sorbet is *fast*. One of the best properties of golang is that type checking and formatting are fast enough to run basically on every key stroke, so that you get instant feedback on errors and, once the errors are gone, a small unit of development is likely correct.

        2 replies 1 retweet 28 likes
        Show this thread
      3. Patrick McKenzie‏ @patio11 20 Jun 2019
        • Report Tweet
        • Report NetzDG Violation

        Ruby test suites, particularly in large projects, do not execute fast enough to use them in this feedback loop. Sorbet type checking does. If you have forgotten that an internal service expects a User not their email address you’ll learn that about the same time you close the )

        1 reply 2 retweets 22 likes
        Show this thread
      4. Patrick McKenzie‏ @patio11 20 Jun 2019
        • Report Tweet
        • Report NetzDG Violation

        Sorbet is, unlike most language-level type systems, designed for the reality that the supermajority of your Ruby code (including that inherited from the ecosystem) is untyped. You can upgrade-in-place a project gradually to create a typed core. This has felt enormously powerful.

        1 reply 1 retweet 25 likes
        Show this thread
      5. Patrick McKenzie‏ @patio11 20 Jun 2019
        • Report Tweet
        • Report NetzDG Violation

        One, most projects that I’ve worked on do have a core where correctness is very important, reasoning about what the code is doing is the majority of the effort, and changes are made with care. That core is often fuzzily defined.

        1 reply 1 retweet 17 likes
        Show this thread
      6. Patrick McKenzie‏ @patio11 20 Jun 2019
        • Report Tweet
        • Report NetzDG Violation

        The mechanics you’ll need to type check the core will generally force it to have good interfaces, something which Ruby does not encourage by default. You’ll find it’s easier to type check if you refactor sanely; the code will *get better* as you do this.

        1 reply 1 retweet 11 likes
        Show this thread
      7. Patrick McKenzie‏ @patio11 20 Jun 2019
        • Report Tweet
        • Report NetzDG Violation

        Two, optional type checking lets you continue using, or drop into using, untyped code in places where you’re just doing trivial string munging and where typechecking generally provides relatively little value. (Thin controllers and views, in my experience, don’t need much.)

        2 replies 1 retweet 16 likes
        Show this thread
      8. Patrick McKenzie‏ @patio11 20 Jun 2019
        • Report Tweet
        • Report NetzDG Violation

        Type checking catches bugs that unit testing does not, often much faster and with less code overhead than unit testing requires. It has surprised me how much of my unit tests were de facto implementing a type system halfheartedly as opposed to testing behavior of those types.

        11 replies 75 retweets 330 likes
        Show this thread
      9. Patrick McKenzie‏ @patio11 20 Jun 2019
        • Report Tweet
        • Report NetzDG Violation

        My enthusiasm for this project is extremely high; it’s perceptibly the best upgrade to writing Ruby code I’ve experienced since starting with Ruby in 2008. We are quite invested in Ruby. If you’d also like working on this:https://stripe.com/jobs 

        3 replies 2 retweets 59 likes
        Show this thread
      10. End of conversation
      1. New conversation
      2. John Osberg‏ @TheWondersOfOz 20 Jun 2019
        • Report Tweet
        • Report NetzDG Violation
        Replying to @patio11

        Coming from a non-ruby dev, was the effort to implement this cheaper than the cost of switching to a statically typed language? At what point down the path of Ruby did it become apparent this was needed?

        1 reply 0 retweets 0 likes
      3. Shane O'Sullivan‏ @chofter 20 Jun 2019
        • Report Tweet
        • Report NetzDG Violation
        Replying to @TheWondersOfOz @patio11

        It was much much less effort. The type checker was built by a single team of engineers at Stripe, allowing the hundreds of product engineers to keep growing Stripe rather than pausing all development for a couple of years for an in place rewrite

        1 reply 0 retweets 11 likes
      4. 1 more reply

    Loading seems to be taking a while.

    Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.

      Promoted Tweet

      false

      • © 2020 Twitter
      • About
      • Help Center
      • Terms
      • Privacy policy
      • Imprint
      • Cookies
      • Ads info