DEV Community

Two Programmers Walk Into a Bar...

Uncaught TypeError: bar is not a function

Discussion (10)

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 • Edited on

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 • Edited on

... 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