this post was submitted on 15 Nov 2024
211 points (94.1% liked)

Programmer Humor

32483 readers
429 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments

Swift: : Equatable

(assuming all the members of the struct are themselves equatable, if not the compiler will tell you to implement the == method)