[ home / overboard ] [ soy / qa / raid / r ] [ ss / craft ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki / booru / irc ]

A banner for soyjak.party

/tech/ - Soyence and Technology

Download more RAM for your Mac here
Catalog
Email
Subject
Comment
File
Password (For file deletion.)

File: ClipboardImage.png 📥︎ (22.32 KB, 700x802) ImgOps

 â„–22965[Quote]

What is the point of seperating things into public and private in programming? If you shouldn't directly access something in a class then just don't do it.

 â„–22986[Quote]

It’s mainly used for enterprise-level positions where you’re dealing with millions of lines of code, so you need to enforce invariants and minimize the chance of introducing bugs.

 â„–22988[Quote]

its more organized, also if you're working with a team and it becomes cumbersome to say 'don't access [x] [y] and [z] because you're not supposed to' for literally everything you make



[Return][Catalog][Go to top][Post a Reply]
Delete Post [ ]
[ home / overboard ] [ soy / qa / raid / r ] [ ss / craft ] [ int / pol ] [ a / an / asp / biz / mtv / r9k / tech / v / sude / x ] [ q / news / chive / rules / pass / bans / status ] [ wiki / booru / irc ]