Variable naming convention..... The letter 'm'

hi experts,
I saw some people like to start their variable names with the letter lowercase 'm'. For example,
String mHappy ="";
boolean mRunning = false;
Is there a reason? What does the letter 'm' stand for?

In the usage I've seen (C++), m is for "member". I'm pretty sure it's used in MFC, and it may come from the more general "Hungarian Notation" that also uses things like s for string, p for pointer (relevant in C/C++ but not Java), etc.
I think this convention is pretty unusual in Java (I've never seen it), but I imagine there are a number of people, especially C++ programmers, who do use it.

Similar Messages

  • SSIS variable naming conventions?

    Anyone got a link for SSIS variable naming conventions?

    Although this an old post, replying for readers who may be interested.
    I use the following convention whenever possible -
    SSIS Variable Naming Convention Based on Origin of Value
    http://aalamrangi.wordpress.com/2013/04/06/ssis-variable-naming-convention-based-on-origin-of-value/
    - Aalamjeet Rangi | (Blog)

  • Variable naming conventions

    Hi all,
    I come from a mostly JAVA background. Big emphasis in that arena on encapsulation and modularization of code to help facilitate ease of maintenance and reuse...in theory I sometimes struggle with variable naming conventions within my ABAP code because I'm not all together certain there are any. In C or C++ I might use a derivation of Hungarian notation to name varaibles...and in JAVA I might observe certain object oriented rules regarding varaible naming...I find myself using a combination of those two protocols in my ABAP code. Does anyone have any suggestions for how I might name global and lcoal variables within my code?
    regards,
    Mat

    Hi,
    Please check this links perhaps they may help.
    http://help.sap.com/saphelp_nw04/helpdata/en/92/c2b084bc1d11d2958700a0c94260a5/content.htm
    https://websmp101.sap-ag.de/~sapdownload/011000358700004455192006E/NameConventions.pdf
    http://help.sap.com/saphelp_nw04/helpdata/en/2a/6b0b1f547a11d189600000e829fbbd/content.htm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/011ccf90-0201-0010-92a7-b319adf89b73
    http://web.mit.edu/sapr3/dev/newdevstand.html
    Regards,
    Ferry Lianto

  • Outbound Feeds with variable naming convention.

    All,
    We have a openhubs that we generate every month.
    Is there a way we can prefix with month & year, so the file name would look like, Month_Year_<file_name>.
    So when I execute the process chain, for the same outbound file "salesvolume.csv"
    for the month Jan 08, the file name is "jan08salesvolume.csv"
    for the month Feb 08, the file name is "feb08salesvolume.csv"
    so the file name has a variable part & a fixed path.
    Variable path is based ont month-year.
    Thanks
    kiran

    In the usage I've seen (C++), m is for "member". I'm pretty sure it's used in MFC, and it may come from the more general "Hungarian Notation" that also uses things like s for string, p for pointer (relevant in C/C++ but not Java), etc.
    I think this convention is pretty unusual in Java (I've never seen it), but I imagine there are a number of people, especially C++ programmers, who do use it.

  • Variable naming convention

    In Java, variable names should not begin with a digit. Can any one tell me why this restriction is imposed?

    BigInteger TWO = new BigInteger("2");Whythe
    BigInteger 2 wasn't defined in java.math.BigIntegerI
    have no idea! (Surely it is as common as 0, 1 and10
    - which are defined).I tend to use 42 far more often when I have a need
    for a constant value ;)
    I was thinking more along the lines of a lot of things being raised to the power of 2 (especially in crypto applications, which is where I suspect BigInteger gets most of its use)
    Of course, it makes no sense to define FORTY_TWO (unless you can give a decent reason... maybe your application uses 42 everywhere as opposed to the power of 2....) you are more likely to define MULTIPLIER (or something that is relevant to your app), but ZERO, ONE, TWO and TEN make sense.

  • Very odd behavior regarding variable naming with DataService.fill()

    I'm experiencing this odd behavior in LCDS 2.5, wich pertains
    to variable naming for the objects returned by a DataService.fill()
    call. I ceated a simple destination with a Java adapter. the Server
    side Java data object is defined as follows)
    package test;
    public class RepositoryObject
    private String m_strObjectId;
    private boolean m_bIsValid;
    private long m_lSize;
    [public setters and getters here]
    On Flex side, the ActionScript value object is defined as
    follows:
    package test
    [Bindable]
    [RemoteClass(alias="test.RepositoryObject")]
    public class RepositoryObject
    public var m_strObjectId:String;
    public var m_bIsValid:Boolean;
    public var m_lSize:Number;
    public function RepositoryObject()
    The FDS destination definition (in
    data-management-config.xml):
    <destination id="testDs">
    <adapter ref="java-dao" />
    <properties>
    <source>test.TestDS</source>
    <scope>application</scope>
    <metadata>
    <identity property="m_strObjectId"/>
    </metadata>
    <network>
    <session-timeout>20</session-timeout>
    <paging enabled="false" pageSize="10" />
    <throttle-inbound policy="ERROR" max-frequency="500"/>
    <throttle-outbound policy="REPLACE"
    max-frequency="500"/>
    </network>
    <server>
    <fill-method>
    <name>getObjects</name>
    </fill-method>
    </server>
    </properties>
    </destination>
    What I figured while debugging into the client was is the
    data returned by the service (I'm using the mx:DataService call)
    returns objects whose variable names
    do not match my definition:
    m_strObjectId becomes objectId
    m_lSize becomes size
    m_bIsValid becomes isValid
    I wonder why that renaming??? Basically "m_str" prefix was
    stripped and capital "O" became lower case "o" for my first
    variable etc.
    For instance, in a datagrid cell renderer I could not
    reference the returned value as {data.m_strObjectId}, but if I use
    {data.objectId}, it works.
    Any ideas why this behavior (which I found confusing and odd)
    would be greately appreciated.
    Robert

    The latter, as "getM_strObjectId " is an ugly name... don't
    tell me that causes issue...ok kidding, I got you. The
    setter/getter names are important in this context.
    Thanks a lot.
    Robert

  • When using Creative Cloud Library assets created in Illustrator why are the naming conventions I use not being pulled over into the Photoshop layers?

    I create the Creative Cloud Library asset in illustrator and give it a name such as "camera-icon". It shows up in my Creative Cloud Library pane in Photoshop as "camera-icon". When I use that asset in Photoshop the layer is randomly named "a56bd81d-d81f-4815-82b3-5795d410b527". Why is this happening? Shouldn't that layer resolve the name back to "camera-icon" so that when I extract files for use in my application the naming convention is correct. Right now I have to manually rename that layer again. Is this a bug or have I just not done something correctly?

    I think you have pasted the entire crash log. In case of such issues in future, please paste the error screenshot.
    Seems to be a permission issue. Lets follow the below suggestions:
    Solution 1: Rename the following folders on your machine:
    '/Library/ColorSync/Profiles/Profiles'
    '/Library/ColorSync/Profiles/Recommended'
    Solution 2: Rename the following files:
    '/Library/Application Support/Adobe/caps/Media_db.db'
    '/Library/Application Support/Adobe/caps/pdb.db'
    Make sure you dont touch caps.db under the same folder. Now run the installer again. Let me know if you need more help.
    Solution 3:
    Please Run following commands on terminal on the machine (this will remove the corrupt fonts and should allow you to run the installer successfully) -
    sudo mv "/Library/Fonts/ACaslonPro-Bold.otf" /tmp/
    sudo mv "/Library/Application Support/Adobe/SavedFonts/current/AdobeArabic-Bold.otf" /tmp/
    sudo mv "/Library/Application Support/Adobe/HelpCfg/de_DE/goURL_lr_photoshop_de.csv" /tmp/
    Please feel free to respond to this thread if you have any questions about the steps listed within the document.  If you could also respond with the specific error message you receive, It would be appreciated.

  • The naming convention of the disk device name (/dev/dsk/cXdY)

    Hi All,
    Please let me know the naming convention of the disk device name (/dev/dsk/cXdY) recognized on OS of a guest domain.
    I found from the document of Oracle that the value specified as the id option of ldm add-vdisk command went into Y of cXdY.
    However, there is no telling by what kind of rule X portion of cXdY is decided.

    Hello
    I have found this in the man ldm but I don't know how to related the cN, I mean I don't know where the N comes from. Still checking and trying to get more info.
    vdisk
    Virtual disks are generic block devices backed by different types of physical devices, volumes, or files. A virtual disk is not synonymous with a SCSI disk and, therefore, excludes the target ID (tN) in the disk name. Virtual disks in a logical domain have the following format: cNdNsN, where cN is the virtual controller, dN is the virtual disk number, and sN is the slice.
    Regards
    Eze

  • Is there naming conventions for variables, itabs?

    Hi!
    Is there an ad hoc naming convention standard for writing ABAP programs?
    What prefixes, suffixes, etc. I should use when defining selection options, variables, internal tables, etc.
    Thank you!

    Hi,
    We have to follow the naming conventions according to the client's coding standards.
    For example
    My present client.
    I am following the conventions as follows:
    Variables:   v_variablename,
    Constants: c_contant,
    Select-options: S_selopt,
    Internal tables: T_
    Work Areas: K_
    Etc.
    Reward me if it is useful.

  • What are the naming conventions used for aggregates created from Query?

    What are the naming conventions used for aggregates created from Query?

    Hi Reddy,
    As you know aggregates are baby cubes right.
    Aggregate names by default system has given as 6 digit number like 100831 but write the description by yourself.
    Here you have to remember fact table is created with the name
    like for ex: /BIC/F100831.
    while creating aggregates you can observe all options carefully till complete the creation process then after I am sure about
    your can get idea .
    If problem still persists with you let me know the same until
    get out of that.
    else assign points if this is sufficient.
    Thanks,
    Ramki

  • Is it possible to control the naming convention used by Aperture when importing photos?  If so, how

    When I import photos from my camera, I have them placed into projects based on the date the photos were taken. However, I do not like the naming convention used by Aperture as it causes the projects to sort into a non-chronologial order. The convention is MMM-DD-YYYY and I want to change it to YYYY-MM-DD. Is it possible in Aperture 3.2.4 to do this?

    In the Import  panel you can edit the preset for the file name format to "Image year - image month - image day - index" for example; the preset for folder names seems to be gone in Aperture 3,3 - at least I cannot find it any longer. You only seem to be able to enter the folder name manually in the Import panel.

  • Is the naming convention of new groups (folders) modifiable?

    This is nowhere near being a big deal, but I thought I'd ask anyway.
    Currently, the default name of a folder is "Group 1".
    When we make a copy of this folder, the default name is "Group 1 copy"
    Is there a toggle somewhere to make Photoshop call it "Group 2" instead of "Group 1 copy"?
    I ask because I almost always create new folders via copy instead of "create new group".
    PS: I'm aware we can rename them after the fact.

    I am aware that if you copy something, it is a copy (thanks for the confirmation, though). My question had to do with whether or not we have any control I am unaware of on the default naming conventions within Photoshop (like we do when converting RAW files to PSD, for instance).
    Clearly the answer is no by now, unless someone stops by and tells us otherwise.

  • Can anyone tell me the naming conventions for PSa tables

    hi all,
    After the data is loaded into the psa. how to look at the records that are there in psa. And can anyone tell me the naming conventions for psa tables.
    like BIC/????
    thanxs in advance
    regds
    hari

    Hi Hari,
    You want to know the naming convention of PSA table. For that there is a simple technique try this.
    Go to - T code SE11
    In the database table check box give  /BI*  and click search
    next window  in the Description Text box give the r data source name(master)  like
    YIO_ID_ATTR which is assigned to infosource. then click OK.
    then you get the psa table structure.
    You can take structure and check in the T code SE 11
    Hope this is fine.
    Regards
    Sreekanth

  • Implementing Transport Naming convention with the help of BAdIs (Urgent)

    Hi Gurus,
    We need to implement Transport Naming convention in our landscape.
    Transport request should follow the following naming conventions and to enable this we have to enable some necessary BAdIs?
    Scenario  would be like this....!
    Customization
    LC-<Track>-<Description>  (Non Transportable Request)
    <Module>-<Track>-<Configuration Type>-<Change No>-<Description of the Customisation.>
    ABAP Developments
    AB-<Track>-<Configuration Type>-<Development No>-<Description of the Development>
    OSS Notes
    BC-<Track>-OSS#<OSS Note No>-<Version>-<Patch Number>-<Process Team>-<Note Description>
    Authorization
    BA-<Track>-<Version>-<Authorisation Description>
    Details :
    Track : 01 u2013 Hot fixing, 02 u2013 Implementation, 03 u2013 BIW / EP, 04 u2013 Support
    Module : SAP Module (FI, CO, MM, SD, PP, etc..)
    Configuration Type : I u2013 Initial Configuration, R u2013 Change due to TPR or Additional Functionality
    Change No / Development No : Unique no to trance the base documentation
    Please suggest .....................!
    Which are the necessary BAdIs needs to be enabled and what other configuration needs to be done.
    If anybody has any document please provide.
    Thanks in advance..............!!!
    Regards,
    Jai Sach

    Hello,
    SPRO --> SAP NetWeaver --> Application Server -->
    System administration --> Change & Transport domain
    --> BADI -->Business Add-In when Editing Requests
    IF_EX_CTS_REQUEST_CHECK~CHECK_BEFORE_CREATION
    Happy Tony

  • [svn:fx-3.x] 12371: The main AccImpl was updated to handle accessible naming conventions differently than before .

    Revision: 12371
    Revision: 12371
    Author:   [email protected]
    Date:     2009-12-02 08:51:12 -0800 (Wed, 02 Dec 2009)
    Log Message:
    The main AccImpl was updated to handle accessible naming conventions differently than before.  This change was made to make the 3.x branch consistent with the trunk changes.  The updated methods allows the accessibilityName property to overwrite the logic that was previously used to build the accessible name for components that were inside of forms.  This method also provides a method to allow developers to specificy that no form heading or form item label should be included in the accessibilityName for the form field by using a space.
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/AccImpl.as

    Revision: 12371
    Revision: 12371
    Author:   [email protected]
    Date:     2009-12-02 08:51:12 -0800 (Wed, 02 Dec 2009)
    Log Message:
    The main AccImpl was updated to handle accessible naming conventions differently than before.  This change was made to make the 3.x branch consistent with the trunk changes.  The updated methods allows the accessibilityName property to overwrite the logic that was previously used to build the accessible name for components that were inside of forms.  This method also provides a method to allow developers to specificy that no form heading or form item label should be included in the accessibilityName for the form field by using a space.
    QE notes: none
    Doc notes: none
    Bugs: n/a
    Reviewer: Gordon
    Tests run: checkintests
    Is noteworthy for integration: no
    Modified Paths:
        flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/accessibility/AccImpl.as

Maybe you are looking for

  • When I click on a link in my Mail account, just recently, the link doesn't open up in firefox.

    Normally when there's an email with a link that I receive in My "Mail" account ( I use an apple macbook) the link opens up a new tab in firefox and the url page opens up. For the last 2 weeks, when I get a hot link in my emails, it will launch firefo

  • Migration from Access with SQL Developer 1.2.2998 Does not migrate Relation

    Hi, I've almost successfully migrated an Access database to Oracle with SQL Developer with Quick Migration Option. Everything went all right, except for the tables relationships... they were not migrated. Have I forgot to do something? Thanks in adva

  • IMac not starting

    My iMac screen does not come on. Yesterday the screen froze and a message told me to turn off the computer. The off button would not work so to shut down I unplugged the unit. After a few minutes I plugged it back in again. I can hear the drive start

  • Cannot uninstall Network Magic Pro Free Trial

    My free trial is over and I cannot uninstall Network Magic Pro. It is not in the list of the Add/Remove Programs. I'm running XP Pro.

  • Prompts not working

    Hi experts, I have multiselect prompts. But when I click on prompt .It show nothing ! there is no response. Thanks S