News for hackers. Stuff that matters.
Re:Good-bye core types; Hello Go as we know and love it by 9rx on Friday March 28, 2025 @06:14AM (#43503532)
> Because Golang has (to my knowledge) no support of any syntax that supports that.

The single line was already demonstrated...

> That's why you can write `loadMissiles(); fireMissles()` and it works.

Maybe.

    func loadMissles() {
        go func() {
            // Do the things.
        }()
    }
Maybe not.

Get back to us when you gain at least a surface understanding of how computers work.

> See the pattern?

All that just to convert one type/value to another? That is complete and utter insanity.

Did you write this piece before reading the thread and decide to arbitrarily dump it upon us, totally oblivious to what is happening around you, to satisfy your sunk cost fallacy pangs?

Re:Good-bye core types; Hello Go as we know and love it by valenterry on Friday March 28, 2025 @06:53AM (#43503825)
Well, I tried. Have a nice day.
Re:Good-bye core types; Hello Go as we know and love it by 9rx on Friday March 28, 2025 @06:54AM (#43503830)
You tried... something. I have no idea why you are inventing promises and whatnot just to apply a value conversion. Just because you can doesn't mean you should applies, perhaps?