r/computerscience • • Apr 26 '18

The Importance of Exception Handling

Post image
635 Upvotes

23 comments sorted by

190

u/TRAPexium Apr 26 '18

...throws FriesNotFoundException

18

u/the_dank_hybrid Apr 26 '18

You got me, take my upvote please

30

u/itsmeMarss Apr 26 '18

sorry ordering machine broke

3

u/TheOboeMan Computer Scientist Apr 27 '18

Understandable. Have a nice day.

20

u/drewshaver Apr 26 '18

Rofl that’s one hell of an edge case.

44

u/Gaijin35 Apr 26 '18

Smh McDonald's should be on top of that as a major company...well more jobs for us up and coming cs majors!

21

u/IliacHumanitarianism Apr 26 '18

Lol. It’s actually not that surprising of them; companies like that tend to think they’re too good and notorious to invest in such proper service.

3

u/_WhatTheFrack_ May 20 '18

Companies like this focus on their bottom line. Most attention is on supply chains for their meat and real estate locations. Technology is an after thought.

Source: worked for a fortune 500 company and noticed this mentality.

4

u/[deleted] Apr 27 '18

They'll have outsourced it thinking it's cheaper.

1

u/emanymdegnahc May 04 '18

A couple months ago I was able to order free food through the mobile app. If you searched for things under $3, there were probably 15 or so food items that you could order for $0.

19

u/Lolyman13 Apr 26 '18

Anyone else tried it?

8

u/NACHO_DINO Apr 26 '18

They run windows 7, in case anyone is curious

9

u/[deleted] Apr 26 '18

Insane! One would think they'd run a web server and browswer kiosk instead of running a sql dependant machine... I'm assuming this is a sql dependant program because I don't see any other way this would work.

15

u/shadeXroses Apr 27 '18

Error 404: Burger Not Found

10

u/squishles Apr 26 '18 edited Apr 27 '18

It's a POS device, they like to pretend they're not normal computer hardware and do their own stupid things like this.

1

u/[deleted] Apr 27 '18

*their

8

u/[deleted] Apr 27 '18

How did you take before and after photo?

4

u/[deleted] Apr 27 '18

He didn't. Any other machine would be able to show a relevent before shot.

3

u/TheOboeMan Computer Scientist Apr 27 '18

Garbage in, garbage out.

Yes, McDonald's is garbage.

2

u/Houly Apr 27 '18

Importance of test driven development you mean.