Odpowiedzi na post #5 069

  • 🔧 I've been doing a lot of work. If you experience issues, please email me or post in the relevant thread: (Chat, Tartarus / Site Security, Technical Grievances).
    🔧 A recent connection issue caused by an errant Finland node impacting mostly Europeans should be resolved.
    🧊 New server is in an office waiting on a mexican.
3

Programming thread

Most languages have it as try-finally, but this is typically paired with exceptions, which Go doesn't have.
Anti Snigger

Programming thread

It's useful for that, but at its core, it allows you to queue up tasks to run upon the scope wrapping up
y a t s

Programming thread

It's the same core idea, but defer is more flexible since you can defer any function, including anonymous ones. You can see my chat client example...
Wstecz
Top Na dole