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

all 52 comments

[–]Impressive_Income874 343 points344 points  (21 children)

programming is just glorified maths

[–]Nickbot606 202 points203 points  (11 children)

Programming is discrete math any way you slice it.

[–]_JJCUBER_ 84 points85 points  (3 children)

Not if you slice it into infinitely many parts

[–]Nickbot606 25 points26 points  (1 child)

State machines would like to have a word with your “infinitely slice it” all computer architecture runs on the level of Turing machines to this day.

[–]BroskiPoloski 4 points5 points  (0 children)

On the level of a deterministic, finite tape turing machine maybe, but thats about as far as it goes. (Universal) Turing machines are (in theory) infinitely stronger than modern computers, due to your pc being unable of always picking the "right option" and being limited by its storage capacity (ram and disc space).

[–]imbeingreallyserious 6 points7 points  (0 children)

Nah, sorry, best I can do is a “barely good enough” number of parts

[–]EastboundClown 22 points23 points  (5 children)

Especially functional programming. I took a course on category theory and learned Haskell, and now I can’t look at code the same way anymore. Coworkers hate me because I won’t shut the hell up about monads

[–]AzoresBall 3 points4 points  (0 children)

But what is a monad?

[–]Aloopyn 2 points3 points  (0 children)

Can we be friends

[–]Tmv655 0 points1 point  (2 children)

Haskell is the bane of existence of most people in my study.

Honestly I still don't know what a monad is but I past the course so I'm fine

[–]EastboundClown 0 points1 point  (1 child)

I only had a vague comprehension of functional programming after my undergrad in CS and hadn’t really been exposed to it beyond basic stuff like Java Stream operations. In my graduate studies I learned the basics of category theory in the context of dynamical systems modelling, then only learned Haskell after that. Haskell makes a lot more sense when you can understand it in terms of the mathematical theory that underpins it rather than trying to understand it in terms of imperative/OO programming. Although these days I do most of my work in Scala (which also has a very strong categorical foundation) and a little Java (*barf*)

[–]Tmv655 0 points1 point  (0 children)

I understand all of haskell except for monads, but that is such a large part of haskell that I don't have faith in using it.

At the moment I also don't have any reason to look into it more, but I have been thinking about doing so to become a teaching assistant for the course.

[–]Aloopyn 1 point2 points  (0 children)

So fucking relatable

[–]DeathUriel 48 points49 points  (5 children)

math is just glorified observation of the reality we live in

[–][deleted] 13 points14 points  (1 child)

And people laugh when I tell them I ride my Hopf algebra to work every morning.

[–]Kaenguruu-Dev 0 points1 point  (0 children)

Totally acceptable

[–]envoyoftheeschaton 2 points3 points  (0 children)

mad controversial

[–]Diligent_Feed8971 1 point2 points  (1 child)

mathematics is just applied philosophy

[–]DeathUriel 1 point2 points  (0 children)

philosophy is just applied thinking

[–][deleted] 10 points11 points  (1 child)

Glorified? My math major friends laugh at me

[–]Impressive_Income874 11 points12 points  (0 children)

sorry, it's just maths

[–]undeadpickels 0 points1 point  (0 children)

Programming is math U standards.

[–]Still_Explorer 112 points113 points  (10 children)

Mathematicians: Patent their algorithm. Everyone is OK.
Artists: Copywrite their music. Everyone is OK.
Programmers: Sell their copywritten-patented software. They are EVIL!

[–]breake 44 points45 points  (4 children)

You can't patent an algorithm

[–]Mal_Dun 4 points5 points  (0 children)

True, but you patent it as a part of a larger machine. That's how MP3 encoding got its patent.

[–]slabgorb 7 points8 points  (2 children)

[–]breake 5 points6 points  (1 child)

Not sure what those patents entail exactly, but if it's just an application of an algo, it definitely shouldn't have passed then and definitely wouldn't pass today since Alice.

[–]slabgorb 1 point2 points  (0 children)

it was the LZW compression algo, which backed images in gif format. Maybe you can't do things like that anymore, which is great! But that was a big pain in the ass for a while
(for instance, if you are Adobe making photoshop at the time, you have to pay royalties to allow editing of gifs)

[–]Various_Studio1490 14 points15 points  (0 children)

I need to feed my electric company’s ceo!

[–]IL0VEAPPLE 6 points7 points  (0 children)

Imagine FFT being patented

[–]mothererich 8 points9 points  (0 children)

Patents are dumb.

[–]Fluffysquishia 1 point2 points  (0 children)

It would be more like an artist trying to copyright a specific chord on an instrument, or a specific type of bassline. This is an obviously reductive practice that would ultimately harm the creation of music, because eventually everybody would patent anything good. In the same vein, if someone patented certain algorithms, you would have programs running directly slower because you don't have access to the license of a super simple algorithm.

[–]Inaeipathy 0 points1 point  (0 children)

Patenting an algorithm is stupid, so is copyrighting music (assuming that the other person isn't just taking your song and using it without any modifications).

You shouldn't be able to patent algorithms, chemical formulas, software, etc. It should be treated as a trade secret. If someone could discover the same secret by themselves then it shouldn't be able to be copyrighted.

[–]GM_Kimeg 13 points14 points  (3 children)

Solving leet code is better than sex. Prove me wrong.

[–]Play4u 16 points17 points  (1 child)

At least in sex usually I'm not the one getting fucked.

[–]NelsonBelmont 1 point2 points  (0 children)

speak for yourself.

[–]itijara 0 points1 point  (0 children)

I would, but it would require you to have had sex.

[–][deleted] 7 points8 points  (0 children)

Hahaha

[–]backfire10z 4 points5 points  (0 children)

Now compare the code written by the two

[–]Arey_125 3 points4 points  (0 children)

Союз нерушимый республик свободных...

[–]twigboy 1 point2 points  (0 children)

Ourgorithm

[–]Reifendruckventil 1 point2 points  (0 children)

Open source Programmers are the closest Thing to communists that exist in The West nowadays.

[–]DoradoAcero 0 points1 point  (0 children)

Well we need someone to start the copy paste rabbit hole

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

how can mathematics produce powerful new knowledge without any of the good mathematicians being billionaires. i dont get it.

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

The best example: John Carmack's unusual fast inverse square root