Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 04/26/2023 in all areas

  1. I exclusively use the bundle/unbundle, unless I am not able to for example if accessing a field in a parent class. Accessors should be, in my opinion, only for when you want to get access to the data from outside the class, and even then you should really think about if this is strictly necessary. Often you can get rid of accessors by having a better designed API (methods). Lots of sets/gets is a code smell to me.
    1 point
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.