Edited, memorised or added to reading queue

on 01-Feb-2024 (Thu)

Do you want BuboFlash to help you learning these things? Click here to log in or create user.

First-ever sighting of a live newborn great white
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

First-ever sighting of a live newborn great white | News
pring 2023 Fall 2022 Summer 2022 Spring 2022 Winter 2022 Fall 2021 Subscriptions Breadcrumb News January 29th, 2024 First-ever sighting of a live newborn great white Follow US: January 29, 2024 <span>First-ever sighting of a live newborn great white Footage may help solve longstanding mystery in shark science Author: Jules Bernstein January 29, 2024 Share This: Facebook Twitter LinkedIn Email PrintFriendly Great whites, the largest




What “accept interfaces, return structs” means in Go
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Unknown title
What “accept interfaces, return structs” means in Go | by Jack Lindamood | Medium Open in app Sign up Sign in Write Sign up Sign in Top highlight What “accept interfaces, return structs” means in Go Not lacking nuance Jack Lindamood · Follow 4 min read · Dec 5, 2016 989 9 Listen Share I’ve mentioned a general guideline of accept interfaces, return structs in a previous post and mul




previous post
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Unknown title
, return structs” means in Go Not lacking nuance Jack Lindamood · Follow 4 min read · Dec 5, 2016 989 9 Listen Share I’ve mentioned a general guideline of accept interfaces, return structs in a <span>previous post and multiple times on code reviews to coworkers, but often get the question “Why”. Especially since this isn’t a hard rule. The crux of the idea, and understanding when to bend it, is i




You aren’t gonna need it
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Unknown title
ing code than when they are creating an abstraction for something. Interfaces abstract away from structures in Go and this indirection has a non zero level of embedded complexity. Following the <span>You aren’t gonna need it philosophy of software design, it doesn’t make sense to create this complexity until it’s needed. A common reason to return interfaces from function calls is to let users focus on the A




wrote about this point
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Unknown title
ly depends upon what we need. type DatabaseWriter interface { AddUser(string) } func NewUser(d DatabaseWriter, firstName string, lastName string) { d.AddUser(firstName + lastName) } Dave Cheney <span>wrote about this point when he described Interface Segregation Principle. He also describes other advantages of limiting input that’s worth reading. The summary goal that drives home the idea is: the results




Interface Segregation Principle
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Unknown title
seWriter interface { AddUser(string) } func NewUser(d DatabaseWriter, firstName string, lastName string) { d.AddUser(firstName + lastName) } Dave Cheney wrote about this point when he described <span>Interface Segregation Principle. He also describes other advantages of limiting input that’s worth reading. The summary goal that drives home the idea is: the results has simultaneously been a function which is the mo




Preemptive Interface Anti-Pattern in Go
statusnot read reprioritisations
last reprioritisation on suggested re-reading day
started reading on finished reading on

Unknown title
Preemptive Interface Anti-Pattern in Go | by Jack Lindamood | Medium Open in app Sign up Sign in Write Sign up Sign in Top highlight Preemptive Interface Anti-Pattern in Go Jack Lindamood · Follow 3 min read · Jun 24, 2016 765 9 Listen Share In this post I will describe the Preemptive Interface pattern often used in code and why I think it is generally an