Skip to content
  • Home Home Home, current page.
  • Moments Moments Moments, current page.

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
wcrichton's profile
Will Crichton
Will Crichton
Will Crichton
@wcrichton

Tweets

Will Crichton

@wcrichton

Articulating the ineffable. Programming language theory 🤝 cognitive psychology. PhD @Stanford

he/him
willcrichton.net
Joined September 2011

Tweets

  • © 2021 Twitter
  • About
  • Help Center
  • Terms
  • Privacy policy
  • 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. Jonathan Aldrich‏ @JAldrichPL 30 Dec 2020
      Replying to @alpha_convert @wcrichton

      Since the major benefit of this feature is readability, it pays off the most when it's ubiquitous. So leaving it up to individual API devs to use records or not won't have the same systemic effects.

      2 replies 0 retweets 3 likes
    2. Joe Cutler‏ @alpha_convert 30 Dec 2020
      Replying to @JAldrichPL @wcrichton

      This was how you do things in ruby- there's special syntax for using record arguments as if they were named arguments. But @jplubin pointed out to me that records don't curry like named arguments can- that's enough of an argument for me!

      1 reply 0 retweets 4 likes
    3. Pierce Darragh  🍴 🥄 |  🦆‏ @pl_pierce 30 Dec 2020
      Replying to @alpha_convert @wcrichton @jplubin

      is this like Python's "splat" operator for dictionaries, **? (I know 0 Ruby so just trying to relate to what I know.) def foo(arg1, arg2): ... rec = {"arg1": 42, "arg2": 13} foo(**rec)

      1 reply 0 retweets 0 likes
    4. Joe Cutler‏ @alpha_convert 30 Dec 2020
      Replying to @pl_pierce @wcrichton @jplubin

      This but in reverse: you can define def foo(args) args[:arg1] ... args[:arg2] ... and then call foo(arg1: 3, arg2: "asdf") which gets desugared to foo({:arg1 => 3, :arg2 => "asdf"})

      1 reply 0 retweets 0 likes
    5. Pierce Darragh  🍴 🥄 |  🦆‏ @pl_pierce 30 Dec 2020
      Replying to @alpha_convert @wcrichton @jplubin

      wat

      1 reply 0 retweets 0 likes
    6. Pierce Darragh  🍴 🥄 |  🦆‏ @pl_pierce 30 Dec 2020
      Replying to @pl_pierce @alpha_convert and

      I... dislike this very very much, I'm sorry 😂

      1 reply 0 retweets 0 likes
    7. Joe Cutler‏ @alpha_convert 30 Dec 2020
      Replying to @pl_pierce @wcrichton @jplubin

      But this is the official ruby way, blessed by matz, and optimized for developer enjoyment how can you possibly not like it?

      1 reply 0 retweets 1 like
    8. Pierce Darragh  🍴 🥄 |  🦆‏ @pl_pierce 30 Dec 2020
      Replying to @alpha_convert @wcrichton @jplubin

      you're right, I was hasty in my reply and upon further reflection I must admit Ruby as the Language Supreme™

      1 reply 0 retweets 2 likes
    9. Joe Cutler‏ @alpha_convert 30 Dec 2020
      Replying to @pl_pierce @wcrichton @jplubin

      Ruby 3 has types, and soon will have pattern matching with an exhaustiveness checker. Embrace the ruby.

      1 reply 0 retweets 2 likes
    10. Pierce Darragh  🍴 🥄 |  🦆‏ @pl_pierce 30 Dec 2020
      Replying to @alpha_convert @wcrichton @jplubin

      Python is also adding pattern matching. where is your god now.

      1 reply 0 retweets 1 like
      Will Crichton‏ @wcrichton 30 Dec 2020
      Replying to @pl_pierce @alpha_convert @jplubin

      Python is actually insane. You can do wacky bindings at both the call and definition. This is valid: def f(a,b,*x,c=0,d=0,**y): print(a,b,x,c,d,y) f(1, *[2,3], c=3, **{'d':5,'q':6}) It will print out "1 2 (3,) 3 5 {'q': 6}".

      4:39 PM - 30 Dec 2020
      • 3 Likes
      • Victor Joe Cutler Pierce Darragh 🍴🥄 | 🦆
      2 replies 0 retweets 3 likes
        1. Will Crichton‏ @wcrichton 30 Dec 2020
          Replying to @wcrichton @alpha_convert @jplubin

          I know this because I once engaged in a Quixotic effort to statically analyze some Python code. It took me 130 LOC just to match arguments between call/definition in a function inliner.https://github.com/willcrichton/inliner/blob/29c53f6bf4c44e452c7bfd66e64743290cd74514/inliner/transforms.py#L32-L161 …

          0 replies 0 retweets 4 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo
        1. New conversation
        2. Pierce Darragh  🍴 🥄 |  🦆‏ @pl_pierce 30 Dec 2020
          Replying to @wcrichton @alpha_convert @jplubin

          this confused me more than I expected it to until I realized you gave 3 as an argument twice in a row 😂 yes, Python definitely admits some complex calling syntax, but overall I find this easier to wrap my head around than the Ruby stuff above! (could just be familiarity though.)

          1 reply 0 retweets 2 likes
        3. Pierce Darragh  🍴 🥄 |  🦆‏ @pl_pierce 30 Dec 2020
          Replying to @pl_pierce @wcrichton and

          also I don't tend to use (or see people use) all of these syntaxes at once! probably because it's a mess hahaha. you also left out /, which prevents naming the parameters that come before it, and * (by itself), which requires names after it! (I find them strange.)

          0 replies 0 retweets 0 likes
        4. End of conversation

      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

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