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.
  • 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
qntm's profile
quarantine 'em
quarantine 'em
quarantine 'em
@qntm

Tweets

quarantine 'em

@qntm

I created the Antimemetics Division. http://scp-wiki.wikidot.com/antimemetics-division-hub …

qntm.org
Joined September 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. quarantine 'em‏ @qntm 21 Feb 2019
      • Report Tweet
      • Report NetzDG Violation

      My favourite part of the book "Clean Code" so far is the chapter where he advocates that functions ideally have zero arguments and then advocates that functions ideally do not have side effectspic.twitter.com/ylRTNSbWwy

      25 replies 128 retweets 443 likes
      Show this thread
      quarantine 'em‏ @qntm 21 Feb 2019
      • Report Tweet
      • Report NetzDG Violation

      To be clear, a function with zero arguments and no side effects is a constant

      3:29 AM - 21 Feb 2019
      • 6 Retweets
      • 133 Likes
      • Emi! 🌻✨ (Matchu, MDR) frxtz Maris Orbidans Stuart P. Bentley project cybersyn Brian who survived a powerline cops lie john henry Zephyr@Home
      5 replies 6 retweets 133 likes
        1. New conversation
        2. quarantine 'em‏ @qntm 21 Feb 2019
          • Report Tweet
          • Report NetzDG Violation

          So, what the author means by "functions" is "methods". With a method, there's always one implicit "argument", `this`, the object on which the method is being called. What he's actually asserting is that the ideal method only interacts with `this`

          3 replies 3 retweets 52 likes
          Show this thread
        3. quarantine 'em‏ @qntm 21 Feb 2019
          • Report Tweet
          • Report NetzDG Violation

          Additionally, he doesn't consider it to be a side-effect when a method call interacts with `this` (sets member variables, for example)

          7 replies 1 retweet 36 likes
          Show this thread
        4. quarantine 'em‏ @qntm 21 Feb 2019
          • Report Tweet
          • Report NetzDG Violation

          So, for example, instead of one method passing a Boolean flag `isSuite` into an inner method call, he sets `this.isSuite = isSuite` in the first method and then reads from `this.isSuite` in the inner method

          4 replies 1 retweet 23 likes
          Show this thread
        5. quarantine 'em‏ @qntm 21 Feb 2019
          • Report Tweet
          • Report NetzDG Violation

          As we see here: https://github.com/ludwiggj/CleanCode/blob/master/src/clean/code/chapter03/SetupTeardownIncluder.java#L28-L33 …

          7 replies 0 retweets 11 likes
          Show this thread
        6. End of conversation
        1. New conversation
        2. Emil Broman (né Persson)‏ @emilnbroman 21 Feb 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @qntm

          Not true. A function can be higher order, making some of its ”arguments” implicit, just like `this` in OO. An object can interact with this without having side-effects, e.g. reading from `this`. This may constitute immutable behaviour such as a logical branch with polymorphism.

          1 reply 0 retweets 1 like
        3. Richard Casetta‏ @r_casetta 21 Feb 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @emilnbroman @EmilPersson @qntm

          A pure function will yield the same output given the same input. A function that takes no argument in this context is a function that takes one argument, usually called unit. So, by definition, a pure function with only one possible argument will yield the same value, ie constant

          1 reply 0 retweets 0 likes
        4. 16 more replies
        1. BenBE‏ @BenBE1987 21 Feb 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @qntm

          Reminds me of the Haskell XKCD: https://xkcd.com/1312/ 

          0 replies 0 retweets 0 likes
          Thanks. Twitter will use this to make your timeline better. Undo
          Undo
        1. New conversation
        2. andrewsalveson‏ @andrewsalveson 21 Feb 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @qntm

          what about random() or time()

          1 reply 0 retweets 0 likes
        3.  💖 Taudry Hepburn  💖‏ @tabatkins 21 Feb 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @andrewsalveson @qntm

          They rely on global state; no cheating!

          0 replies 0 retweets 0 likes
        4. End of conversation
        1. Pumpkin Fright 👨‍⚕️ 🍕‏ @DrPizza 21 Feb 2019
          • Report Tweet
          • Report NetzDG Violation
          Replying to @qntm

          It would certainly cut down on bugs.

          0 replies 0 retweets 0 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