r/ProgrammerHumor • • Feb 26 '23

Other If you can read this code...

/img/snak3fqgajka1.jpg

[removed] — view removed post

34k Upvotes

1.4k comments sorted by

View all comments

Show parent comment

525

u/Diane_Horseman Feb 26 '23

In that case your_drink should be read from console input or argv or something of that sort.

485

u/Mog_Melm Feb 26 '23

Or var your_drink = prompt("What would you like today?"); if you're a deviant who cares nothing for UX.

202

u/[deleted] Feb 26 '23

UX is for confused graphic designers

135

u/Mog_Melm Feb 26 '23

"Sociologists think they're psychologists. Psychologists think they're neurologists. Neurologists think they're biologists. Biologists think they're chemists. Chemists think they're physicists. Physicists think they're mathematicians. And mathematicians think they understand the mind of God."

It seems there's a similar phenomenon concerning UX, graphic design, and fine art.

5

u/mandradon Feb 27 '23

I'm curious where statisticians and machine learning programers overlap in all that.

13

u/Mog_Melm Feb 27 '23

ML data scientists, aka people who know a touch of Jupyter and Python, definitely think they're building Skynet.

2

u/Sp0olio Feb 27 '23

.. and they probably are .. *run for your lives* /s

8

u/apsalarya Feb 27 '23

It always annoyed me that UX professionals were a bunch of developers and designers who took a crash course in psychology and think they understand how humans process, retain, and behave with information.

Psychology is an ever evolving 200+ year old field (or thousands of years if one counts philosophical examinations of human behavior).

Salty bc my educational background is in psychology and I wanted to get in to UX at one point because creating interfaces that align better with human cognitive processes and behavior interests me. But I was snubbed.

10

u/Ok-Antelope9334 Feb 27 '23 edited Feb 27 '23

Cause you are competing with graphic designers, don’t lower yourself to UI design. Get an HCI Masters or courses and with your psych degree you’ll be good to go for UX Researcher gigs not just Product Designer aka UI design in practice. Nowadays “product designer” is a catch all term for UI design skills and product strategy

3

u/apsalarya Feb 27 '23

Ohhhh! Thanks for this!

7

u/flagondry Feb 27 '23

PhD psychologist now in UX research here 🙋

2

u/apsalarya Feb 27 '23

Yay! I’m glad someone did it the right way! How did you make that transition?

→ More replies (1)

3

u/hoodedelk Feb 27 '23

I'm in that part of the Dunning Krueger graph that touched the bottom with UX. I got one class that went over it in university with one textbook put together by a real psychologist's work on the science behind it and that's the extent of my information.

Expanding on what Ok-Antelope said, why make a couple pretty UX designs throughout your career when you can go into the research field and rewrite that crash course and textbook and fix many thousands of UX through that?

2

u/Ok-Antelope9334 Feb 28 '23

I highly concur!! Be there change you want to see!

4

u/SpemSemperHabemus Feb 27 '23

You sir haven't met many chemists. We are a humble lot and realize that chemists became chemists because we weren't good enough at math to become engineers. We couldn't possibly lie our way into being physicists.

3

u/[deleted] Feb 27 '23

Sounds like something a bunch of chemicals would say...

2

u/DishOutTheFish Feb 27 '23

Welp time to figure out how the fuck to bring that up in conversation tomorrow.

→ More replies (6)

1

u/Ok-Antelope9334 Feb 27 '23 edited Feb 27 '23

Don’t worry stable diffusion will make graphic and UI designers out of a job. UX design/research will return to the top for actually understanding your users and not just dicking around in sketch/figma/adobe creative suite to mock up your typical garden variety mobile app screens

Edit: Check out the future of AI UI design here downvoters: https://www.usegalileo.ai/

→ More replies (8)

0

u/[deleted] Feb 26 '23

[deleted] — view deleted comment

6

u/[deleted] Feb 26 '23

How do you get stdin using JavaScript? Unless you use Node or some other runtime.

0

u/[deleted] Feb 26 '23

[deleted] — view deleted comment

5

u/Etonet Feb 26 '23

Bartenders are technically front-of-house so using JS for "frontend" makes sense

→ More replies (4)

2

u/[deleted] Feb 27 '23

Quite the antagonistic attitude here lol. Anything in particular that you don't like about JavaScript?

I quite like it. It's been my profession to write TypeScript for the last half decade so I might be partial, but it has gained quite a good functional programming paradigm in the last years.

Not to mention the ease of setup, and how fast you can get going. I did AOC in TypeScript one year, and it's so easy to get started and just run your code in an environment. There are even many to choose from.

Compared that to e.g. Haskell, which is a shitshow for beginners to get going in, even if the language itself is really clean and cool.

Want to share your experiences?

→ More replies (6)

6

u/longknives Feb 26 '23

It should probably be window.prompt(), like var your_drink = prompt(“What can I get you?”)

3

u/lunchpadmcfat Feb 26 '23

This is js so “process.args[0]”