Username checks out
𝕱𝖎𝖗𝖊𝖜𝖎𝖙𝖈𝖍
Queer tiefling fire witch
- 0 Posts
- 8 Comments
𝕱𝖎𝖗𝖊𝖜𝖎𝖙𝖈𝖍@lemmy.worldto Programmer Humor@lemmy.ml•KB, MB, GB, and TB are all part of the metric system. What empirical measurements should we Free™️ Americans use for computer memory?291·1 year ago12 bits to an eagle
27 eagles to a liberty (changes whenever an amendment is added)
1776 liberties to a freedom
Computers are still programmed in bytes, but filesize is always in freedoms.
That’s fair, but it’s close enough that it functions identically
Typescript/Javascript too
Mmmm almonds
Mask and Gloves of Sterility
wondrous item, rareWhile wearing this set of items, you create a 10-foot radius of sterility. The area suppresses disease and halves necrotic damage dealt within its radius.
The type checker is actually pretty smart and can handle a lot of weird use cases, especially in strict mode (if you mark everything as Any type, that’s on you). The fact that the underlying language is very dynamic can be both good and bad. It’s good because you can be flexible when you need to be, but it also won’t prevent you from writing really shitty code, which lends it its reputation.
I don’t know if you’ve ever tried writing frontends in Java, but it is terrible, especially if you want to make dynamic and accessible UIs. You don’t use a power drill when you need to hammer a nail.
You can also do that in TypeScript
readonly a!: Foo; readonly b = bar.toFoo(); constructor(){ a = bar.toFoo(); }