loading...

Two Programmers Walk Into a Bar...

bennypowers profile image Benny Powers 🇮🇱🇨🇦 ・1 min read

Uncaught TypeError: bar is not a function

Discussion

pic
Editor guide
Collapse
citizen428 profile image
Michael Kohl

I feel this should have been "Two programmers walk into a foo cause they couldn't find the bar" ;-)

Collapse
zeddotes profile image
zeddotes

You'd get gold on Reddit.

Collapse
bennypowers profile image
Benny Powers 🇮🇱🇨🇦 Author
curl -d '{"title": "Gold for comments. #jokes only", "body": "What it says on the tin. Reddit-style gold for jokes posts and comments"}' -H "Content-Type: application/json" -X POST https://github.com/repos/thepracticaldev/dev.to/issues/
Thread Thread
zeddotes profile image
zeddotes

With the exception of the endpoint (should be github.com/thepracticaldev/dev.to/...), please tell me this isn't supposed to work lol.

Thread Thread
bennypowers profile image
Benny Powers 🇮🇱🇨🇦 Author

if it made you chuckle, it's mission accomplished

Collapse
thermatix profile image
Martin Becker

Is one of them Mr<T>?

Collapse
thecodingalpaca profile image
Carlos Trapet

This one actually made me giggle

Collapse
bennypowers profile image
Benny Powers 🇮🇱🇨🇦 Author

there weren't any specs for the internal APIs so the engineer just called the function 'foo' ;)

Collapse
vguleaev profile image
Vladislav Guleaev

... and of them orders every special dish marked with asterisks from the menu.
After a while waiter comes up and asks:
-Why did you chose all these dishes?
-I just did: SELECT * FROM MENU

Collapse
alexisbenamar profile image
Alexis Benamar

Error:
System.Data.DBConcurrencyException:
Concurrency violation: The OrderBeer affected 0 of the expected 1 records