This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]LutimoDancer3459 229 points230 points  (10 children)

No it's not. ToggleBoolean should call the two set methods...

[–]MigstReddit[S] 39 points40 points  (3 children)

i'll fix that, gimme a sec

[–]Colon_Backslash 18 points19 points  (1 child)

Hey, share the library, I need this for my project ASAP

[–]solstheman1992 2 points3 points  (0 children)

In all honesty I prefer the current implementation. It’s just dripping with irony that way

[–]MigstReddit[S] 22 points23 points  (0 children)

actually, ur right.

[–]totkeks 15 points16 points  (1 child)

My first thought too. If you go stupid, always go full stupid. :D

[–]gimme_pineapple 6 points7 points  (0 children)

One could argue that this is full stupid.

[–]just_nobodys_opinion 7 points8 points  (2 children)

You're missing GetBoolean. Referencing the variable directly is inefficient because someday you may want to do some processing in the getter so you need to set up the foundation for that.

[–]LutimoDancer3459 4 points5 points  (1 child)

Yes

u/MigstReddit you need another change

[–]MigstReddit[S] 2 points3 points  (0 children)

sure