this post was submitted on 15 Nov 2024
286 points (93.1% liked)

Programmer Humor

32571 readers
131 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
[–] savedbythezsh@sh.itjust.works 4 points 1 week ago

Swift: : Equatable

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