re: a tragedy in two words
@aescling reading this in this voice:
https://www.youtube.com/watch?v=IKe9VoRcDlo
@onfy reported for doubting me
@onfy thanks youre pretty cool too 💖
@onfy i think many are saying this only because they know ill report them if they say otherwise
@YKantRachelRead I thought it was a shitpost but then I wasn't sure
@YKantRachelRead what even is this
@YKantRachelRead what are you talking about?
@vaporeon_ I would simply snack on a punch card myself
@wallhackio Good
@vaporeon_ never mind I took some tylenol and my autism came back
re: wrong
@vaporeon_ @monorail in javascript functions can be reassigned
so lets say you work on a web site for your company that uses old-ass ES5 javascript because it was first made in 2009 and its for a government contractor who won't fund what is necessary for your team to change to a newer javascript workflow, so you're stuck with it
In one file, a coworker who no longer works at the company 10 years ago created a function called gorp like so: function gorp() { /* whatever gorp does */}
Now, today you are working on a file that has a function called girp and you reassign it something else. However, you make a typo and write gorp instead. This does not throw at runtime because gorp is global, and now you have bugs that are extremely difficult to decipher because you didn't notice a typo
wrong
@vaporeon_ @monorail huh i had no idea that c sucks too
@vaporeon_ @monorail if my web page loaded two javascript files, (lets call them one.js and two.js)
and one.js defines a function
function globalFunc() {
console.log('I am global');
}
then two.js can use that function
@Satsuma yeah
@monorail this doesn't work in node.js for whatever reason, shittyRandom1 is not added to global scope
i go by Clodsire, Clodboy and Catwin.
videogame enjoyer. mathematics hobbyist and recovering physicist. software engineer. professional wonk. prophet of The Truth. the walking embodiment of "not diagnosed, but somethings wrong". i like animals that wear cowboy hats.
number of fat cock awards received: 56
pfp is by @The_T
header is by @vaporeon_
"i regret ever allowing him here" ~aescling
"oh you're one of those weird movie likers" ~Ti
28+
he/him