Conversation
Notices
-
@s8n @BlinkRape in math any arbitrary length set of numbers is a vector. Using the term vector to refer to a resizable array I think came from C++, because of the math concept.
Reminder that back in the day there was a debate of Computer Science should be part of the Math or Engineering department, the mathfags won.
Fun fact: Y-up axis is traditional in mathematics, and Z-up is architectural.
-
@s8n yeah I spent 20 minutes asking myself what the fuck vector could even mean in a programming context. I thought maybe it had something to do with some math shit the way vector graphics do, but nope. Just a retarded name for a dynamic array
-
@BlinkRape vectors are all about modeling physical reality afaik, an actual vector is used in programming when you have something like a normal map where you have to know which direction a rendered 3d surface is facing so you can bounce light off it
off the top of my head I can't imagine what anyone would do with any kind of array that could be described as a vector but maybe @crunklord420 does he sees retards programming computers all the time
-
@BlinkRape a vector is a variable that has a start but no end. It's represented by a location and a magnitude. It's for things like indicating direction and speed of travel. You might use a vector to define something like acceleration, or time. Imagine it like a dot that designates the location, an arrow pointing in the direction of travel, and a line segment that connects the arrow and the dot that has a length proportional to the strength of the acceleration
I don't know why programmers use terms from math to describe data primitives that have nothing to do with the math terms, I think they are retarded and are pretending to be software engineers because when software engineers talk it sounds like nonsense to retards so when they're pretending they just speak nonsense
-
>use a vector as a text buffer
>what the fuck is a vector?
>a vector is a dynamic array that can resize itself
why is it not called a dynamic array
why the fuck are programmers like this.