this post was submitted on 01 Apr 2025
463 points (99.4% liked)

Programmer Humor

22505 readers
1077 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 82 points 2 weeks ago (5 children)

It would be nice if it was possible to describe perfectly what a program is supposed to do.

[–] [email protected] 65 points 2 weeks ago (1 children)

Someone should invent some kind of database of syntax, like a... code

[–] [email protected] 32 points 2 weeks ago (2 children)

But it would need to be reliable with a syntax, like some kind of grammar.

[–] [email protected] 23 points 2 weeks ago (1 children)

That's great, but then how do we know that the grammar matches what we want to do - with some sort of test?

[–] [email protected] 20 points 2 weeks ago (1 children)

How to we know what to test? Maybe with some kind of specification?

[–] [email protected] 2 points 2 weeks ago* (last edited 2 weeks ago)

People could give things a name and write down what type of thing it is.

[–] [email protected] 5 points 2 weeks ago (1 children)
[–] [email protected] 11 points 2 weeks ago

We don't want anything amateur. It has to be a professional codegrammar.

[–] [email protected] 10 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

What, like some kind of design requirements?

Heresy!

[–] [email protected] 4 points 2 weeks ago (3 children)

Design requirements are too ambiguous.

[–] [email protected] 6 points 2 weeks ago

Design requirements are what it should do, not how it does it.

[–] [email protected] 3 points 2 weeks ago

That's why you must negotiate or clarify what is being asked. Once it has been accepted, it is not ambiguous anymore as long as you respect it.

[–] [email protected] 2 points 2 weeks ago

I'm a systems analyst, or in agile terminology "a designer" as I'm responsible for "design artifacts"

Our designs are usually unambiguous

[–] [email protected] 3 points 2 weeks ago

Yeah but that's a lot of writing. Much less effort to get the plagiarism machine to write it instead.

[–] [email protected] 1 points 2 weeks ago (2 children)
[–] [email protected] 5 points 2 weeks ago* (last edited 2 weeks ago) (1 children)

This still isn't specific enough to specify exactly what the computer will do. There are an infinite number of python programs that could print Hello World in the terminal.

[–] [email protected] 2 points 2 weeks ago

I knew it, i should've asked for assembly

[–] [email protected] 4 points 2 weeks ago

I think our man meant in terms of real-world situations

[–] [email protected] 0 points 2 weeks ago (1 children)

Ha

None of us would have jobs

[–] [email protected] 4 points 2 weeks ago

I think the joke is that that is literally what coding, is.