r/ProgrammerHumor • • May 09 '21

Meme I'm *technically* qualified

Post image
25.0k Upvotes

666 comments sorted by

View all comments

273

u/ts_m4 May 09 '21

Mathematics baby!!

210

u/Fox-One_______ May 10 '21

This. I am a programmer with a physics degree. I taught myself the basics of coding and I can learn what my co-workers know while on the job. But I can also do shit they can't even begin to do and there's no way they're gonna learn it on the job. You can't replace 3 years worth of rearranging and manipulating equations. Maths is a super power when you've had to use it for a physics degree.

227

u/astrolobo May 10 '21 edited May 10 '21

As a PhD student in physics with a CS background I can say that physicist tend to code incredibly well in short term projects. We are smart and innovative, but we tend to be terrible at writing long term maintainable and scalable code.

143

u/LastStar007 May 10 '21

They're all short term projects until they prove they aren't.

65

u/Fox-One_______ May 10 '21

Yeah I can totally see that. I was recently tasked with writing code that will generate a toroidal mesh and I absolutely loved it. I wrote something very efficient and leveraged my electromagnetism experience but God help any CS grad who wants to modify my code in future. Also, if someone wants to add different shaped meshes that can be generated they will need to refactor my code or just copy and paste it to some new architecture. I am also terrible at logging errors.

45

u/[deleted] May 10 '21

I wrote something very efficient and leveraged my electromagnetism experience but God help any CS grad who wants to modify my code in future.

This kinda shit is how I become waaaaay too knowledgeable in shit I'll never touch again. I'll shriek in horror, take a deep breath, go down a horribly deep rabbit hole, resurface 1-15 days later and write my 1-15 lines of code. LOL.

2

u/pleaseaccusrname May 10 '21

reminds me of my assembly project for uni... 8 days just sitting in the corner crying with my laptop

8

u/ITriedLightningTendr May 10 '21

I am also terrible at logging errors.

Don't worry. Logging and documentation are like a sub specialty.

Our current project logs so much random bullshit that you need to understand a proprietary query language to filter for relevant data.

→ More replies (1)
→ More replies (1)

8

u/[deleted] May 10 '21

Me doing physics: just follow the math and see where I end up.

Me coding: just follow the code and oh fuck ah fuck fuck oh it works.

→ More replies (1)

12

u/HeySeussCristo May 10 '21 edited May 10 '21

Amen, there's a big difference between writing code and writing software. I work with a lot of Engineers (mechanical, electrical, etc.). Super smart people, I love working with them, but they can't see the forest through the trees. They usually write pretty shitty software with little forethought.

Globals? Let's do it. Testing? Not needed, my other Engineer buddy reviewed the code, he confirmed it's perfect. Code spits out a negative Kelvin temperature? It's fine, the user will use engineering judgement and see that's not important. (For reference, zero Kelvin is absolute zero, the lowest possible temperature. The point at which atoms stop moving. Kelvin cannot be negative, it's physically impossible.) Etc.

Edit: I stand corrected. I'm not a physicist, I should stay in my lane.

17

u/zebediah49 May 10 '21

Code spits out a negative Kelvin temperature? It's fine, the user will use engineering judgement and see that's not important. (Zero Kelvin is absolute zero, the lowest possible temperature. The point at which atoms stop moving. Kelvin cannot be negative, it's physically impossible.) Etc.

Fun fact: by the statmech definition, you can't have zero Kelvin, but you can go negative. You get there by going around the other side, through positive infinity, which wraps around to negative infinity. Oh, and as a side note, all negative temperatures are "hotter" (i.e. transfer energy into) than all positive temperatures.

It means that an increase in system energy is associated with a decrease in system entropy. While physically possible, such a system is... "uncommon".

3

u/HeySeussCristo May 10 '21 edited May 10 '21

Interesting, thanks. Has this phenomenon ever been witnessed or is it purely theoretical? Temperatures I've seen justified by Engineers are around -4000 K and infinity plus/minus anything is still infinity, at least mathematically. Keep in mind they're usually modeling real systems that exist on Earth...

5

u/philip1201 May 10 '21

2

u/HeySeussCristo May 10 '21 edited May 10 '21

Neat, thanks. I stand corrected to some degree (a billionth of a degree, according to the article). However, I don't think their systems are intended model dark energy/matter

→ More replies (1)

2

u/zebediah49 May 10 '21

FWIW: Those are almost definitely wrong. You're not going to legitimately see negative temperature in a "normal" system. Chances are if you're doing something like that, your title involves the word "Physicist", rather than "Engineer".


Depends on how you define "witnessed".

The key to make negative temperature work is an energy state maximum. This means that anything normal (i.e. temperature based on kinetic energy) is excluded: you can always go faster. So you end up with systems like "A collection of atomic spins" and such. Nothing you can stick a thermometer into, that's for sure.

Here's an incredibly neat example where a group built such a system in 2013.

But again... you don't do this by accident.

2

u/HeySeussCristo May 11 '21

Thanks! By witnessed I meant measured/observed, as opposed to purely theoretical.

→ More replies (2)

2

u/quantum_weirdness May 10 '21

100% can confirm - hell, that fact is essentially the basis for a lot of my PhD work so far

1

u/Skullbonez May 10 '21

I have a colleague with a physics degree who is brilliant on small projects but as soon as we have to maintain and expand them, we start finding problems.

1

u/ITriedLightningTendr May 10 '21 edited May 10 '21

So are most programmers~

Architecture is my favorite part of programming, though.

Creating large scale maintainable things is the opposite side of the coin of extremely malleable code.

I had the foresight to start pushing my current project toward modularity two years ago, and now when management came back around and is starting to ask to use older things in unforeseen ways. Turns out, all I've had to do to make it work was decentralize some code. Like, 95% of the code changes I've had to make were just moving A' out of A so it can be accessed by B. Nothing new, just moving.

Being able to make abstractions of logic that can form as black boxes like legos with other black boxes, is where the magic starts to happen.

A vast majority of programming is just utilizing the stuff that already works, like what physics code would process. Once you have that isolated and reusable, now you just have your Math library.

→ More replies (5)

2

u/falkon3439 May 10 '21

Manipulating equations?? Nah, we'll just make everything discrete.

2

u/Agon1024 May 10 '21

This .. I went into computer science and have mad respect for people that are comfortable with that level of maths. I dabble out of interest, but I also know that that is not at all enough.

0

u/[deleted] May 10 '21

[deleted]

→ More replies (3)

0

u/gemengelage May 10 '21 edited May 10 '21

Sadly in my experience someone with a PhD in physics is virtually allergic to learn software engineering and often completely blind to their shortcoming in that field. Not to disparage their work, but while coding was a big part of their daily work, they were script kiddies, plain as day.

EDIT: Just remembered that I did in fact have one coworker who had it all - a PhD in physics and both the discipline and proficiency to write great software. When that guy took a day off, his team was running at 20% efficiency. On the other hand the physics PhDs I had the pleasure to work with more intimately could easily give my team a 20% efficiency boost just by staying home.

1

u/mahlersand May 10 '21

As a physics student myself, I've got to say we might be smart about maths, but most of us can't write any readable code at all. I corrected homework assignments for a bunch of undergrads in C++, and it was horrifying.

1

u/PanTheRiceMan May 10 '21

Over here we have Informatics, the science of coping with information storage and processing on modern computers. They also have to study a lot of math. If anybody specializes in computer graphics there is no getting around heavy linear algebra and quaternions. Physics grads k ow what I am talking about.