[DiscordArchive] why need m_? GetOrientation SetOrientation is bad?
[DiscordArchive] why need m_? GetOrientation SetOrientation is bad?
Archived author: moJIto_ice • Posted: 2022-11-09T21:22:21.006000+00:00
Original source
``` _*name private, m_*name protected, g_*name global ``` etc
Archived author: moJIto_ice • Posted: 2022-11-09T21:22:59.483000+00:00
Original source
bcus u shouldnt access some variables in that way.... "lot of words", u have "getters and setters for it"
Archived author: Telegrill • Posted: 2022-11-09T21:23:34.391000+00:00
Original source
then why do we access XYZ through the m_ sometimes instead of using getters
Archived author: moJIto_ice • Posted: 2022-11-09T21:24:27.976000+00:00
Original source
bcuz code was written with big amount of people with not excellent knowledge of c++ standards in past years
Archived author: ModoX • Posted: 2022-11-09T21:25:45.854000+00:00
Original source
Thats just very very very old coding guidelines
Archived author: Telegrill • Posted: 2022-11-09T21:25:56.491000+00:00
Original source
<:fry:770403425107443722>
Archived author: moJIto_ice • Posted: 2022-11-09T21:26:15.080000+00:00
Original source
any links to new guidelines? atleast after c++17
Archived author: moJIto_ice • Posted: 2022-11-09T21:26:41.053000+00:00
Original source
i wasnt using pc like for last 2 years, mby anything changed ( im sure NOT )
![[Image: image.png?ex=690c6a8f&is=690b190f&hm=fd2...1c45ea07b&]](https://cdn.discordapp.com/attachments/376457124726702080/1040015389020659802/image.png?ex=690c6a8f&is=690b190f&hm=fd28631a73065746e7c12fdd2da3aef5a0f5ed4c34c2fe318d268731c45ea07b&)
![[Image: image.png?ex=690c6a8f&is=690b190f&hm=07e...36c958df1&]](https://cdn.discordapp.com/attachments/376457124726702080/1040015389377167520/image.png?ex=690c6a8f&is=690b190f&hm=07e0b03cc973b4afd6596a4a49d73d1d246bd82ae0c7556103dcaea36c958df1&)
![[Image: image.png?ex=690c6a8f&is=690b190f&hm=6e2...6afed1de8&]](https://cdn.discordapp.com/attachments/376457124726702080/1040015389704339518/image.png?ex=690c6a8f&is=690b190f&hm=6e22dba8aaeb52dab4157bc69788f4c90fcc2c5a967fafce8186b106afed1de8&)
![[Image: image.png?ex=690c6a8f&is=690b190f&hm=5a2...e68b4ab0c&]](https://cdn.discordapp.com/attachments/376457124726702080/1040015390060847184/image.png?ex=690c6a8f&is=690b190f&hm=5a210413450b686d6135a3829a78ef3b122ee3bfa495c107fe2dea0e68b4ab0c&)
Archived author: moJIto_ice • Posted: 2022-11-09T21:29:51.269000+00:00
Original source
"https://isocpp.github.io/" old guidlines still fine in compare to that "new" shit rly <:face_palm:770403425191723009>
![[Image: image.png?ex=690c6a8f&is=690b190f&hm=fd2...1c45ea07b&]](https://cdn.discordapp.com/attachments/376457124726702080/1040015389020659802/image.png?ex=690c6a8f&is=690b190f&hm=fd28631a73065746e7c12fdd2da3aef5a0f5ed4c34c2fe318d268731c45ea07b&)
![[Image: image.png?ex=690c6a8f&is=690b190f&hm=07e...36c958df1&]](https://cdn.discordapp.com/attachments/376457124726702080/1040015389377167520/image.png?ex=690c6a8f&is=690b190f&hm=07e0b03cc973b4afd6596a4a49d73d1d246bd82ae0c7556103dcaea36c958df1&)
![[Image: image.png?ex=690c6a8f&is=690b190f&hm=6e2...6afed1de8&]](https://cdn.discordapp.com/attachments/376457124726702080/1040015389704339518/image.png?ex=690c6a8f&is=690b190f&hm=6e22dba8aaeb52dab4157bc69788f4c90fcc2c5a967fafce8186b106afed1de8&)
![[Image: image.png?ex=690c6a8f&is=690b190f&hm=5a2...e68b4ab0c&]](https://cdn.discordapp.com/attachments/376457124726702080/1040015390060847184/image.png?ex=690c6a8f&is=690b190f&hm=5a210413450b686d6135a3829a78ef3b122ee3bfa495c107fe2dea0e68b4ab0c&)
Archived author: ModoX • Posted: 2022-11-09T21:30:32.745000+00:00
Original source
https://trinitycore.atlassian.net/wiki/s...+Standards