this post was submitted on 16 Jul 2023
1608 points (96.6% liked)

Memes

45581 readers
1 users here now

Rules:

  1. Be civil and nice.
  2. Try not to excessively repost, as a rule of thumb, wait at least 2 months to do it if you have to.

founded 6 years ago
MODERATORS
 
(page 2) 50 comments
sorted by: hot top controversial new old
[–] lasagna@programming.dev 7 points 2 years ago

Invented in the 50s, Fortran = FORmula Translating language. It was basically created to solve this sort of problem.

[–] enbiousenvy@lemmy.blahaj.zone 7 points 2 years ago

I think gamedev or I guess graphics programming, visualize maths pretty well. I literally quit high school because I could never make any progress in several areas, including math class. But once I read/watch more about gamedev, programming, graphics programming on my own, I got to understand many mathematical terminologies better than I have ever been taught in any school.

[–] radix@lemm.ee 6 points 2 years ago (6 children)

The biggest difference (other than the existence of infinity) is that the upper limit is inclusive in summation notation and exclusive in for loops. Threw me for a loop (hah) for a while.

load more comments (6 replies)
[–] UserNotFound@lemmy.world 6 points 2 years ago (4 children)

I don't know her, so maybe my question is stupid, but does she explain math without using code? I, honestly, am too stupid to programing, I don't understand it. I understand summary, not the second one

[–] BaumGeist@lemmy.ml 4 points 2 years ago* (last edited 2 years ago)

She has a youtube channel

I've only watched a couple of her videos--on Splines and Bezier curves--and her explanations and animations were intuitive and beautiful to watch, but ultimately her target audience is game devs... So the answer to your question is "technically yes*"

*it's with the intent of learning to code the math

[–] radix@lemm.ee 3 points 2 years ago

I don't know anything about the original post author, but product notation is the same as summation notation except that instead of adding each new term to the running total, you're multiplying each new term. You don't have to know programming to see from the code samples that the only difference in the code is += vs *= (well, maybe it would help to know that * means multiply; I honestly dont rember how common-knowledge that is).

load more comments (2 replies)
[–] fidodo@lemm.ee 5 points 2 years ago (3 children)

Wouldn't reducer be more precise?

[–] Faresh@lemmy.ml 4 points 2 years ago

I think this is pretty much the imperative equivalent of foldl (\acc i -> acc + 3*i) 0 [1..4].

[–] basketsandhoes@lemmy.ml 3 points 2 years ago (1 children)

Can you explain this out a bit more? I'm a self-taught programmer, of sorts, and I'm not quite getting this...

[–] nicolairathjen@lemmy.world 3 points 2 years ago

A reducer “reduces” a list of values to one value with some function by applying it to 2 values at the time.

For instance if you reduce the list [1, 2, 3] with the sum function you get (1 + (2 + 3)) = 6.

load more comments (1 replies)
[–] Duchess@yiffit.net 5 points 2 years ago

i still don't understand but thanks

[–] spacesweedkid27@lemmy.world 4 points 2 years ago

Ok now try infinite for loops

[–] SmoothSurfer@lemmy.ml 3 points 2 years ago

freya is not a random internet people

[–] AnarchistArtificer@slrpnk.net 3 points 2 years ago (1 children)

Oh cool, I know who this person is, she did a couple of amazing videos on Bezier curves and splines

[–] PipedLinkBot@feddit.rocks 3 points 2 years ago

Here is an alternative Piped link(s): https://piped.video/aVwxzDHniEw

Piped is a privacy-respecting open-source alternative frontend to YouTube.

I'm open-source, check me out at GitHub.

load more comments
view more: ‹ prev next ›