Search:

Type: Posts; User: JavaDeveloperPeter

Search: Search took 0.10 seconds.

  1. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    Hi Ada, I agree with you and as I'm starting to use java having used unmanaged c++ and c, I also will not miss free() and malloc(). I agree with your point on the safety of it too, and for the right...
  2. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    Kevin, Haha "that you are confused by", no just disappointed, but you have to make a personal attack and say I'm confused... Mr Hypocrit. I'm not confused I understand what Java can and cannot do....
  3. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    I completely agree, this is an appealing thing about java, it is very safe, this is a pro about java.... very safe. For very high performance ... not so good. Have a dabble with DirectX and you'll...
  4. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    I'm not offended, I'm just surprised at how high handed people are, talking like that, and there you go suggesting that I need a tutor :-) do you even appreciate why passing by reference is useful,...
  5. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    Hi aussiemcgr, just to clear it up, that is just an example, it would as you say be pointless. the problem is for example say you have an object containing many doubles and you want to solve or...
  6. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    I meant I won't spam any more on this post :)
    Thanks for your reply.
    Peter
  7. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    Absolutely they aren't religious, best tool for the job. For making a GUI I'd much prefer C# or Java. For the record, my point about Double is what is the point of passing the class version of double...
  8. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    Thank you for your answers everyone. My two questions have been answered. You can't pass by reference and this will never change and one should never question java developers about this.
  9. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    I said that because I was irritated at the revelation that you gave me about languages being different - that maybe not trolling but quite an irritating comment. And I was looking for a solution or...
  10. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    Fair enough, but being told "not all languages are the same" maybe that isn't trolling but pretty daft, when I've raised a good question.
  11. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    Seriously, try C# or C++ you don't know what you are missing!
  12. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    Obviously not all languages work the same, and obviously Java is not for doing maths! No wonder Java is going down the toilet.
  13. Replies
    31
    Views
    2,637

    Re: Can't pass by reference?

    Thanks, but it is quite a nasty flaw, suppose that you implement a brent solver or a newton solver. Suppose that there is a double that you want the brent solver to solve for, or many doubles that...
  14. Replies
    31
    Views
    2,637

    Can't pass by reference?

    Hello, I'm fairly new to Java, I'm very experienced with C++ and C# in which you can pass by reference - extremely useful. Take for example this bit of code in C#:



    class MyClass
    {
    ...
Results 1 to 14 of 15