Better HN
topnewbestaskshowjobs
Log inSign up

rmeby

16 karma · joined Jun 16, 2022 (4y ago) · 5 submissions

Submissions

comment 1mo ago · link · parent

There is a standard[0] you are ignoring either intentionally or out of ignorance. It is okay that you are used to Bash but please stop spreading false information about PowerShell.

[0] https://learn.microsoft.com/en-us/powershell/scripting/devel...

comment 3y ago · link · parent

I would be interested too if that's an actual theory. My experience has largely been that if you're willing to admit you were wrong about something, most reasonable people will appreciate it over you doubling down.

If they pile on after you have conceded, typically they come off much worse socially in my opinion.

comment 3y ago · link · parent

I would imagine operator overloading helps with vectors so you can do things like:

    public static Vector operator -(Vector a, Vector b)
    {
        Vector v = new Vector();
        v.X = a.X - b.X;
        v.Y = a.Y - b.Y;

        return v;
    }
So then you can just write:

    Vector result = myVector1 - myVector2;

comment 4y ago · link · parent

It would be nice if they let you forgo the credits to sign up without a phone number.

comment 4y ago · link · parent

What sorts of things are wrong with .NET in your view? As someone who recently started working with it after using Java for years, it has been refreshing and largely enjoyable for me.