wavebeem

world wide weirdo

ย 

๐Ÿ’• @hauntedlatte

๐Ÿ  portland, or, usa

๐Ÿ“† mid-30s

๐Ÿ’ฌ here to make friends and chat

ย 


ย 

๐ŸŽฎ video games
๐Ÿ‘ฉ๐Ÿปโ€๐Ÿ’ป web development
๐Ÿ‘ฉ๐Ÿปโ€๐Ÿซ teaching others

ย 


ย 

๐ŸŽจ digital aesthetics
๐Ÿ’…๐Ÿป makeup & jewelry
๐Ÿ‘— gothic fashion
๐Ÿ‘ฉ๐Ÿปโ€๐ŸŽจ making pixel art

ย 


ย 

๐Ÿค˜๐Ÿป progressive metal
๐ŸŽธ video game music

ย 


ย 

๐ŸŸข everything green
๐ŸŒŸ neon colors and transparent plastic

ย 


blog + rss
wavebeem.com/
discord
@wavebeem

last year before witch queen came out i entered my pvp era. i had considered doing it again for the final season before lightfall, and then bungie dropped the coolest title: "GLORIOUS". i love it. and the new competitive mode actually feels good, especially solo queue. so. i decided to do it. my goal became to hit PLATINUM rank in comp so i could get the title. and i just got it. i was so overwhelmed with emotion that i feel like i'm gonna pass out now lol.



wavebeem
@wavebeem

Overall, since the first (arguably accidental) introduction of the idea in the original Lisp in 1958, the programming world seems to have largely agreed that dynamic scope is bad, and that we should use lexical scope instead.

when i made my first full programming language from scratch, i accidentally implemented dynamic scope too! one of my testers was like "hey wtf is this??"... i didn't even know it had a name at the time.


wavebeem
@wavebeem

btw here's how i fixed dynamic scope:

function get_var(id) {
  if (stack.length > 0 && id in peek().vars) {
    return peek().vars[id];
  } else if (id in globals) {
    return globals[id];
  } else {
    error("Unable to get value of variable:", id);
  }
}
syntax highlighting by codehost

variables are either local to the current function OR global. there is no variable closure (the language purposefully lacks inner and anonymous functions).



Overall, since the first (arguably accidental) introduction of the idea in the original Lisp in 1958, the programming world seems to have largely agreed that dynamic scope is bad, and that we should use lexical scope instead.

when i made my first full programming language from scratch, i accidentally implemented dynamic scope too! one of my testers was like "hey wtf is this??"... i didn't even know it had a name at the time.


ย