[DiscordArchive] What on earth is a `#region`?
[DiscordArchive] What on earth is a `#region`?
Archived author: Смердокрыл • Posted: 2020-04-01T16:13:39.676000+00:00
Original source
What on earth is a `#region`?
Archived author: MaxtorCoder • Posted: 2020-04-01T16:13:57.708000+00:00
Original source
1. Spaghetti code
2. Outdated code (it's horrible)
3. There is absolutely no way of rewriting it to use wowdbdefs without fucking over the entire code
Archived author: Смердокрыл • Posted: 2020-04-01T16:14:04.521000+00:00
Original source
Like a scope thing?
Archived author: MaxtorCoder • Posted: 2020-04-01T16:14:11.853000+00:00
Original source
Yeah. Just for organizing
Archived author: Смердокрыл • Posted: 2020-04-01T16:14:38.473000+00:00
Original source
I assume it does a bit more than just separate lines of code, though?
Archived author: MaxtorCoder • Posted: 2020-04-01T16:14:47.598000+00:00
Original source
No, it's literally for organizing
Archived author: MaxtorCoder • Posted: 2020-04-01T16:14:55.536000+00:00
Original source
https://docs.microsoft.com/en-us/dotnet/...sor-region
[Embed: #region - C# Reference]
https://docs.microsoft.com/en-us/dotnet/...sor-region
Archived author: Смердокрыл • Posted: 2020-04-01T16:15:52.927000+00:00
Original source
Oh, apparently github used the wrong highlighting and made it look more like an actual line of code than a comment
Archived author: MaxtorCoder • Posted: 2020-04-01T16:15:57.540000+00:00
Original source
Ah xD
Archived author: Смердокрыл • Posted: 2020-04-01T16:16:04.555000+00:00
Original source
In any event, it looks repulsive