Adobe Developers' overuse of 'private' instead of 'protected'

I fear this will fall on deaf ears, but it has been a hurdle so many times that I'm compelled to attempt to make a difference by posting this message.
Dear Adobe,
     Would you please find a way to instruct your developers that, although they've been taught in the ivory towers that anything not 'public' should be 'private', this is, in fact, nearly universally the wrong instruction.  When a developer finds a need to extend or subclass your class to make minor (or major) modifications, they will almost undoubtedly need access to some or many of the attributes which you've incorrectly assigned the label 'private' to.  Think 'protected'!   By default, anything not 'public' should be 'protected', not 'private'.  Marking all these attributes 'private' takes otherwise useful code and makes it useless so far as the object oriented design and inheritance is concerned.  'protected' is still inaccessible to *everything using the object*, with the single exception of an inherited class!  If someone is extending your class, these will still be nonpublic to everything else.  I am generally not arrogant enough to suppose that I can foresee all future uses and extensions to a class I am writing, which is a prerequisite to branding an attribute 'private'.  Unless there is an extremely good reason an attribute should be 'private', by default please make it 'protected' because you cannot foresee all the future use cases for your class that are killed with 'private'.
Please?

This has been discussed many times.  Anything public or protected has to be
documented and then deprecated if we change our minds.  Lots of stuff
therefore ends up being private so we can change our minds about it more
quickly.  I wish we knew enough to make every method and property public or
protected, but we don't.

