is it better to use functions instead of objects? things get very complicated

My App is trying to apply the method of Muller. I have about six classes. It appears to be too complicated to cope. Should I go back to the use of functions? (maybe two classes). I have to start over.

Hello

1. what operating system is installed on the computer?
2 are. what App you referring?

Answer for you help the better.

You can also view the article mentioned below:

Suggestions for a question on the help forums
http://support.Microsoft.com/kb/555375

If you are developing a program, it would be better in the MSDN forums.

Here is the link: http://social.msdn.microsoft.com/Forums/en/

Tags: Windows

Similar Questions

  • In general, is it better to use java.sql.Date and java.sql.Timestamp instead of oracle.jbo.domain.Date?

    Hello world

    During playback of Oracle ADF Real World Developer's Guide, I noticed the dates match occurring in JDeveloper is different from what is the list in the book. JDeveloper is failing to oracle.jbo.domain.Date, but according to the book:

    DATEjava.sql.DateDATE type is mapped to java.sql.Date if the column in the table is a no time didn't need information zone.
    DATEjava.sql.TimestampDATE type is mapped to java.sql.Timestamp if the column in the table has a component "time" and that the client needs to zone information.
    TIMESTAMPjava.sql.TimestampThe TIMESTAMP type is mapped to java.sql.Timestamp if nanosecond precision is used in the database.

    In general, is it better to use java.sql.Date and java.sql.Timestamp instead of oracle.jbo.domain.Date? Using java.sql.Date and java.sql.Timestamp could save me some headaches conversion date. And, is there a place in JDeveloper to display these maps? I looked around and didn't see anything.

    Thank you.

    James

    User, what version of jdev we are talking about?

    In GR 11, 1 material versions db types date and timestamp are mapped to types of domain data that represents a wrapper for the native data types. The reason was that the framework can work with the domain types regardless of the underlying data type.

    Since Oracle 11 GR 2 maps the types DB to java types (default selection, you can change it when you create a model project, you can set the Data Type Mapping). Once the pilot has business components define you cannot change this setting it would break existing components such as eo or vo.

    So if you are working wit 11 GR 1 subject, you must use the domain types, if you work with GR 11, 2 or 12 c, you can use the domain types, but it is recommended to use the java type mapping.

    Timo

  • Why the continuous measurement and Logging in LabVIEW 2012 Project uses strings instead of Enums and orders from the queue?

    Hello!

    I noticed that the continuous measurement and a project in LabVIEW 2012 Logging using chains instead of enums and orders from the queue. I wonder if there is a good reason for it?

    Kind regards

    Anguel

    First, string vs enum debate is probably the version of LabVIEW vim vs emacs. There are good arguments on both sides, and I doubt that there is always a "winner".

    A brief summary of our reasoning for the current state of the project examples:

    1. We used enums for the state machine because it is self-contained. A state machine will never tell himself to enter a State, he does not know. Knowing (as the programmer) all possible States with the help of an enum allows you to enlist the compiler in order to help us avoid mistakes to change the time (because you can't quite out an enum and LabVIEW can be said if you are not covering all cases to a structure of the case, etc..).

      Enums provide greater protection and rigidity by ensuring all withdrew at the time of publishing. This is often the 'default' recommendation that we do.

    2. We used strings for messages in queue manager because the producer of message and the message handler could be independent processes that are reused or traded. Channels avoid the need for the compiler to be able to connect the orders and push this responsibility to the programmer. This allows you to develop some sub-components independently as long as you agree to a series of channel commands that you can manage - you need not to share a file 'messages.ctl' or 'states.ctl '. It is conceivable a loop of message management a message it does not, how you can decide to either silently ignore it or will trigger an error (as we do in the model). The strings make it also easier if you want to swap the queues of LabVIEW outside by a TCP implementation for network vacilitate or intra-Processuse communication where the other end may or may not be written in LabVIEW.

      Channels to provide more flexibility (that is, you can add new commands to an existing via plugins system, you can pass parameters as part of the string, etc.) at the expense of pushing her potential errors at run time and to put more responsibility on the programmer.

    3. The actor's gifts frame a 3rd option - using classes such as messages. For me, it combines many of the advantages of these two enumerations (strictly typed, change errors) and strings (flexible and scalable), but with the disadvantage of being somewhat less transparent (you understand OO, be comfortable to navigate through a multitude of screws, legacy of understanding, etc.).

    I don't know there are other reasons, others to the breast OR had or seen as we validated models and examples of projects in-house, but here are my reasons. We know that we can not design for each situation there - our goal is to get useful models against new users to make them aware of what well thought LabVIEW programs are similar to experienced users know their applications better and I hope they do not hesitate to change what we provide or create their own designs, when they feel it's necessary. (On a side note, please share what you come up with - a community of experts sharing models would be really useful to us all LabVIEW users).

    Best regards

    Simon

  • Is it interesting to use Lightroom instead of Photoshop RAW Editor?

    I have been using Photoshop elements for several months. Recently, I decided to try the free trial of Photoshop and Lightroom 30. My question is this: is it interesting to use Lightroom instead of Photoshop RAW Editor?

    They have the same raw tools but LR offers a better workflow system and the organization because of its database (catalogue) I mean full Photoshop. Elements has a stripped down version of Camera Raw.

    If you understand the elements, the catalog is similar.

  • Is it better to use a single project or to jump back?

    Greetings,

    I am using Captivate 4. And I wonder if it is better to use a single project or to jump back?

    I have a master project and instead of a big project, I was wondering on jumping small projects and returning to the main.

    I tried to understand the idea of jump to slide 10 and jump to another project and then again to slide 20.

    Should projects be published in order to see this work?

    I'm learning just on Captivate so I'm not sure best practices.

    Thank you.

    It is not easy in the Captivate projects to switch to another project at Midway specific slide.  Captivate is configured by default to launch just each project of the first slide.

    There are workaround solutions published on this forum who has to jump in the middle of another project, but they may require some complex coding in JavaScript or ActionScript.

  • When shooting images for 'HDR Pro' sources, is it better to use TIFF 16 bits rather than 8-bit JPEG?

    When shooting images for 'HDR Pro' sources, is it better to use TIFF 16 bits rather than 8-bit JPEG?

    When shooting for HDR, it is preferable to the Raw format.

    When you import the image to gather in HDR and you use JPEGs, Photoshop will show you the message that it is better to use the Raw instead of JPEG...

  • How can I make firefox use http instead of https?

    In internet business, it is problematic to use https.
    However firefox by default always to https connections (for example during a google image search in the toolbar search, or when you type an address bar starting with "www"); so always raise an alert page "this connection is untrusted" and make me go the address bar manually and change the 'https' in the 'http'.
    In Google Chrome and Internet Explorer, it is very easy to install the browser to use http instead of https protocol. However, I can't find this option in firefox. Any ideas?

    There are two different parameters involved:

    Address bar Autofill

    If you used HTTPS to a site before, the AutoFill feature to Firefox address bar will prefer the HTTPS address. If you don't mind by selecting from the drop-down instead, or just type the address in full, you can disable AutoFill the address bar. Here's how:

    (1) in a new tab, type or paste Subject: config in the address bar and press ENTER. Click on the button promising to be careful.

    (2) in the filter box, type or paste the AutoFill and make a pause so that the list is filtered

    (3) double-click browser.urlbar.autoFill from true to false.

    Search from the address bar

    About the address bar search, you can change the URL used by the 'key word' service. Please see this thread for links: unable to connect to the proxy because of the automatic https.

    That solve it?

  • I can't use a website should I use with Firefox 5.0. So, I need to uninstall and go back to 3.5 or 3.6. Please notify. Also, my control panel blocks from Windows Explorer a PMP. That's why I use Firefox instead. Thanks for any help!

    I can't use a website should I use with Firefox 5.0. So, I need to uninstall and go back to 3.5 or 3.6. Please notify. Also, my control panel blocks from Windows Explorer a PMP. That's why I use Firefox instead. Thanks for any help!

    I thought it would be FAFSA is causing your problem.

    Install Portable Firefox 3.6.x on your hard drive to a Web site. This will not affect any of your current Firefox installation.

    http://PortableApps.com/apps/Internet/firefox_portable/localization#legacy36

  • Using DVI instead of VGA on the Port Replicator - Tecra A9

    I have a port replicator toshiba that I use with my laptop Tecra A9, currently I have a vga cable to run the external monitor, but I prefer to use DVI instead, but I can't make it work.

    Is there a setting somewhere that I have to activate? or should it work?

    See you soon

    Ash.

    Hello

    As much as I know there nothing that you must set for the use of the DVI port. The question is how you use it. Using a DVI - VGA adapter?

  • What are the parameters? How are Variables differenet? Why we can not use variables to pass data to one sequnece to another? What is the advantage to use parameters instead of Variables?

    Hi all

    I am new to TestStand. Still in the learning process.

    What are the parameters? How are Variables differenet? Why we can not use variables to pass data to one sequnece to another? What is the advantage to use parameters instead of Variables?

    Thanks in advance,

    LaVIEWan

    I'm sorry... I discovered that... its not at all possible to pass data to another sequence using variables... it must be through settings... once again I apologize for the display of such a stupid question

  • What is the difference this 2 examples of photos? Use function IMAQ detect circles to detect the GREEN button.

    Hi all

    Please refer to the attached 2 pictures, they are similar, just the size is defferent. (pass PNG, 5478 pass. PNG).

    But now I try to use IMAQ detect circles to catch the GREEN button. For the PNG pass, it works very well, but for another example, it is still does not detect this button.

    I also try to change the curve settings and note that entry, but still no. Another way, I also try to use function IMAQ find circles , but the result is worse that IMAQ detect circles, so give up.

    The code is detect the circles.png, copy of block diagram.

    So what is the root cause? Thanks for help.

    Hi colinzhang,

    The extraction of curve so it uniform mode, you can get the result.

    -Suggestion, if you want to use the entire image area as KING should get the size of the image, get the rectangle and convert it to the descriptor of KING. (I think this is unnecessary)

    -Be careful with the extraction of the plane, u use default color which is the Red plan. In this example, it is fine. but make sure you know what aircraft you are extracting.

    s ' Please find vi saved in the 2010 version.

  • How can I send five simple characters (P, H, O, T, O) using ComWrt, instead of sending a single string?

    The manual of instrument mentioned that "for switch mode remote"P","H""O""T","O"are sent as single characters and not as a single string". How can I send simple characters using the Serial Port, rather than send a single string?

    I have no CVI installed on this pc, and in the past, I used VISA instead of the ComWrt. If you know how to write a string, then I don't see where is your problem. You write only 5 channels instead of one--each with a single character.

    You can post to the ICB card if you have problems with C.

  • How Windows XP Setup (F6) to use an instead of a floppy drive usb flash drive to find the drivers for a disk sata hard

    Hello

    How can I install Windows XP Setup (F6) use an instead of a floppy drive usb flash drive to find the drivers for a disk sata hard.

    Kind regards
    Imane

    Hi Mike,.

    You can not install it. This must be done using the floppy drive. This feature is available for Vista and Windows 7.

    Visit our Microsoft answers feedback Forum and let us know what you think.

  • MY MAIN ADVICE IS USING NUMBERS INSTEAD OF LETTERS

    ALL OF A SUDDEN MY KEYBOARD IS USING NUMBERS INSTEAD OF LETTERS HELP

    If only the UIOJKLM keys on a laptop will type numbers, your "numlock" is enabled (with green light). Press your "fn" + "Numlock" set to turn it off.

  • Can I remove internet explore and use chrome instead?

    Can I remove internet explore and use chrome instead? That is, crashes, to stop, resarts and slows my computor. I installed Google Chrome and have had no more problems. It opens and closes when I want it and going to the Web pages as I type in without hesitation. I like windows 7, I only have a problem with Internet Explore. It also caused changes in my modem. I need to uninstall the software and reinstall to get it working again. IO would open that is and get a message that says "no internet access - check your settings, I thought it was a virus at some point. As soon as I started using Chrome, everything worked again. That is also caused problems with my printer and home network. I don't mind that is being stored in a file, I don't want to work and make changes to my computer I'm not an it expert by any means. I restored my pc to an earlier time and new conditions of factory several times in the past year (I bought the HP pc new in December 2010).

    It is not really a way to remove Internet Explorer.  I have not heard of the type of problems, you had with IE, but if you prefer Chrome and who works for you, all you need to do is to make Chrome the default browser.  I use Firefox and make it my default browser.  Once you make Chrome default you just leave Internet Explorer installed but it won't get used.  Following comes the site help Chrome and tells how to do it by default: http://support.google.com/chrome/bin/answer.py?hl=en&answer=95417

Maybe you are looking for