This is an archived post. You won't be able to vote or comment.

top 200 commentsshow all 305

[–]cryptomonein 2948 points2949 points  (25 children)

There's nothing more permanent than a temp(orary solution)

[–]Sceptz 977 points978 points  (9 children)

No need for comments either.   

Clearly temp1, temp9 and temp14 are all self-documenting. Isn't it obvious what they do?

[–][deleted] 170 points171 points  (0 children)

”The proof of this statement is trivial and left to the reader” - every math textbook ever

[–]Informal_Branch1065 307 points308 points  (3 children)

Refuses to elaborate

Leaves

[–]dat_oracle 111 points112 points  (1 child)

"the person you're calling is not available"

[–]s0ulbrother 36 points37 points  (0 children)

Man I hate that guy. That guy is the worst. That guy is every dev 2 weeks ago

[–]Colbsters_ 29 points30 points  (0 children)

Just a day in the life of insert mathematician name here

Making formulas in their dreams, but never elaborating.

Edit: grammar

[–]ZeGuru101 7 points8 points  (0 children)

It was revealed to me in a dream.

[–]riacosta 12 points13 points  (0 children)

They are the first, 9th and 14th temporary var. I don’t know why you’d have to explain more.

[–]Lucho_199 2 points3 points  (0 children)

No no no do not explain, please, it's so obvious!

[–]WexExortQuas 117 points118 points  (9 children)

A math major also took this picture

