It’s the way Markdown works. If you put two spaces at the end of a line
before hitting enter, then it will only do a normal linebreak.
It’s the way Markdown works. If you put two spaces at the end of a line
before hitting enter, then it will only do a normal linebreak.
I can’t give you an exhaustive list, but I’m, for example, not a fan of:
Well, it helps a lot that I can guess the words from just knowing roughly what C looks like.
For example, the first line, I’m rather sure, reads:
static Chain *create_chain(char *name)
The only word I’m truly sure about, is “Chain”, and I can mostly read “name”.
The “static” and ”char", I would not be able to make out, without knowing that they’re keywords in C.
And the “create” is pretty much unreadable to me, but it would make sense to be “create_chain”, since it returns a Chain object.
I have another account on another instance and this post showed up on its feed, too.
And you can bet I had a rightful giggle at this excellent meme by this beautiful OP, …uh, me.
To be fair, it was extremely relatable for obvious reasons. But yeah, I had forgotten I made this.
I guess the point is, it’s not strongly typed during runtime. In other strongly typed languages, that cast would fail, since the underlying memory layout of some random class does not fit to that of a string.
But yeah, as soon as you break out as
, you’re telling the type system to fuck off. So, while it does look freaky to me, too, it doesn’t dispell that TypeScript is strongly typed…
I mean, are we sure the font used in that screenshot isn’t monospace?
If you compare the two lines after the first comment, the columns seem to align quite well (though I cannot read some of that)…
Are those written in React?
“Infrastructure as code” is what the strategy is typically called. You use one of the many tools for orchestrating configuration of hosts (Ansible, OpenTofu, Puppet, Saltstack, Chef, etc.). These allow you to provide configuration files and code for setting up your hosts in a central place. This place is typically a Git repo, allowing you to keep track of when which change was made.
Depending on the tool you use, you trigger applying the configuration on your dev PC, or there’s a hosted CI/CD server which automatically rolls out the changes when a new commit is pushed.