Windows perms are pretty locked down though. Sometimes I can’t delete my own files because I need permission from “Administrator” :/
You can actually use Windows-style permissions (ACLs) on Linux via setfacl
.
Aussie living in the San Francisco Bay Area.
Coding since 1998.
.NET Foundation member. C# fan
https://d.sb/
Mastodon: @dan@d.sb
Windows perms are pretty locked down though. Sometimes I can’t delete my own files because I need permission from “Administrator” :/
You can actually use Windows-style permissions (ACLs) on Linux via setfacl
.
TypeScript doesn’t need the “function” keyword for a method in an object or on a class though.
const foo = {
bar(): string {
...
}
}
which I assume is doable because the syntax is unambiguous.
In PHP’s case, the method syntax should also be unambiguous.
The first programming language I used was Visual Basic (both VBA in Excel, and VB3 then VB6). I think it used redim to resize arrays.
TypeScript doesn’t need the “function” keyword for a method in an object or on a class though.
const foo = {
bar(): string {
...
}
}
which I assume is doable because the syntax is unambiguous.
PHP’s object orientation is similar to languages like Java and C#, which is what I was comparing to.
It enforces scalar types (string, int, etc) at runtime if you enable strict mode. There’s also static analysis tools like PHPStan and Psalm that will flag issues at build time.
Can we talk about PHP functions with typehints too?
public static function foo(): string {
Practically every other language with similar syntax does this instead:
public static string foo() {
Older variants used DIM for arrays and LET for other variables. DIM was originally called that because it was setting the dimensions of the array.
In modern BASIC variants, DIM has become a backronym: “declare in memory”.
They’re developers rather than managers, but many are senior or staff level.
I know plenty of people in big tech that don’t like this AI stuff either.
It’s funny but a obvious fake. There’s no such thing as “permanently” closing a Github issue.
Good catch - I should have said that it’s closer to Windows-style ACLs rather than implying that it’s actually the same.