Today in #golang:

fmt.Println("What is truth?", true)

can output:

What is truth? false
because Go lets you do this:

`true := false`
The local variable `true` overrides the keyword!?

Go obstinately protects you from declaring an unused variable or importing an unused library.

But shadow a keyword? ooookaaaaay
Dude you can’t even do this in Ruby!

(@avdi immediately tried)

• • •

Missing some Tweet in this thread? You can try to force a refresh
 

Keep Current with Jessica Joy Kerr

Jessica Joy Kerr Profile picture

Stay in touch and get notified when new unrolls are available from this author!

Read all threads

This Thread may be Removed Anytime!

PDF

Twitter may remove this content at anytime! Save it as PDF for later use!

Try unrolling a thread yourself!

how to unroll video
  1. Follow @ThreadReaderApp to mention us!

  2. From a Twitter thread mention us with a keyword "unroll"
@threadreaderapp unroll

Practice here first or read more on our help page!

More from @jessitron

Dec 16, 2021
People.
There is a difference between a backend and an API.

Taking the endpoints that you wrote for your site, slapping some documentation on them and publishing it
does not make an API.
An API needs designing. It needs a conscious language and consistent conventions.
Standard auth.
Paging.
Careful error codes and messages.
Versioning.
A backend is whatever your front end needs. It should change when your front end needs it to change.
Don’t restrict it to historical behavior because other systems have grown dependent on it.
Read 4 tweets
Nov 20, 2021
“so that we have a single process for the entire organization”
is a death toll of software.
This is how large organizations slow themselves.

Unifying process gives every change a wide impact, and that means change must be slow.
“But architecture is important! It affects the whole organization! We must take it seriously.”

Importance implies a single process; a single process implies slowness.
Single careful process does _not_ imply the best solution is reached.
Instead, it retards iteration.

A single careful process _does_ imply a defensible solution will be reached.
Read 7 tweets
Nov 9, 2021
"The future of developer experience that you can start using right now: devcontainers"
@avdi gets specific at #QConPlus
@avdi Why are containers better for development than other forms of virtualization?
Because they aren't virtualization.

In the right circumstances, development can proceed at native speeds on ordinary computers.

@avdi #QConPlus
@avdi A devcontainer is like the ramen noodles of onboarding to a project: just add hot water and you're ready to go.

@avdi #QConPlus
Read 12 tweets
Nov 9, 2021
What matters in developer experience varies as your business grows. @PhillipaAvery from @netflix #QConPlus Startup, Growth, maturity, and renewal-or-decline pictured a
@PhillipaAvery @netflix In the Startup and Growth phases, it's all about velocity. In Maturity, it gets interesting. We need stability without killing velocity.
@PhillipaAvery @netflix In renewal/decline, parts of the software need stability while other parts need velocity.
(I missed the cool picture, it was pretty great)
Read 7 tweets
Nov 9, 2021
Today at #QConPlus , @girba shows graphs that reveal hidden dependencies in code.
Somehow this code reveals its own properties and relationships in custom-made developer experiences
Glamourous toolkit: gtoolkit.com
"empowering developers to create their own tools for every one of their problems" @girba #QConPlus

This is a superpower of developers: we can craft our own work environment.
For example, when viewing build logs: as you find a new problem, add some custom highlighting so that next time it jumps right out at you.
Read 12 tweets
Aug 25, 2021
Anyone who says to you “this architecture is universally applicable”
is probably selling something,
and not doing a very good job at selling something.

@tlberglund #DevoxxPL
Don’t use event-driven architecture for a small system or for an exploratory spike.
“learn what you’re trying to do before you elaborate your architecture.”
@tlberglund #DevoxxPL
Databases don’t go away when you’re using events.

If nothing else: when you need lookup by multiple keys, databases are necessary views on the system of record (which is the event log).

@tlberglund #DevoxxPL
Read 7 tweets

Did Thread Reader help you today?

Support us! We are indie developers!


This site is made by just two indie developers on a laptop doing marketing, support and development! Read more about the story.

Become a Premium Member ($3/month or $30/year) and get exclusive features!

Become Premium

Don't want to be a Premium member but still want to support us?

Make a small donation by buying us coffee ($5) or help with server cost ($10)

Donate via Paypal

Or Donate anonymously using crypto!

Ethereum

0xfe58350B80634f60Fa6Dc149a72b4DFbc17D341E copy

Bitcoin

3ATGMxNzCUFzxpMCHL5sWSt4DVtS8UqXpi copy

Thank you for your support!

:(