sometimes i wonder how many versions of myself i’ve outgrown without even noticing. i look back at old photos and remember the thoughts i used to carry, the dreams i thought would save me. it’s strange how you can live inside yourself every day and still not realize you’re evolving. it’s only when you look back that you realize how far you’ve come, how many lives you’ve already lived in the same skin.
We were meant to create not to consume. That's why we are sad when we do nothing.
You made it, you own it
You always own your intellectual property, mailing list, and subscriber payments. With full editorial control and no gatekeepers, you can do the work you most believe in.
The next president has to do two things: 1) right the wrongs of Trump and go after those who broke the law and were corrupt. 2). Then spend time divesting power from the presidency and building real guardrails and passing laws like, “the president is not immune” etc.
Oh and get the money out of politics
Great discussions
Join the most interesting and insightful discussions.
While its possible booleans in general in an API may be bad, but the example given here doesn't prove it. As soon as I read that there was a need to support new output type, it was obvious an enum is needed. Putting in a boolean there didn't make sense to me at all.
It's obvious in hindsight, whereas when the API was first created, an enum was not needed because initially, there was no need for further support. In fact, in many cases, there is never any need for new output types, which then technically supports a boolean type (yet isn't necessarily the best choice still).
For me it was not in hindsight. As soon as I saw a boolean being used in your example, it was already weird for me. To me it sounded more like a hack which we usually do when we are crunched on time. An output type is just like a mime type, what I would have done was take the mime type as the param.