this post was submitted on 16 Jul 2023
1557 points (96.4% liked)

Memes

45730 readers
1510 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 5 years ago
MODERATORS
 
(page 2) 50 comments
sorted by: hot top controversial new old
[โ€“] 0x4E4F@lemmy.rollenspiel.monster 8 points 1 year ago* (last edited 1 year ago) (13 children)

I remember how confused I was when I first encountered i=i+1... like, what ๐Ÿคจ? How can this be correct, this thing has to be wrong... and then you start seing the logic behind it and you're like "oooh, yeah, that seems to work... but still, this is wrong on almost every level in math"... and then you grow a bit older and realize that coding has nothing to do with math, instead it's got everything to do with problem solving. If you like to name your variables peach, grape, c*nt, you can, and if that helps you solve the problem, even better, just make it work, i.e. solve the problem ๐Ÿคท.

[โ€“] AshLassay@lemmy.world 4 points 1 year ago (5 children)

Coding has nothing to do with math yet the entire basis of computing and programming is Boolean algebra.

load more comments (5 replies)
load more comments (12 replies)

wow I wish we learned this kind of stuff in school

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 8 points 1 year 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)
[โ€“] Zapafaz@lemmy.world 8 points 1 year ago* (last edited 1 year ago)

Sorta not really related but Freya's video on splines ("The Continuity of Splines") is a virtually perfect resource if you're interested in learning about... well... splines.

[โ€“] Metriximor@lemmy.world 8 points 1 year ago (2 children)

Freya is a really good programming maths communicator so it doesn't surprise me

load more comments (2 replies)
[โ€“] lasagna@programming.dev 7 points 1 year ago

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

[โ€“] UserNotFound@lemmy.world 6 points 1 year ago (7 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 1 year ago* (last edited 1 year 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

load more comments (6 replies)
[โ€“] Duchess@yiffit.net 5 points 1 year ago

i still don't understand but thanks

[โ€“] fidodo@lemm.ee 4 points 1 year ago (3 children)

Wouldn't reducer be more precise?

[โ€“] Faresh@lemmy.ml 4 points 1 year 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 1 year 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...

load more comments (1 replies)
load more comments (1 replies)
[โ€“] spacesweedkid27@lemmy.world 4 points 1 year ago (5 children)

Ok now try infinite for loops

load more comments (5 replies)
[โ€“] AnarchistArtificer@slrpnk.net 3 points 1 year 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 1 year 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 โ€บ