Discussion
Einion Yrth said:
On closer inspection, it doesn't quite work, the break in the switch statement is an escape from #region reality, and must occur any way the wind blows.
My understanding of the #region in languages like C# is that it is just an IDE directive to make it easier to collapse code. Certainly in C++ that break statement in the switch statement would just exit the switch statement, not the while loop.
So that code would just loop infinitely, once an exception had been caught.
Clockwork Cupcake said:
Einion Yrth said:
On closer inspection, it doesn't quite work, the break in the switch statement is an escape from #region reality, and must occur any way the wind blows.
My understanding of the #region in languages like C# is that it is just an IDE directive to make it easier to collapse code. Certainly in C++ that break statement in the switch statement would just exit the switch statement, not the while loop.
So that code would just loop infinitely, once an exception had been caught.
SystemParanoia said:
<an image>]
There's some tragic and painful irony in that image given my experience of both, I've certainly ended up in some rabbit holes with Linux. Probably on a weekly basis too, though my recent favourite was trying to work out why all the NIC's on a server had swapped places Edited by GrumpyTwig on Sunday 5th November 20:55
Clockwork Cupcake said:
durbster said:
It was Javascript ES6 actually.
let bygones = bygones.
Gassing Station | The Lounge | Top of Page | What's New | My Stuff