Clearly Kendrick Lamar started programming in the 70s in Fortran, had a small flirt with MATLAB and ended up using Julia in the end.
I didn’t know he was so strong in scientific computing.
I am so much more down for the memes about fictionalised genius of famous people, where we end up learning a little something
as opposed to the fictional CEO of sex, especially when its in the vein of some stupid FPS from 2012
yay
He uses lua
Oh but Lua is so much worse than that. Table keys (array is not a thing in Lua) can be whatever you want. Especially even negative, and not like how python does it. 1 is just the convention.
arrays start at (offset) zero. lists start at (position) one. fight me.

arrays start at (offset) zero
i.e.:
*(array + i)Only edge lords still mentally stuck in CS101 conflate indices and offsets.
good morning to you too. remember to have your coffee before going on the internet.
I am agreeing with your distinction between indices and offsets.
in a very agressive way. hence coffee.
This is why he told Drake he better never go to cell block 1 instead of cell block 0.
Beginner mistake, which is perfectly fine! Just use
i-1inside the loop andi <= values.Lengthas the condition.My favorite:
for (int i = myArray.Length; i --> 0; ) { //do something }Perfectly valid in C-style, even if it does look a bit puzzling at first.
That should be a war crime.
From the river to the C
TF is this formatting
c for smartphones
just zoom out and go closer to the screen
I read it as if they are calling java “C for smartphones” instead lmao.
This is C#, isn’t it?
Oh shit, it is. Didn’t notice the “.Length”
that’s linux kernel code style
Semicolons belong at the end of lines. No exceptions.
What’s worse, starting at 1 or using AI to write it for you?
-
I never mock those who are trying to learn.
-
Why is he starting with c/c++? Yes they have uses but not as a starter just playing around.
-
I struggled with this initially too cause I didn’t understand why. Most people would say “give me the first object”. In reality your requesting an offset * size of each item + list start.
is c++ not a common language to be taught as the first? Its not that hard to learn the basics of
Kinda but especially with extremely new, either python or Javascript is recommended. If they are absolutely new, scratch.
i have seen arguments against learning python as a first language (when my countries government suggested replacing c++ with python in school)
i may have just had a bad first experience with JavaScript; i wouldnt let a child new to coding anywhere near that language
- Why is he starting with c/c++? Yes they have uses but not as a starter just playing around.
sometimes it’s not interesting enough to keep someone’s attention if it’s just “playing around”: some people need to feel like what they’re working on while learning has a real purpose, and some purposes have to use C++ (e.g. Arduino)
sure it might not be the most effective or efficient way to learn, but it can be more motivating.
This sure looks like C# to me, not C/C++
It’s K.Dotnet
You’re taking a shitpost too seriously mate
-
Haha i use fortran
Drake asks github copilot to make a for loop for him
Drake is too busy trying to clean up his work with child processes

Sat through a presentation at GodotCon yesterday and one of of the speakers said " and then you just execute all the children"










