[DiscordArchive] You probably need exceptions for both UDP and TCP, I reckon?
[DiscordArchive] You probably need exceptions for both UDP and TCP, I reckon?
Archived author: ElDiablo • Posted: 2023-08-14T12:02:27.070000+00:00
Original source
maybe it is to show what NOT to do? :p
![[Image: image.png?ex=690be5e8&is=690a9468&hm=f03...49df32f05&]](https://cdn.discordapp.com/attachments/284406375495368704/1140616781153714296/image.png?ex=690be5e8&is=690a9468&hm=f0343d617c7e40d7721c1721f75ee66b2eccbdffe7b11836a3c357b49df32f05&)
Archived author: walkline • Posted: 2023-08-14T12:03:52.341000+00:00
Original source
Maybe, but then we have this example
![[Image: image.png?ex=690be5e8&is=690a9468&hm=f03...49df32f05&]](https://cdn.discordapp.com/attachments/284406375495368704/1140616781153714296/image.png?ex=690be5e8&is=690a9468&hm=f0343d617c7e40d7721c1721f75ee66b2eccbdffe7b11836a3c357b49df32f05&)
Archived author: ElDiablo • Posted: 2023-08-14T12:04:16.241000+00:00
Original source
nvm I'll just do it with the github extension in vscode hehe
Archived author: ElDiablo • Posted: 2023-08-14T12:04:42.665000+00:00
Original source
I believe we generally want to use brackets wherever
Archived author: ElDiablo • Posted: 2023-08-14T12:04:53.279000+00:00
Original source
but I agree that it isn't really consistent :p
Archived author: Rymercyble • Posted: 2023-08-14T12:05:31.211000+00:00
Original source
there is not rly any logic or structure to that guideline its just bunch of weirdness
Archived author: ElDiablo • Posted: 2023-08-14T12:05:40.603000+00:00
Original source
I have been told many times to use brackets, which has led me to change other people's old bracketless single line if-statements into brackets as much as possible
Archived author: Rymercyble • Posted: 2023-08-14T12:06:19.054000+00:00
Original source
and its not even consistent across AC bcs most of it is TC and nobody ever reformatted it
Archived author: ElDiablo • Posted: 2023-08-14T12:06:34.657000+00:00
Original source
yup this
Archived author: ElDiablo • Posted: 2023-08-14T12:06:58.155000+00:00
Original source
also you will see a lot of code that still has the spells as ints directly put into a CastSpell()