April 2020

199 tweets

Replying to @coderbyheart

The point is to not define the return type when creating an instance of the
wrapper, which would solve it for each use case:

const retry5string = retry<string>(5) const retry5number =
retry<number>(5)

Replying to @fquednau
Replying to @coderbyheart

"Expecting property name enclosed in double quotes: line 1 column 2266 (char
2265)" is not a helpful error message, when my #ARM template is a JSON with 300
lines. @Azure
Embedded Photo

It's amazes me again and again, that the inventors of
@typescript release @azure #iot JavaScript
SDKs like this:

The patch property here is a fairly complex object, and I have to consult the
docs to figure out what goes in there. This is not a good example how to write
an #SDK.
Embedded Photo

It's really frustrating to find one official example after another on
@Azure which completely ignores infrastructure as
code. This gives me zero confidence that the ARM resources for this example
exist, or work when not even their own engineers use it. 🤬
Embedded Photo

Replying to @rradczewski

@rradczewski The reminder about needing to
learn how to read and extend legacy React code is 💯.

But I do not agree with Classes being the predominant API interface in
libraries. I rarely see me using

import Foo from 'X' new Foo()

in projects.

Browser-APIs are also class-free.

Replying to @SamirTalwar

@SamirTalwar Humans are really good at
selective hearing, which does not work when using headphones.

The closest that I know resembles a more ad-hoc chat situation is
@sococo which has a visual way of telling who is
talking with whom, and it's easy to break out a separate convo.

Really sad that people in the software craft community with a wide reach are
tone deaf and keep pushing works of and collaborating with Robert M. for
business reasons. I see you.

Replying to @coderbyheart

If you are the founder of a consultancy, that sponsors community events, and
also runs apprenticeships, I expect you to use your platform during a talk to
push the new and underrepresented, and not to plug a book that you co-authored
with a rightwing misogynist.

Replying to @coderbyheart

@awscloud "The Multi-Region User Pools solution
helps ensure reliability in the event of service or infrastructure disruptions
by automatically provisioning and configuring the Cognito service in a
multi-region, high reliability architecture.

Always write a FAILING test first, especially when testing error behavior and
writing tests after the implementation.

You might be seeing an effect of you not understanding the system under test and
misreading its failure condition.

#tdd

"I never thought there's someone like you that's willing to help."

Feedback I got from a person I am DMing on LinkedIn about job vacancies...
Sometimes small things make someone else's day.

You can tell that the UX of Outlook Web is so terrible because I typically end
up with 3-4 drafts for every email I send...