ricardoboss / Prolangle

A game about programming languages.
https://prolangle.ricardoboss.de
MIT License
2 stars 1 forks source link

added Bash #131

Open chucker opened 3 months ago

chucker commented 3 months ago

This part:

    public override MemoryManagement MemoryManagement { get; } = MemoryManagement.TracingGarbageCollection;

is debatable. It doesn't have a tracing GC per se; it simply doesn't really have a notion of references, so values can get cleaned up as they disappear. Maybe Other would be better, or maybe we need a new value Simple?

ricardoboss commented 3 months ago

Can't memory management in bash be expressed as "none"? I mean as soon as the shell starts, you create variables that are available until the "runtime" exits. I think "manual" would also be better, since you are able to "unset" variables.