Announcement

Collapse
No announcement yet.

The Navy ship of the Future?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #31
    Pointers are explicit objects which get passed into a function and reflect an actual implementation detail. Call-by-reference is a language feature that can be implemented in many ways by a compiler.

    Comment


    • #32
      Errr....far be it from me to argue with the compsci, but if you put a pointer variable in as an argument to a function in C you can modify the value of the variable inside the function, which is a call-by-reference, no?

      If you just toss in a non-pointer you can't modify it because the function creates a copy of the variable and uses that. And that's call by value.

      ?
      12-17-10 Mohamed Bouazizi NEVER FORGET
      Stadtluft Macht Frei
      Killing it is the new killing it
      Ultima Ratio Regum

      Comment


      • #33
        By the way, I have no idea what you said in your second post.
        12-17-10 Mohamed Bouazizi NEVER FORGET
        Stadtluft Macht Frei
        Killing it is the new killing it
        Ultima Ratio Regum

        Comment


        • #34
          Ah, I think I understand. I think you're saying that the actual pointer is called by value. Of course, that's true. But effectively speaking passing a pointer to an object is like passing the object by reference.
          12-17-10 Mohamed Bouazizi NEVER FORGET
          Stadtluft Macht Frei
          Killing it is the new killing it
          Ultima Ratio Regum

          Comment


          • #35
            It is like, but distinct.

            There are languages that include both call-by-reference and explicit pointers, notably C++. The distinction is fairly important in that case (and the source of many bugs).

            Comment


            • #36
              I'm aware of the explicit call-by-reference features of C++

              But I avoid them like the plague because I learned how to program in C.
              12-17-10 Mohamed Bouazizi NEVER FORGET
              Stadtluft Macht Frei
              Killing it is the new killing it
              Ultima Ratio Regum

              Comment


              • #37

                Comment


                • #38
                  How long will it take me to learn VBA (specifically for Excel)? I've seen a lot of places request that and Java (in addition to C++). But I'm not ****ing learning Java.

                  12-17-10 Mohamed Bouazizi NEVER FORGET
                  Stadtluft Macht Frei
                  Killing it is the new killing it
                  Ultima Ratio Regum

                  Comment


                  • #39
                    I don't know VBA, but I expect not very long, as it's designed for idiots.

                    Java would take you a few hours if you know C++ or understand the general idea of object-oriented programming.

                    Comment


                    • #40
                      Originally posted by Lonestar View Post
                      Siro,

                      Yeah, the two prototypes are certainly not cheap by any stretch of the imagination, but they are still cheaper(per thousand ton) than any USN vessel under construction. I haven't heard of any problems with regards to being Littoral(remember, LCS-1 did it's sea trials on a lake for chrissakes), the problems would arise from operating in an environment that no one other than Amphibs or 14,000 ton STEALTH DESTROYERS can on the USN side also operate in.
                      How will its group operate? I imagine it has to have several smaller ships (some amphibs too) for engaging small and fast hostile vehicles and boarding them.

                      It has what, 1 helicopter? am I correct?



                      Kuci - KH was right to make a pointer. He couldn't have declared a reference to a joke you never initialized.

                      Comment


                      • #41
                        Originally posted by Sirotnikov View Post
                        How will its group operate? I imagine it has to have several smaller ships (some amphibs too) for engaging small and fast hostile vehicles and boarding them.

                        It has what, 1 helicopter? am I correct?
                        LCS-1 can operate one Helo at a time, LCS-2 can operate one helo or two firescouts at a time. Both classes, IIRC, also have boarding ramps for unmanned surface and subsurface vehicles, and have to capacity to be bases for two H-60 types of helicopters...just like Flight II DDGs and CGs.

                        Since the vessels can go at 40kts, they should be able to overtake most smaller vessels(Pirates aren't exactly operating Miami Vice cigarette boats) and if not, well, you still have a helo on hand for that.
                        Today, you are the waves of the Pacific, pushing ever eastward. You are the sequoias rising from the Sierra Nevada, defiant and enduring.

                        Comment


                        • #42
                          Let's just pretend I made my usual unfunny nanometer joke this
                          I thought about that as soon as I typed it. In fact, I think of you whenever I use that measurement anywhere now
                          "The DPRK is still in a state of war with the U.S. It's called a black out." - Che explaining why orbital nightime pictures of NK show few lights. Seriously.

                          Comment


                          • #43
                            Originally posted by KrazyHorse View Post
                            How long will it take me to learn VBA (specifically for Excel)? I've seen a lot of places request that and Java (in addition to C++). But I'm not ****ing learning Java.

                            It's taking me an infinite amount of time to learn VBA because I refuse to do it.

                            As for Java, that's huge in the finserv world. Worth learning.
                            "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                            Ben Kenobi: "That means I'm doing something right. "

                            Comment


                            • #44
                              **** Java. Use a real language.



                              C++ is much, much, bigger from what I understand. At least in the physics part of the ecology.
                              12-17-10 Mohamed Bouazizi NEVER FORGET
                              Stadtluft Macht Frei
                              Killing it is the new killing it
                              Ultima Ratio Regum

                              Comment


                              • #45
                                Originally posted by KrazyHorse View Post
                                **** Java. Use a real language.



                                C++ is much, much, bigger from what I understand. At least in the physics part of the ecology.
                                Java has a huge foothold on Wall Street. Both C++ and Java (not desktop apps, but the risk systems, backend systems) dominate there.
                                "The issue is there are still many people out there that use religion as a crutch for bigotry and hate. Like Ben."
                                Ben Kenobi: "That means I'm doing something right. "

                                Comment

                                Working...
                                X