void remove(IntList* l, IntListItem* target) {
if (l->head == target) {
l->head = l->head->next;
return;
}
IntListItem* prev = l->head;
while (prev->next != target) prev = prev->next;
prev->next = prev->next->next;
}
Skimming the comments here, I was surprised not to see an equivalent piece of code mentioned. To me my code is more readable than both of the first and second examples presented in the article. Does that mean my taste is peculiar? Q("""select 1 from {otherQuery}""")
What does the following code enable that the code above cannot do? Q(lambda: f"""select 1 from {otherQuery}""")
I sense a bloated ego of the author in Black's decisions -- to contradict with the language's preferred formatting style.