Tilted Forum Project Discussion Community

Tilted Forum Project Discussion Community (https://thetfp.com/tfp/)
-   Tilted Humor (https://thetfp.com/tfp/tilted-humor/)
-   -   EE vs CS (might only be funny to EE's or other engineers) (https://thetfp.com/tfp/tilted-humor/61966-ee-vs-cs-might-only-funny-ees-other-engineers.html)

yatzr 07-09-2004 06:20 PM

EE vs CS (might only be funny to EE's or other engineers)
 
I laughed for a good 15 minutes at this.

Electrical Engineering vs. Computer Science

--------------------------------------------------------------------------------

Once upon a time, in a kingdom not far from here, a king summoned two of his advisors for a test. He showed them both a shiny metal box with two slots in the top, a control knob, and a lever. "What do you think this is?"

One advisor, an engineer, answered first. "It is a toaster," he said. The king asked, "How would you design an embedded computer for it?" The engineer replied, "Using a four-bit microcontroller, I would write a simple program that reads the darkness knob and quantizes its position to one of 16 shades of darkness, from snow white to coal black. The program would use that darkness level as the index to a 16-element table of initial timer values. Then it would turn on the heating elements and start the timer with the initial value selected from the table. At the end of the time delay, it would turn off the heat and pop up the toast. Come back next week, and I'll show you a working prototype."

The second advisor, a computer scientist, immediately recognized the danger of such short-sighted thinking. He said, "Toasters don't just turn bread into toast, they are also used to warm frozen waffles. What you see before you is really a breakfast food cooker. As the subjects of your kingdom become more sophisticated, they will demand more capabilities. They will need a breakfast food cooker that can also cook sausage, fry bacon, and make scrambled eggs. A toaster that only makes toast will soon be obsolete. If we don't look to the future, we will have to completely redesign the toaster in just a few years."

"With this in mind, we can formulate a more intelligent solution to the problem. First, create a class of breakfast foods. Specialize this class into subclasses: grains, pork, and poultry. The specialization process should be repeated with grains divided into toast, muffins, pancakes, and waffles; pork divided into sausage, links, and bacon; and poultry divided into scrambled eggs, hard- boiled eggs, poached eggs, fried eggs, and various omelet classes."

"The ham and cheese omelet class is worth special attention because it must inherit characteristics from the pork, dairy, and poultry classes. Thus, we see that the problem cannot be properly solved without multiple inheritance. At run time, the program must create the proper object and send a message to the object that says, 'Cook yourself.' The semantics of this message depend, of course, on the kind of object, so they have a different meaning to a piece of toast than to scrambled eggs."

"Reviewing the process so far, we see that the analysis phase has revealed that the primary requirement is to cook any kind of breakfast food. In the design phase, we have discovered some derived requirements. Specifically, we need an object-oriented language with multiple inheritance. Of course, users don't want the eggs to get cold while the bacon is frying, so concurrent processing is required, too."

"We must not forget the user interface. The lever that lowers the food lacks versatility, and the darkness knob is confusing. Users won't buy the product unless it has a user-friendly, graphical interface. When the breakfast cooker is plugged in, users should see a cowboy boot on the screen. Users click on it, and the message 'Booting UNIX v.8.3' appears on the screen. (UNIX 8.3 should be out by the time the product gets to the market.) Users can pull down a menu and click on the foods they want to cook."

"Having made the wise decision of specifying the software first in the design phase, all that remains is to pick an adequate hardware platform for the implementation phase. An Intel 80386 with 8MB of memory, a 30MB hard disk, and a VGA monitor should be sufficient. If you select a multitasking, object oriented language that supports multiple inheritance and has a built-in GUI, writing the program will be a snap. (Imagine the difficulty we would have had if we had foolishly allowed a hardware-first design strategy to lock us into a four-bit microcontroller!)."

The king wisely had the computer scientist beheaded, and they all lived happily ever after.

MooseMan3000 07-09-2004 07:36 PM

heh.

<< mechanical engineer.

oh, the laughs are just starting to kick in...

Mavric98 07-09-2004 11:50 PM

It is so funny because it is true. hahahaha

<< computer programmer

mojodragon 07-10-2004 05:04 AM

They didn't even talk about exception handling! What if the user attempts to insert juice into the toaster? We need to be prepared for user-induced errors.

<--- Programmer

GM2 07-10-2004 10:01 AM

heh, yeah only engineers are gonna like that one.

<--- Civil Engineer

xatx 07-10-2004 06:41 PM

heeheh

<---EE

Nefir 07-10-2004 08:55 PM

Whahaha... I guess I'm just out of luck, eh?

<--- Computer Scientist

Very funny, and very true :)

tekaweni 07-11-2004 12:44 AM

So true, so true... I see examples of overcomplication very often - projects that never end.

<--- software eng

freeload 07-11-2004 11:22 AM

Very true!

Software eng and educated in electronics...didn't know if I should laugh or cry.

chewybaca96 07-13-2004 08:26 AM

haha

Peetster 07-13-2004 08:33 AM

They should have started at the quantum level. :)

<----- Physicist

ka0t1k 07-15-2004 01:41 PM

haha

<--- PE teacher

saltfish 07-15-2004 08:57 PM

Wow...

I mean, WOW...

<--- Was EE, now a Hospitality Manager.

Coding frightens me.

TheDave87 07-15-2004 09:08 PM

a bit of both worlds here, studying EE and CS both... funny as hell

klasdopqasd 07-15-2004 10:31 PM

<-- CS
See, the thing is, the more complicated I do something, the more I get paid!

losthellhound 07-16-2004 09:03 AM

damn that thing is going to generate calls

<--- Technical Support

chmoo 07-17-2004 05:35 AM

There are two methods of constructing a design. The first is to make it so simple that there are obviously no deficiencies. The second is to make it so complicated that there are no obvious deficiencies.

The first method is far more difficult.

pocon1 07-17-2004 05:12 PM

That was boring.

<-----Personal Trainer

Corneo 07-18-2004 12:03 AM

I don't get it. Maybe its because I haven't taken any engineering classes yet.

<-----1/2 EE + 1/2 CS major.

Jadedfox 07-22-2004 04:34 AM

Funny stuff!

<--- CS

--jaded

Ripp3r 07-22-2004 04:58 AM

I don't get it

<---- DF (dumb fuck)

Dawson70 07-22-2004 09:02 AM

Funny and believeable <-----------Mechanical Engineer

onetime2 07-22-2004 09:39 AM

Would have been funnier if an economist was thrown into the mix

<-----------Former ME student who switched to Economics after 2 years

whocarz 07-23-2004 04:40 PM

They should both be beaten to death with wooden planks for over complicating a fucking toaster!

FngKestrel 11-01-2004 10:46 PM

haha

<--- Artist

Ydde 11-02-2004 12:26 AM

That was too funny. :thumbsup:
That's why I hated programming. heh

<--------- Mechanical Engineering Undergraduate

duckduck 11-02-2004 12:57 AM

BWUAHAHAHA!


<------Civil evgineer undergrad


Though, I would have solved everything by just roasting it all over a fire, but maybe that's just me.

molloby 11-02-2004 03:56 AM

Very nice, I should send this to an electrical buddy of mine.

<------- Civil Engineering / Science undergrad

Echodork 11-02-2004 05:26 AM

When can we expect the first patch? TOAST IS HORRIBLY IMBA AND NEEDS TO BE NERFED!!!

<------ Game Designer


All times are GMT -8. The time now is 01:55 PM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Search Engine Optimization by vBSEO 3.6.0 PL2
© 2002-2012 Tilted Forum Project


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360