619
Find yourself (lemmy.ml)
submitted 11 months ago by coja@lemmy.ml to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] lwhjp@lemmy.sdf.org 76 points 11 months ago

TDD

const max12 = (x, y) => {
    if (x === 1 && y === 2) {
        return 2;
    } else if (x === 7 && y === 4) {
        return 7;
    } else {
        return x;
    }
};
this post was submitted on 22 Oct 2023
619 points (95.7% liked)

Programmer Humor

32144 readers
121 users here now

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

Rules:

founded 5 years ago
MODERATORS