Twiitit
- Twiitit, nykyinen sivu.
- Twiitit ja vastaukset
- Media
Olet estänyt käyttäjän @noelrap
Haluatko varmasti nähdä nämä twiitit? Twiittien näyttäminen ei poista käyttäjän @noelrap estoa.
-
Kiinnitetty twiitti
And finally, the full 2021 book club. Tailwind book available at https://pragprog.com/titles/tailwind/modern-css-with-tailwind/ … and https://amzn.to/3ylRxfi Modern Front-End available at at https://pragprog.com/titles/nrclient/modern-front-end-development-for-rails/ … or https://amzn.to/36eWEBT . Thanks!pic.twitter.com/j8Hlu5D5GU
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
Is it coincidence or not that somebody just unsubscribed from my newsletter?
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
To be clear, I completely understand wanting to set the expectation that if you use this method, you are exposing yourself to something that might change. I just think that actually preventing people from using that method is a bigger step and one to take more rarely.https://twitter.com/jamie_gaskins/status/1468958270375088128 …
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
I should say, I’m not a monster here, when I’m on teams that have established conventions of using private methods, I defer.
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
But definitely part of my reluctance to make methods private has to do with testing.
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
This is a long standing testing debate. On one side the argument is that private methods are internal details and you test the public API On the other, the argument that private methods contain logic and should be tested. I feel like whatever makes you more confident is fine.https://twitter.com/zrc210/status/1468956353091670016 …
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
I think another way I’d phrase this is that we overrate the cost of not being able to refactor or change a public method and underrate the cost of not making a potentially useful concept available.https://twitter.com/ektastrophe/status/1468954210121093121 …
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
This is why when I make this argument, I usually preface it by saying that lots of people smarter than me disagree.https://twitter.com/davetron5000/status/1468946436016455688 …
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
I understand why people say that private methods are good, I just don’t generally agree. In this analogy, where I’m the chef, I don’t think I always know enough to be able to tell in advance what the customers are going to want — so I don’t want to limit the menu.https://twitter.com/joeyschoblaska/status/1468823686543286273 …
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
Let me start from this direction: if private methods didn't exist in Ruby (as they don't exist in, say, Smalltalk), what you you say would be the argument for adding them?https://twitter.com/tritowntim/status/1468802300303097858 …
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
Actually, the thing about Ruby that I say most often and gets me weird looks is that you shouldn't have private methods unless it's actually dangerous for the method to be called externally.
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
I wanted to write a joke about how I thought the next tweet would be “and 10 years is enough, we’re shutting it down”, but I can’t make the tone work unless I screamingly call attention to “I’m just making a joke here”…https://twitter.com/wycats/status/1468774795529515008 …
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
I wrote this about TDD advocacy today, and I like it enough to share:pic.twitter.com/0m8NYRsfoY
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
FWIW, there will be an official something updating Modern Front-End for Rails 7, but exactly what form it will take is not determined yet (might be a Medium article, might be a new appendix, might be a new book version).https://twitter.com/rafaelfranca/status/1467974458015158273 …
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
So they went from alpha 2 to rc1, or did I miss something?https://twitter.com/rafaelfranca/status/1467974458015158273 …
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
Noel Rappin uudelleentwiittasi
Here's a silly attempt at a plot synopsis for _Rogers: The Musical_. Nobody was clamoring for this. I just wanted to see if I could get something that hit the plot beats, and fit in songs that were as wonderfully cheesy as the one song we got /1
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
This sale ends tomorrow, lots of great books available.https://twitter.com/pragprog/status/1465349841974824963 …
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
Noel Rappin uudelleentwiittasi
#CyberMonday is ticking down! Use code turkeysale2021 at checkout to save 40% at http://pragprog.com pic.twitter.com/EVNcdUrwYj
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa -
Kiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
-
The battle is joined and the Avengers win (“Save The City (reprise)”), and Steve basks in the glow (“Star-Spangled Man 2012”). Curtain Call. /15
Näytä tämä ketjuKiitos. Käytämme tätä aikajanasi parantamiseen. KumoaKumoa
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.
There's a lot of `send` usage to bypass it in the wild.
To me, it's more about managing expectations. If something is private, you use it at your own risk. If it's useful, definitely, give it a public interface.
