This can be as easy as forcing an engineer to type the word "unsafe" to do things that are unsafe. (And then you can audit for that, grep for it, discourage it in training, encourage people to push back in code reviews, etc.)
-
-
Show this thread
-
Corollary: DON'T MAKE THE SAFE PATH THE HARDER ONE. This includes e.g. safely_query_the_database() over query()
Show this thread -
That should be query() versus unsafely_query_the_database_i_know_what_i_am_doing_and_this_will_not_blow_up_because_we_had_a_review_meeting_about_it()
Show this thread
End of conversation
New conversation -
-
-
@mipsytipsy wrote a fantastic essay about this - she calls it the Golden Pathhttps://charity.wtf/2018/12/02/software-sprawl-the-golden-path-and-scaling-teams-with-agency/amp/ … -
I also love how React has a property called dangerouslySetInnerHTML
- 1 more reply
New conversation -
-
-
“make the right things easy and the wrong things hard”
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
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.