• Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
  • Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!

Half baked ideas

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

    Half baked ideas

    Don't you just love them.

    Java generics. Oh dear.
    While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'

    #2
    Originally posted by doodab View Post
    Don't you just love them.

    Java generics. Oh dear.
    Indeed. C# on the other hand does it very nicely.
    Originally posted by MaryPoppins
    I'd still not breastfeed a nazi
    Originally posted by vetran
    Urine is quite nourishing

    Comment


      #3
      Originally posted by d000hg View Post
      Indeed. C# on the other hand does it very nicely.
      List<StuffThatCSharpDoesBetterThanJava> loads = new List<StuffThatCSharpDoesBetterThanJava>();

      Comment


        #4
        Originally posted by mudskipper View Post
        List<StuffThatCSharpDoesBetterThanJava> loads = new List<StuffThatCSharpDoesBetterThanJava>();
        surely that would be

        var loads = new List<StuffThatCSharpDoesBetterThanJava>();

        Although personally I curse resharper every time it suggests it.
        merely at clientco for the entertainment

        Comment


          #5
          Originally posted by eek View Post
          surely that would be

          var loads = new List<StuffThatCSharpDoesBetterThanJava>();

          Although personally I curse resharper every time it suggests it.
          I only use var when it's too bloody complicated to work out what I'm getting back (Linq). Mebbe I should be more liberal.

          Comment


            #6
            Nah I don't like all the non-typed stuff either. It's a proper language, not bloody JS.
            Originally posted by MaryPoppins
            I'd still not breastfeed a nazi
            Originally posted by vetran
            Urine is quite nourishing

            Comment


              #7
              Originally posted by d000hg View Post
              Nah I don't like all the non-typed stuff either. It's a proper language, not bloody JS.
              I fear we've missed eek's point, but don't know enough of Java to be sure.

              Comment


                #8
                I meant c#'s var...
                Originally posted by MaryPoppins
                I'd still not breastfeed a nazi
                Originally posted by vetran
                Urine is quite nourishing

                Comment


                  #9
                  Originally posted by mudskipper View Post
                  I fear we've missed eek's point, but don't know enough of Java to be sure.
                  Java really doesn't do implicit types. The reason I added it was to show one of the advantages of C# in the fact it can handle implicit types and conversions without pain.

                  Personally I hate them but then again I don't like Linq that much full stop. I'm very old school give me stored procedures any day.
                  merely at clientco for the entertainment

                  Comment


                    #10
                    Originally posted by d000hg View Post
                    I meant c#'s var...
                    c# var keyword equivalent in java? - Stack Overflow

                    Originally posted by eek View Post
                    Java really doesn't do implicit types. The reason I added it was to show one of the advantages of C# in the fact it can handle implicit types and conversions without pain.

                    Personally I hate them but then again I don't like Linq that much full stop. I'm very old school give me stored procedures any day.
                    Edit: Or wot 'e sed.

                    Comment

                    Working...
                    X