Forums WoW Modding Support Archives TrinityCore Discord Archives [DiscordArchive] why need m_? GetOrientation SetOrientation is bad?

[DiscordArchive] why need m_? GetOrientation SetOrientation is bad?

[DiscordArchive] why need m_? GetOrientation SetOrientation is bad?

Pages (3): Previous 1 2 3 Next
rektbyfaith
Administrator
0
11-09-2022, 09:22 PM
#11
Archived author: moJIto_ice • Posted: 2022-11-09T21:22:21.006000+00:00
Original source

``` _*name private, m_*name protected, g_*name global ``` etc
rektbyfaith
11-09-2022, 09:22 PM #11

Archived author: moJIto_ice • Posted: 2022-11-09T21:22:21.006000+00:00
Original source

``` _*name private, m_*name protected, g_*name global ``` etc

rektbyfaith
Administrator
0
11-09-2022, 09:22 PM
#12
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"
rektbyfaith
11-09-2022, 09:22 PM #12

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"

rektbyfaith
Administrator
0
11-09-2022, 09:23 PM
#13
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
rektbyfaith
11-09-2022, 09:23 PM #13

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

rektbyfaith
Administrator
0
11-09-2022, 09:24 PM
#14
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
rektbyfaith
11-09-2022, 09:24 PM #14

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

rektbyfaith
Administrator
0
11-09-2022, 09:25 PM
#15
Archived author: ModoX • Posted: 2022-11-09T21:25:45.854000+00:00
Original source

Thats just very very very old coding guidelines
rektbyfaith
11-09-2022, 09:25 PM #15

Archived author: ModoX • Posted: 2022-11-09T21:25:45.854000+00:00
Original source

Thats just very very very old coding guidelines

rektbyfaith
Administrator
0
11-09-2022, 09:25 PM
#16
Archived author: Telegrill • Posted: 2022-11-09T21:25:56.491000+00:00
Original source

<:fry:770403425107443722>
rektbyfaith
11-09-2022, 09:25 PM #16

Archived author: Telegrill • Posted: 2022-11-09T21:25:56.491000+00:00
Original source

<:fry:770403425107443722>

rektbyfaith
Administrator
0
11-09-2022, 09:26 PM
#17
Archived author: moJIto_ice • Posted: 2022-11-09T21:26:15.080000+00:00
Original source

any links to new guidelines? atleast after c++17
rektbyfaith
11-09-2022, 09:26 PM #17

Archived author: moJIto_ice • Posted: 2022-11-09T21:26:15.080000+00:00
Original source

any links to new guidelines? atleast after c++17

rektbyfaith
Administrator
0
11-09-2022, 09:26 PM
#18
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 )
rektbyfaith
11-09-2022, 09:26 PM #18

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 )

rektbyfaith
Administrator
0
11-09-2022, 09:29 PM
#19
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&]

[Image: image.png?ex=690c6a8f&is=690b190f&hm=07e...36c958df1&]

[Image: image.png?ex=690c6a8f&is=690b190f&hm=6e2...6afed1de8&]

[Image: image.png?ex=690c6a8f&is=690b190f&hm=5a2...e68b4ab0c&]
rektbyfaith
11-09-2022, 09:29 PM #19

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&]

[Image: image.png?ex=690c6a8f&is=690b190f&hm=07e...36c958df1&]

[Image: image.png?ex=690c6a8f&is=690b190f&hm=6e2...6afed1de8&]

[Image: image.png?ex=690c6a8f&is=690b190f&hm=5a2...e68b4ab0c&]

rektbyfaith
Administrator
0
11-09-2022, 09:30 PM
#20
Archived author: ModoX • Posted: 2022-11-09T21:30:32.745000+00:00
Original source

https://trinitycore.atlassian.net/wiki/s...+Standards
rektbyfaith
11-09-2022, 09:30 PM #20

Archived author: ModoX • Posted: 2022-11-09T21:30:32.745000+00:00
Original source

https://trinitycore.atlassian.net/wiki/s...+Standards

Pages (3): Previous 1 2 3 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)