this post was submitted on 15 Nov 2024
282 points (93.3% liked)

Programmer Humor

32483 readers
224 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 3 points 23 hours ago

Swift: : Equatable

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