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.

    1. 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:

      5 replies 98 retweets 348 likes
      Show this thread
    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
      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.

      3:48 PM - 20 Jun 2019
      • 75 Retweets
      • 330 Likes
      • SpiritOfWill Priya Balram Aly Ahmed June “Wakalix”, [null] noam chmodsky Jiri Konecny Umut Seven 💙 thyberg
      11 replies 75 retweets 330 likes
        1. 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
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo
        1. New conversation
        2. Ivan Stalev‏ @istalev 20 Jun 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @patio11

          Maybe the core issue is that you're using the wrong programming language

          1 reply 0 retweets 15 likes
        3. Juan Pablo Romero‏ @1jpablo1 21 Jun 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @istalev @patio11

          But the cost of rewrite and retrain can be very high, so this project definitely adds value to some companies.

          0 replies 0 retweets 3 likes
        4. End of conversation
        1. New conversation
        2. Ran Halprin‏ @RanHalprin 21 Jun 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @patio11

          I can't imagine a bug that typing would find and tests wouldn't. If your tests pass when you provide an email where a user object should be, they're very bad (or very lacking). Any test that goes through that code should crash when it tries to extract the email from the user

          3 replies 0 retweets 3 likes
        3. Gary Trakhman‏ @gtrakGT 21 Jun 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @RanHalprin @patio11

          The difference is you have to write the test. Now do it 10000 times consistently and usefully.

          2 replies 0 retweets 4 likes
        4. 5 more replies
        1. השרה לענייני נתז טיפתי‏ @FourPillTherapy 20 Jun 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @patio11

          Can you show one of these tests? I want to see what feature(s) of the type system you're referring to. Thanks :)

          0 replies 0 retweets 5 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo
        1. New conversation
        2. Steve McLeod‏ @steveofmcleod 20 Jun 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @patio11

          This observation about unit tests and type checking is why I’ve kept programming in Java for so long, rather than Ruby and Python.

          1 reply 0 retweets 7 likes
        3. Pankaj Pathania‏ @coffeHunter 28 Jun 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @steveofmcleod @patio11

          But Java 11 also have 'var' smh

          0 replies 0 retweets 0 likes
        4. End of conversation
        1. Eder‏ @eyekwasi 21 Jun 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @patio11

          Ahh!!! Java programmers coding in JavaScript. Smh

          0 replies 0 retweets 3 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo
        1. Eric Schultz‏ @wwahammy 20 Jun 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @patio11

          You've basically described much of my unit tests.

          0 replies 0 retweets 2 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo

      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