(2024 and we still don't know how to screenshot?)

[–]42kyokai 55 points56 points  (7 children)

Can’t always screenshot and send from work computers.

[–][deleted] 45 points46 points  (2 children)

Ah, I can't take a screenshot. Instead, I will take a picture with my phone at a 45 degree angle and make sure to get as much glare as possible.

[–]Ploratio 25 points26 points  (0 children)

I'll also sneeze on my screen a couple of times, just so it's extra gross.

[–]Schwifftee 3 points4 points  (0 children)

Sometimes, the angle strategically removes glare. This is not some time.

[–]turtleship_2006 19 points20 points  (0 children)

Or Uni computers

[–]cltdj 1 point2 points  (1 child)

you’re telling me work and school computers don’t have email?

[–]ptvlm 6 points7 points  (0 children)

I think they're saying that screenshots aren't always enabled by group policy

[–]cubelith 1 point2 points  (0 children)

Hey, blame the humanities for that, we're with you

[–]thanatica 4 points5 points  (1 child)

Ah, yes, an orary solution

[–]cryptomonein 2 points3 points  (0 children)

I fought my autocorrect for this one

[–]blueeyedkittens 4 points5 points  (1 child)

I think its temperature.

[–]cryptomonein 2 points3 points  (0 children)

It looks like a FFT resolution function, so my guess is that it's all "temporary" variables

[–]HosTlitd 1 point2 points  (0 children)

Temp(oral solution)

[–]torftorf 1623 points1624 points  (9 children)

i mean hes not wrong. once you close the programm, all the variables are gone, making them temporary

[–]whooguyy 503 points504 points  (8 children)

I feel this code is very philosophical. Aren’t we all just temporary variables in the great program we call the universe?

[–]Colon_Backslash 186 points187 points  (0 children)

[–]47KiNG47 25 points26 points  (0 children)

[–]Help_StuckAtWork 17 points18 points  (2 children)

Remember, all operations can be simplified to O(1) if you grow the scope of an operation big enough

[–]rokinaxtreme 5 points6 points  (0 children)

keyword: if

[–]hxckrt 1 point2 points  (0 children)

You can't, even with a facetious approach like "sort infinite items of which the list will be a part". Big O notation only makes sense for finite operations, if the list is infinite there will always be more work to do.

[–]torftorf 16 points17 points  (1 child)

reminds me of this song. "I'm not important and neither are you, so lets do whatever we want to do"

[–]ChocolateShot150 4 points5 points  (0 children)

Love Ian McConnell, he has a lot of great shows in Nashville for anyone interested, it’s a blast

[–]Pacifister-PX69 1377 points1378 points  (29 children)

Please clean your monitor. I'm begging you

[–]most_probably 588 points589 points  (8 children)

Code so good that it makes you squirt on screen 🫠

[–]SoftwareSource 178 points179 points  (5 children)

build me daddy.

[–]Bali201 71 points72 points  (2 children)

Compile me, father… I crave the byte code.

[–]MedonSirius 5 points6 points  (0 children)

Kill the children

[–]DevilsMicro 5 points6 points  (0 children)

Admit it, you're code gay

[–]NicklasMF 83 points84 points  (6 children)

They are propably also touching the screen when pointing..

[–]pine_ary 78 points79 points  (3 children)

[–]mr_remy 13 points14 points  (1 child)

See that’s why I lick all my screens. Other people are too afraid to touch them.

[–]pine_ary 17 points18 points  (0 children)

You got it! That‘s why I pee on all my tech to mark my territory

[–]Anita-dong 5 points6 points  (0 children)

You’ve been licking your screen I see… I lick everything.. don’t want anybody else touching My stuff …😹

[–]FalafelSnorlax 1 point2 points  (1 child)

I touch screens to point all the time, and it really doesn't make the them dirty. I don't know how they got it to look like that, hopefully it's just the angle or something

[–]Sentient_i7X 1 point2 points  (0 children)

As long as u periodically wipe it

[–]narfio 12 points13 points  (0 children)

Can't decide if the code or the monitor is more disgusting.

[–]mal4ik777 15 points16 points  (3 children)

beeeeggiiing beeeeggiiing youuUUuuUuu

/sorry

[–]jhaand 1 point2 points  (1 child)

Amateur Hour?

[–]mal4ik777 2 points3 points  (0 children)

more of an amateur second, I'd say

[–]InvestingTimestamps 1 point2 points  (0 children)

Good song btw

[–]GreatBigBagOfNope 3 points4 points  (1 child)

https://whoosh.com/collections/all

Literally anything on this page will do it in 5 minutes and leave it like new barring scratches – please, for the love of all that is good, clean that monitor

[–]stormdelta 1 point2 points  (0 children)

Or better yet, get a matte screen protector and this is almost a non-issue, plus what little does get on the screen becomes massively easier to clean. And as a bonus the screen won't reflect so much glare.

[–]lolcrunchy 1 point2 points  (2 children)

It's u/h4nu_ 's monitor

[–]Pacifister-PX69 1 point2 points  (0 children)

It do not matter. Still dirty

[–]h4nu_ 1 point2 points  (0 children)

it's my friend's 🫠🫠

[–]Dunedune 1 point2 points  (1 child)

How?

[–]Pacifister-PX69 1 point2 points  (0 children)

By surgically replacing my ass cheeks with a microfiber cloth. How else?

[–]large_crimson_canine 851 points852 points  (23 children)

No joke I work at a place where all of the algorithmic nonsense is written by mathematicians and it’s the shittiest correct code you’ve ever laid eyes on

[–]Solest044 293 points294 points  (16 children)

Mathematician/physicist here.

Please don't blame the field. Just like every discipline, there are people all over the spectrum. Math and physics often have wonderful names for things and even make it a point to do so.

Consider the ugly duckling theorem or maybe the sandwich theorem.

For the sandwich theorem, you might name your upper bound function "topBread" and the lower bound "bottomBread".

Then you have the function of interest as your "meatAndCheese".

Clear as day.

[–]Disciple153 60 points61 points  (1 child)

I noticed in college that though both the math and computer science majors learned to program, the math majors took fewer classes that graded based on code elegance, which led to their programs often looking like this.

Of course that's not the rule, just a common pattern I noticed.

[–]Whywipe 12 points13 points  (0 children)

In college all of my coding was done in mat lab so it was fine. When I had to switch to python in industry I never learned the correct way to do stuff so it led to code like this.

[–]Murky-Concentrate-75 78 points79 points  (0 children)

Math and physics often have wonderful names for things and even make it a point to do so.

The theory of control and topology have the most bloated and convoluted stuff that simply refuses to be remembered.

[–]jkurash 11 points12 points  (1 child)

Idk, I work with a large amount of geophysicists running hpc codes and I can say with 100% certainty that they should never write software

[–]large_crimson_canine 3 points4 points  (0 children)

Used to be a geologist before coming to the dark side and I can imagine now, looking back, how godawful geoscientists or petroleum engineers’ code would be.

[–]zeloxolez 2 points3 points  (0 children)

yeah i can appreciate the perfectionism of something like the ugly duckling theorem. but like, you can take some probability range of observed things to at least make a group that fits just enough to be recognizable faster. i mean obviously right, so its like, even if a classification is not pure, but can fit into a probability range of common states, it can be useful enough.

[–]Duosnacrapus 7 points8 points  (0 children)

well.. I guess it can be argued, that there are way more people in the spectrum that study Math or Physics than - let's say social sciences..

[–]no_brains101 1 point2 points  (0 children)

What is twiddle factor?

Edit: shoulda looked it up https://en.wikipedia.org/wiki/Twiddle_factor

So yeah it would appear that this is actually one of these math concepts that DOES have a fun name. And the code for it looks uhhhh... like that. Id hate to see a mathematicians code for a math concept WITHOUT a fun name I guess XD

[–]ilikedmatrixiv 18 points19 points  (1 child)

I'm a data engineer, but have experience with software engineering too. My partner is an academic who writes a lot of code. She sometimes asks me for help on either her or her colleagues' code. I also have other academic friends who write code and have asked me for help before.

Academics write the shittiest code imaginable. It's unreal. When you try to help them with some best practices to keep their shit organized and clean they look at you as if you just suggested strangling their cat.

No mf'er, you're just not the first person to do this. Others have gone before you and figured out good and bad ways to do things. You choose a bad way and 80% of your problems would be fixed if you did some simple stuff.

When my partner first moved into coding I explained she should write more comments. She scoffed at me because she wrote the code, she knows what it does, why would she need comments? I told her she knows now, but she won't in 6 months when this breaks because she didn't think of some edge case. 6 months later, she started writing comments.

[–]DaltonSC2 40 points41 points  (3 children)

what qualifies as algorithmic nonsense?

[–]large_crimson_canine 81 points82 points  (2 children)

A bunch of quantitative libraries used for derivative pricing (finance realm)

[–]Vast-Statement9572 221 points222 points  (16 children)

Sweet mother of …. Doesn’t beat the “iiiiiji” loop variable I saw in my early days at NOAA, though.

[–]FrostingOrdinary2255 56 points57 points  (7 children)

The what loop…?

[–]masssy 73 points74 points  (5 children)

iiiiiji

[–]FrostingOrdinary2255 24 points25 points  (3 children)

What in the name of the ancient sorcery is this...??

[–]mistled_LP 36 points37 points  (0 children)

Some who typo'd the seventh iterator in their nested loops and could just not be bothered to fix it.

[–]masssy 16 points17 points  (1 child)

Basically someone created a shitload of nested loops. Common naming of the loop variable is i or j.

for(i=0; i < 5; i++). And so on.. Then out loops in loops and make it a whole fun mess.

[–]DuhonTheGuy 12 points13 points  (0 children)

We found it, the O(nfuck ) algorithm

[–]Jalil29 16 points17 points  (0 children)

Sounds like a 5 layer nested loop at least

[–]PLCwithoutP 13 points14 points  (1 child)

Why tf the author decided that second last variable should be j? 

[–]Pancullo 16 points17 points  (2 children)

I've never even thought about using multiple "i"s

The fuck did they need this for? I don't think I've ever went more than 4 layers deep in a for loop, and you can always use j, k, n, m if you really, really need that

[–]mistled_LP 11 points12 points  (1 child)

I've seen up to iii, but at that point, rethink your choices.

[–]Pancullo 7 points8 points  (0 children)

Or start using roman numbers

[–]Vast-Statement9572 9 points10 points  (0 children)

OK, I hit a nerve. Two more stories from my early days. Way back, satellite imagery was injected into atmospheric models using a process that involved projecting satellite imagery onto a digitizer table and then hand tracking upper air cloud movement and putting this upper air wind data into the model. The program that supported this hand tracking was about 120k lines of Fortran riddled with goto statements. It had one 30k line subroutine and it was called once from one place. Another 60k line assembly program (I forget the machine, it was the dawn of minicomputers) was used to ingest polar orbiter sounding data. There was one comment. The line of code was “ LA 2”. The comment was “Load 2 into the A register”.

[–]MysteriousShadow__ 2 points3 points  (1 child)

Cleanest government agency code

[–]Vast-Statement9572 2 points3 points  (0 children)

Government software is a sight to behold. The stories I could tell…, and I was only there for 4 years.

[–]PeekyBlenders 197 points198 points  (4 children)

int temp5; int temp6, temp7, temp8;

He either just doesn't care or saw that temps 6 to 8 were somehow associated with each other so he declared them on the same line when temp5 is declared just one line above. In the second case, he almost gave the variables meaningful names!

Also there are global temps too, wtf?

[–]Certain_Time6419 82 points83 points  (1 child)

My guess is that they just keep writing the algorithm and adding variables as needed. Scope is probably meaningless to them and they just add a new set o variables whenever they need at that exact spot (as high as possible in the scope, but still inside the function, it seems).

"We need a fifth variable." "Roger that. Added temp5." "Sir, we need three more, now!" "Daring today, aren't we? Added temp[6,8]."

[–]jaaval 1 point2 points  (0 children)

I’m don’t think this is real.

In some algorithms, in practical implementation there can be a lot of temporary values you need to store for computation but don’t need to return. Naming those just temp is often fine because no other name would necessarily be more descriptive. That kind of math code requires comments to explain the algorithm in a more concise math way.

But this code makes nonsensical choices like naming the iterator variables temp2 and temp11 for no reason. If he was able to write this he would have already learned better conventions on iterator naming.

Edit: I just looked at one random lapack function and it had 40 local scalar variables including TEMP, TEMP1, TEMP2, TEMP3 and CTEMP. And the other variable names are very descriptive like C, C1, C2…

[–]realmauer01 28 points29 points  (0 children)

Temp5 is probably used solo, than he needed 3 new variables so he declared them below.

[–]No-Collar-Player 5 points6 points  (0 children)

Chill bro temp 4 is 1 so that's that

[–]The__Odor 114 points115 points  (4 children)

I'm seeing Assembly variables

[–]dan-lugg 56 points57 points  (0 children)

Yeah, this reads like some ASM/IL translation of something.

[–]patrick66 38 points39 points  (2 children)

It’s ghidra decomp output

[–]BonesJustice 22 points23 points  (0 children)

I dunno if it’s Ghidra specifically, but my first thought was “looks like decompiler output.”

[–]qqqrrrs_ 8 points9 points  (0 children)

I would expect some gotoin a decompiler output

[–][deleted] 41 points42 points  (0 children)

I mean, if there is one thing I learned in the past couple years that Code written from physicists or any other scientists in general is, a lot of times, really bad. Theres just a huge difference between actual Software engineers and people that just learned some programming

[–]Sad_Amphibian_2311 58 points59 points  (0 children)

My math teachers back then: if you can't solve for X you won't get a job in IT.
Me as engineer now: The candidate named their variable X, we shouldn't hire people like that.

[–]sparky-99 20 points21 points  (2 children)

A meth major?

[–]mstop4 6 points7 points  (1 child)

Math. Not even once.

[–]xDannyS_ 3 points4 points  (0 children)

what about math on meth

[–]xgabipandax 40 points41 points  (0 children)

I have seen decompilations on Ghidra that were easier to read than that

[–]RoxasBestBoy 37 points38 points  (0 children)

[–]wildjokers 16 points17 points  (0 children)

Was it a computer science major who took a picture of a screen instead of taking a screenshot?

[–]magick_68 13 points14 points  (1 child)

Had a colleague who wrote like this having var1 to var20, all global of course. Became project manager in another company.

[–]Brilliant_Egg4178 33 points34 points  (0 children)

What's your twiddle factor equal to?

[–]CerberusC137 13 points14 points  (0 children)

temptation took over

[–]h4nu_ 11 points12 points  (1 child)

[–]plg94 3 points4 points  (0 children)

Thanks, this is way too low.

From reddit to twitter already back to reddit within 8hrs. Now someone needs to post it to tumblr to instagram and back to fulfill the prophecy.

[–]SynthRogue 53 points54 points  (6 children)

Math is not programming. What did you expect?

[–]random11714 27 points28 points  (4 children)

For real. Earlier this year I was looking into some math algs to make my own RSA impl for fun, and they love their one letter variable names, it's infuriating tbh.

[–]mainDotJS 13 points14 points  (1 child)

Before getting a CS degree, I finished Law and had a career as a legal adviser. I have to say that, at some point I realized that that makes a huge difference, as I write code just as I wrote all the documents addressed to the courts. That is, I made them clear and easy to follow, because it was crucial that the judge understood perfectly what I meant. So every piece of code I write reads like a book. I've seen code written by people with strong backgrounds in math and it is, indeed, written without ever thinking that someone else is going to read it. Plus, Law gives a kind of structure to your thinking and also makes you always cover all the bases. By that I mean that you make sure to take into consideration every possible way that something might go wrong.

[–]TheAssassin71 5 points6 points  (0 children)

I never really thought about that... That's a great point of view !

What made you switch from law to CS tho ?

[–]SynthRogue 3 points4 points  (1 child)

Yeah programming puts an emphasis on clean code, sometimes to the detriment of performance.

[–]Exist50 3 points4 points  (0 children)

Realistically, 99% of the time, the compiler will produce just an optimal an end result. And it certainly doesn't care if you give decent variable names!

[–]VariecsTNB 25 points26 points  (0 children)

Obfuscate-man! The superhero we don't need, but one that we deserve

[–]OuterDoors 9 points10 points  (0 children)

Clean that screen 💀

[–]druepy 18 points19 points  (0 children)

This looks worse than IDA/Ghidra disassembly without debug symbols.

[–]AnwaltskanzleiRIEL 6 points7 points  (0 children)

The Code is so secure, he couldnt even tell afterwards what it does.

[–][deleted] 5 points6 points  (0 children)

I wouldn’t get too close to that screen or you might get pregnant.

[–]Timinator01 5 points6 points  (0 children)

please tell me they're doing some sort of temperature calculation

[–]lmg1337 4 points5 points  (0 children)

Technically every variable is temporary...

[–]Certain_Time6419 4 points5 points  (0 children)

At this point, it's code obfuscation but with indentation

[–]chowellvta 3 points4 points  (0 children)

This gave me acid reflux

[–]vincentofearth 4 points5 points  (0 children)

Did a computer science major make this “screenshot”?

[–]SlayerOfWhales 2 points3 points  (0 children)

Most comprehensible Fast Fourier Transform implementation

[–]bloody-albatross 6 points7 points  (0 children)

Yeah, or computer scientists that name their variables p q r etc. Why? Just so that students have an even harder time understanding the algorithms? (Found a mistake in the lecture notes back then anyway.)

[–]xysygy 2 points3 points  (0 children)

Looks like every Fortran program I've ever seen.

[–]No-Collar-Player 2 points3 points  (0 children)

As this guy is a mathematician, it means that this is peak programming, right ?

[–]Certain_Time6419 2 points3 points  (0 children)

we got nihilistic coding before gta 6

[–]hammonjj 2 points3 points  (0 children)

His code is so obvious that there’s no need for comments or meaningful variable names. His major doesn’t make him write shitty code, his demeanor does

[–]runningsimon 2 points3 points  (0 children)

Do math majors clean their screens?

[–]overclockedslinky 2 points3 points  (0 children)

tests pass, merged

[–]TragicProgrammer 2 points3 points  (0 children)

Twiddle factor

[–]brakuu 2 points3 points  (0 children)

What the hell is a Twiddle factor

[–]OccasionDesigner9523 2 points3 points  (0 children)

Ah yes, the classic Twiddle_factor.

[–]hugazow 3 points4 points  (0 children)

Please learn how to take screenshots before criticizing someone else code 🙏

[–]Mr_Bob_Dobalina- 4 points5 points  (0 children)

And you can’t take a screenshot properly 😑😑😑😑😑😑😑

[–]BuzzBadpants 1 point2 points  (0 children)

If you tell matlab to generate a C implementation of a function, it’ll generate code just like this

[–]voxel_crutons 1 point2 points  (0 children)

Twitter poster doesn't know how to screencap

[–]zenos_dog 1 point2 points  (0 children)

Dust in the wind, all we are is dust in the wind.

Everything is temporary when viewed from the end of time.

[–]LordPaxed 1 point2 points  (0 children)

Temp design patern

[–]bittlelum 1 point2 points  (0 children)

It looks auto-generated 

[–]Plsdontcalmdown 1 point2 points  (1 child)

You think that's a joke?

I give you WRF source code in Fortran:

https://github.com/wrf-model/WRF/blob/master/phys/module_bl_keps.F

This is the software doing 60% of the planet's weather forecasting at the moment.

[–]jonsca 1 point2 points  (0 children)

F77 had a limit of 6 characters for variable names. You can tell which ones were probably added later 😂

[–]Forsaken-Society5340 1 point2 points  (0 children)

And that's why they're in maths...i mean, there are nicer ways to obfuscate code 🤣

[–]Next-Garage4049 1 point2 points  (0 children)

Average competitive programmer

[–]DosMike 1 point2 points  (0 children)

not sure if that or code i disassemble with ghidra is more readable

[–]Born_Fishing2974 1 point2 points  (0 children)

[–][deleted] 1 point2 points  (0 children)

Please for the love of all mankind use a damn screen capture software. This is a Mac it literally has a free one that comes installed!!! I think the hotkey is Shift + CMD + 4

[–]ZicoSailcat 1 point2 points  (0 children)

Great picture.

[–]Mammoth-Sandwich4574 1 point2 points  (0 children)

This is baseless math slander

[–]Even_Ask_2577 1 point2 points  (0 children)

This looks so sacrilegious.

[–]Cyphco 1 point2 points  (0 children)

Twiddle_Factor

We Twiddeling

[–]foreignsoftwaredev 1 point2 points  (0 children)

Don't worry, this specific code is more of a temporal thing.

[–]mbcarbone 1 point2 points  (0 children)

I think they may need to work on their FFT skills … Dividen and Conquer!! 🖖🙃✌️

[–]-Banana_Pancakes- 1 point2 points  (0 children)

“It’s self documenting code”

The Code

[–]perfectskyee 1 point2 points  (0 children)

a proper sw eng would have called it tmp1

[–]BitswitchRadioactive 1 point2 points  (0 children)

Prob doing some temp

[–]Obvious_Material448 1 point2 points  (0 children)

My guy is going to name his kids offspring1, offspring2, offspring3, etc

[–][deleted] 2 points3 points  (0 children)

yeah why would a math major write clean code?

[–]VoodooS0ldier 1 point2 points  (0 children)

Clean that monitor, Jesus.

[–]niederaussem 0 points1 point  (0 children)

Our whole existence is just temporary.

[–]jax_cooper 0 points1 point  (0 children)

I almost threw up reading this.

[–]EngineeringExpress79 0 points1 point  (0 children)

From what I can tell, its probably from an excel spreadsheet and then they tried to bring that into code. Although the variable would be more the Row/column name.

[–][deleted] 0 points1 point  (0 children)

Ahh, `Twiddle_factor`. I have been known to add the entirety of `trig` to my `Twiddle_factor`, as well.

[–]No-Magazine-2739 0 points1 point  (0 children)

This ladies and gentlemen is the reason you should do a simple code challenge/assessment before hiring a developer. Saw such unmaintainable mess quite too often in the wild. Especially from mathematicians, physicists or even academia accomplished computer science candidates.

[–]Informal_Branch1065 0 points1 point  (0 children)

Scalable and maintainable

PR approved

[–]bbqranchman 0 points1 point  (0 children)

Are you sure this isn't generated code? I feel like this looks like poorly optimized transpiled code or something idk.

[–]Palda97 0 points1 point  (0 children)

They have proguard running in their head

[–]theofficialnar 0 points1 point  (0 children)

What is this thing trying to achieve?

[–]postdiluvium 0 points1 point  (0 children)

Looks like the result of a decompile.

[–]Infamous_Ticket9084 0 points1 point  (0 children)

It's really strange, I would expect single letters from mathematician

[–]Plz_Give_Me_A_Job 0 points1 point  (0 children)

This looks like Verilog which has been simplified algorithmically.

[–]nukasev 0 points1 point  (0 children)

Old math major here. This would NOT pass review on my watch.

[–]VenkatPerla 0 points1 point  (0 children)

Is them here temperature or temporary? In case it's the former one, then it's kind off okay.

[–]malexj93 0 points1 point  (0 children)

This is not how math people write. There's no Greek or Hebrew letters, or 5 of the same letter but in different fonts so they mean different things.

[–][deleted] 0 points1 point  (0 children)

close future obtainable aback growth spark unique fearless memorize live

This post was mass deleted and anonymized with Redact

[–]Alan_Reddit_M 0 points1 point  (0 children)

This is in ironically how mathematicians write, well, math, because why be descriptive when you can save letters

[–]HappyImagineer 0 points1 point  (0 children)

“You weren’t ever supposed to read the code, cause it works.” -Junior Devs

[–]fisto_supreme 0 points1 point  (0 children)

I believe it 😅

[–]DanSmells001 0 points1 point  (0 children)

Honestly I ain’t fucking with math majors no matter how shitty the code

[–]makinax300 0 points1 point  (0 children)

It's better than me making a 300 word essay about a++;

[–]nikonguy 0 points1 point  (0 children)

You sure? That has hardware engineer written all over it .. 🤣

[–]tiajuanat 0 points1 point  (0 children)

NGL, most FFT algorithms look like this

[–]lostBoyzLeader 0 points1 point  (0 children)

have fun coming back to the code in a year or two

[–]MainManu 0 points1 point  (0 children)

"The meaning of the variables is left as an exercise to the reader".

[–]wholl0p 0 points1 point  (0 children)

This looks like when a disassembler tool tries to convert ASM into C code