mdwhatcott | 2 months ago | on: Golfing Is Not Rowing
mdwhatcott's comments
mdwhatcott | 4 months ago | on: Next Steps for the Caddy Project Maintainership
It's actually Matt :)
mdwhatcott | 9 months ago | on: Flattening Rust’s learning curve
mdwhatcott | 11 months ago | on: Computers and Mice – Mister Rogers Neighborhood
I appreciate that a computer has become such a wonderful tool for realizing ideas that come from my imagination.
mdwhatcott | 1 year ago | on: Building websites with lots of little HTML pages
mdwhatcott | 1 year ago | on: Building websites with lots of little HTML pages
I'm not understanding how you are achieving the css transitions between what look like new page loads under the hood...Can you elaborate on how that works?
mdwhatcott | 1 year ago | on: Building websites with lots of little HTML pages
mdwhatcott | 1 year ago | on: Show HN: A Database Written in Golang
mdwhatcott | 1 year ago | on: Learn perfect pitch in 15 years
mdwhatcott | 2 years ago | on: Starship will attempt a launch this Friday
mdwhatcott | 2 years ago | on: Backward Compatibility, Go 1.21, and Go 2
mdwhatcott | 2 years ago | on: Backward Compatibility, Go 1.21, and Go 2
mdwhatcott | 4 years ago | on: Advent of Code 2021
mdwhatcott | 4 years ago | on: Advent of Code 2021
mdwhatcott | 5 years ago | on: Discipline Doesn’t Scale
mdwhatcott | 7 years ago | on: Exploring Error Handling Patterns in Go
Actually, we unknowingly ignore returned errors much more often than we think, like when we call a function and opt out of assigning any of the return values to variables. Consider this function, which returns a single value (being an error).
func Failure() error {...}
You can always choose to call an error-returning function without declaring any placeholder (`_`): Failure()
There are several commonly used functions that return errors that are regularly ignored. How about `io.Writer`? writer.Write([]byte("Hello")) // returns (n int, err error)
It's quite common to call that function without feeling a need to check on the bytes written or a possible error. Or, consider whether you consistently check the return values of `fmt.Println()`, which also returns `(n int, err error)`...mdwhatcott | 8 years ago | on: Teach Yourself Programming in Ten Years (1998)
mdwhatcott | 8 years ago | on: Advent of Code 2017
mdwhatcott | 11 years ago | on: A curated list of Go frameworks, libraries and software
Nice little nod (on a post about Golf) to Tiger Woods.