Similar Messages

  • [svn:bz-trunk] 21286: Also need to change 2 more private members to protected in order to make the first call after login

    Revision: 21286
    Revision: 21286
    Author:   [email protected]
    Date:     2011-05-20 11:43:00 -0700 (Fri, 20 May 2011)
    Log Message:
    Also need to change 2 more private members to protected in order to make the first call after login
    Modified Paths:
        blazeds/trunk/apps/ds-console/console/ConsoleManager.as

    Revision: 21286
    Revision: 21286
    Author:   [email protected]
    Date:     2011-05-20 11:43:00 -0700 (Fri, 20 May 2011)
    Log Message:
    Also need to change 2 more private members to protected in order to make the first call after login
    Modified Paths:
        blazeds/trunk/apps/ds-console/console/ConsoleManager.as

  • [svn] 3438: Forgot to change a private variable to protected in my previous check-in.

    Revision: 3438
    Author: [email protected]
    Date: 2008-10-01 08:27:31 -0700 (Wed, 01 Oct 2008)
    Log Message:
    Forgot to change a private variable to protected in my previous check-in.
    Modified Paths:
    blazeds/trunk/modules/core/src/flex/messaging/services/messaging/ThrottleManager.java

    Hi Ignacio ,
    To change the username you should follow these steps ;
    1-You should have to use nQUDMULGen command to export your rpd into a file.Go to ...OracleBI\server\Bin
    ex. nQUDMULGen -u Administrator -p Administrator -r C:\OracleBI\server\repository\paint.rpd -o c:\paint.txt
    2-After importing try to find your user and change its settings.
    3-Then import it back to your rpd.
    ex. nQUDMLExec -u Administrator -p Administrator -i c:\paint.txt -b C:\OracleBI\server\repository\paint.rpd -o C:\OracleBI\server\repository\paint2.rpd
    The new rpd is going to be created (paint2).Test the new rpd.If its OK.Then replace with your original rpd.
    I hope this method works...

  • How to setup Adobe CC to use Firefox instead of Internet Explorer

    How to setup Adobe CC to use Firefox instead of Internet Explorer

    Hi mOmO,
    Please chage the default browser to Firefox: http://support.mozilla.org/en-US/kb/how-make-web-links-open-firefox-default.
    Regards,
    Romit Sinha

  • Lightroom download from Adobe site stops after 327mB instead of 744MB. Can someone help?

    lightroom download from Adobe site stops after 327mB instead of 744MB. Can someone help?

    try a different browser and/or different wired connection and/or a download manager.
    or
    if you follow all 7 steps you can directly download a trial here: New Adobe Lightroom 6 (CC) Direct Download Links – Free Trials | ProDesignTools  or  New Adobe Lightroom 5: Direct Download Links + Difference vs. LR4 | ProDesignTools or Direct Download Links for Lightroom 3 and Photoshop Elements 8 | ProDesignTools
    and activate with your serial number.
    if you have a problem starting the download, you didn't follow all 7 steps, or your browser does not accept cookies. 
    the most common problem is caused by failing to meticulously follow steps 1,2 and/or 3 (which adds a cookie to your system enabling you to download the correct version from adobe.com). 
    failure to obtain that cookie results in an error page being displayed after clicking a link on prodesigntools.com or initiates the download of an incorrect (eg, current) version.

  • Before I buy Adobe software from a private party, is there a way I can verify the serial number is valid?

    Before I buy Adobe software from a private party, is there a way I can verify the serial number is valid?

    No.
    Other than contacting Adobe Customer Service.
    Unfortunately, that's the risk you run with buying pre-owned software from 3rd party vendors. You have no idea if it's pirated.

  • Firefox 3.6.6 is not working in Facebook games links. I've checked adobe version and updates, and disabled hang protection, also installed windows flashplayer 10 plugin content debugger.

    I am having trouble with firefox in facebook games links. Games do not load. Adobe flashplayer is the right version and is the latest for firefox. I have firefox 3.6.6. I have also installed windows flashplayer 10 plugin content debugger. I also changed the hangtime changing the sec to -1 from 45, previously. I have windows xp service pack 3 home edition. 2100 Mhz AMD processor, 512 MB memory, 2 GB virtual memory. adobe version is 10,0,42,34 I have adobe flashplayer 10 active x, adobe flashplayer 10 plugin, adobe reader 9.3, shockwave flash 10.1.53.64 with shockwave director 6.0.0.55 macromedia shockwave for director netscape plugin version 6.0, and shockwave director 11.0.3.470 adobe shockwave for director netscape plug-in, version 11.0. I have had problems with Adobe DLM version 1.6.2.63 as it is not compatable with firefox 3.6.6.
    == URL of affected sites ==
    http://

    Replying to my own question...
    Turns out that although libjavaplugin_oji.so is still shipped with Java, it's only there to support older browsers.
    With Firefox 3.6 and later, the link in plugins should instead point to jre/lib/i386/libnpjp2.so
    See:
    https://bugzilla.mozilla.org/show_bug.cgi?id=542235

  • Can the adobe reader mobile app open standard password protected AES256 encrypted files (not Livecycle) made by Acrobat XI?

    I downloaded the adobe mobile reader for iOS just now and tried opening a pdf file created by Acrobat XI and optimized (no errors reported) for web and mobile devices the file was password encrypted  (*not livecycle*) using 256AES, compatibility acrobat X with restrictions allow: none, printing  allowed low rez.
    when acrobat mobile reader launched the pdf it required a password and even with the correct password used for changing security settings failed to open.
    how can people secure pdf's from unauthorized editing their work in Acrobat XI using (Acrobat X compatibility), standard password protection using AES256 bit encryption and open using the adobe mobile reader app ?

    I actually need at least three people to successfully open my free pdf using the Adobe Free acrobat viewer for mobile devices or my client want to remove the access for mobile devices link.
    Can anyone test please the free pdf that it opens on iOS or Android ?
    the guest checkout is enabled just need to put shipping info to access the Download File 2
    The wordpress link is below image
    mahalo in advance
    Source Supreme pdfSource Supreme

  • Adobe Reader for iOS cannot open IRM-protected PDF documents.

    Hi,
    trying to open IRM-protected documents on an iPhone or iPad.
    (Reader-version is 10.1.0 (49458) - on iOS5 final).
    When X509-authentication and anonymous authentication is switched on,
    there is an error-message, that the connection to the IRM-server failed.
    When only "Username/Password" authentication is switched on,
    there comes an different error like "Error opening the document".
    In this case, LiveCycle-WWW Server only shows two successful calls to server/info/ , but the next POST to /rmws/rest/secure/license/consume  is missing
    2011-10-20 12:27:33 192.168.0.42 GET /rmws/rest/secure/server/info - 443 - 192.168.10.10 HTTP/1.1 Adobe%20Reader/10.1.0+CFNetwork/548.0.3+Darwin/11.0.0 - lcrm.devrms64.local:443 200 0 0 389 1647 15
    2011-10-20 12:27:33 192.168.0.42 GET /rmws/rest/secure/server/info - 443 - 192.168.10.10 HTTP/1.1 Adobe%20Reader/10.1.0+CFNetwork/548.0.3+Darwin/11.0.0 - lcrm.devrms64.local:443 200 0 0 389 1647 15
    which authentication-methods are supported for IRM-docs on iOS?
    what could be the problem?
    Thanks,
    Dilettanto

    Dilettanto
    I have tried testing this and have had mixed results...  I was able to successfully open an RM'd PDF from one server, but receive a connection error when trying to access a document protected by a second RM server that I have access to.  The error reads...
    "Access to this document is restricted by this remote server: xxxx.xxxx.com, however we are unable to connect to it at this time.  Please try to open it later.  If you continue to see this message, check whether your device is supported by the server."
    Is this the same error that you are seeing? 
    What version of Rights Management (LiveCycle) are you using?  Can you access the server that LiveCycle is running on over HTTPS from a browser?  This will help determione if the SSL certificate is trusted on the device.
    I am testing using Reader for Android version is 10.1.0 (49458)
    Regards
    Steve

  • I cannot print adobe pdf documents as it is password protected. I forgot my password. How do I fix this problem?

    I cannot print adobe pdf documents. Password protected. How do I fix this problem?

    You'll need to remember it or recreate the PDF from the original file.
    If there were an easy way to get around that, passwords wouldn't be worth much.

  • Open adobe reader file - read option - instead of open

      When I try to open a adobe reader file by right clicking it I get " read" instead of "open " file.
    please see attached file for an example of what I mean.
    In the attahed printed screen file it says open - this is OK.
    but in my other pc I have only "read" not open.
    your help would be appreciated
    Thanks
    Omer

    If I press Read the file opens OK with no problem.
    The problem is that if I try to open the same file from a third party program it does not open .
    The file looks like it does know what windows extension it is supposed to be.
    I will try to post a screen shot from the other PC
    thanks

  • OS X (Unix) Kindergarten for Adobe Developers

    Anyone who has had the displeasure of viewing flash media on a Mac or Linux machine and seen their CPU almost suffer a coronary failure will understand the following. The many threads on the subject of Flash Player consuming 90% CPU (OS X) attest to the abject misery using Adobe software on unix-based machines. I have a MacIntel so I empathise wholeheartedly with the Flash plugin wretchedness. But it's not limited to the Adobe Flash Player either. The same is true of any Adobe software on the Mac. Whether it's Photoshop, Flash Pro or any other myriad Adobe software, their (unix-based) Mac versions are ALWAYS resource hogs.
    Adobe are woeful at porting their software for unix-based systems, especially OS X.  You can imagine the popping of the champagne cork as the developers complete their testing.
    Together:                "Hip, hip, hooray! For we're all jolly good fellows, for we're - "
    Developer 1:           "- Wait a minute. I can't help feel we're forgetting something....Any ideas?"
    (Rest of developers murmur)    
    Developer 2:               "Oh, pish. We've forgotten about Unix."
    Developer 3:               "About what?"
    Developer 2:               "You know, Unix. Linux, Unix and OS X. We don't have a version for those"
    Developer 1:               "What do we usually do?"
    Developer 2:               "Well, not very much"
    Developer 1:               "You mean nothing at all"
    Developer 2:               "mm...Yes"
    (Celebrating resumes)   
    Developer 1:               "No, we have to release something or else we appear a one-trick pony"
    Developer 3:               "But, but think of the cost. Besides, we don't have the skills"
    Developer 2:               "Should we buy in the skills?"
    (Laughter erupts)
    Developer 3:               "Good one."
    Developer 1:               "Yes, but what do we do?"
    (Choral murmur)
    Developer 2:               "Hang on. Look! What's this button? 'U-n-i-x Export'"
    (Group silence)
    Developer 3:               "What do you think will happen if we press it? Are we allowed to press it?"
    (Momentum builds)
    Together:                     "Press it!...Press it!"
    Developer 1:               "OK, arrange a press release. Tell them we're multi-platform. (Gulp)...Guys, hold onto your hats..."
    (Sparks fly)

    I almost agree with you on this I'm using Leopard 10.5.7.. Although fireworks seems to eat almost all of my memory (2GB) and CPU (C2D 2Ghz) resources but flash still seems to work just fine. Adobe should really do something about this..

  • Best place to find Adobe developers?

    I tried to scour the Adobe site to see if there was a developer exchange to see if I could find a work <-> developer marketplace.
    Where is a good place to find developers who are experienced with developing Adobe CS Extensions?
    I'm the Product Manager for a software company and I'm beginning to do research around development options.
    Finally -- this is not an open solicitation to pitch your services (i.e., looking for someone to point me the right way). 
    However, if you're interested -- please note, I won't look at anyone who cannot show tangible experience delivering an Adobe CS Extension / plug-in.
    Thanks,
    Dan

    Hey Andy,
    There is just as large a collection of plugins for Logic (these come in the AU or Audio Units format) as for Cubase. Anywhere you can buy recording equipment should be selling plugins too. Some free plugins (but not very useful most of the time) can be found on places like www.digitalfishphones.com or www.airwindows.com . The guy that owns AirWindows seems to basically do code copies of plugins. He's got some great free plugins. . . one of which I often use on vocals. he also has some paid plugins that are far cheaper than the competition ($60 vs. $500 for a tape emulation plugin for instance) that are VERY good.
    If you're looking to buy plugins, go to www.sweetwater.com . . . or really any large pro audio retailer, but sweetwater's a good place to start. If I knew more of what you were looking for I could help guide you a bit better.
    Also, if you have an ilok key you can download demos of many paid plugins and give them a test drive.

  • Adobe usable on 3 devices instead of 2

    I really think that Adobe should think about allowing users to work with CC on 3 devices instead of 2. It is really annoying needing to sign out of all other devices when I bust out my laptop for some coffee shop work or in the field work. I am unsure on the data or statistics, but I feel many share a similar device setup as mine. Being a designer, I have a work iMac, an iMac at home and a Macbook Pro. I use all three depending on the projects at hand, or if I want to take a work from home day on occasion. Sometimes while I am working from home, I will go to a coffee shop or library to have a change of pace. This is but one example but I feel like 3 is a magic number for usable devices.

    https://www.adobe.com/cfusion/mmform/index.cfm?name=wishform for bugs or feature requests

  • Adobe reader will not let me password protect. Security does not have options to change. Please help.

    I am trying to password protect my pdf files and I do not have any security options.  Can you please help?

    Reader cannot change security. For that you would need Adobe Acrobat.

Maybe you are looking for