• 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!

Java Platform Any Good?

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

    #31
    Originally posted by minestrone View Post
    I think the argument that it takes longer to write websites in java is one based on ignorance of the technology, you can write apps in exactly the same manner as you can with PHP if you so desire, almost matching line for line, file for file. Nobody does though, for a reason.

    I do readily admit that more often than not clients java web implementations are fookin brutal to the point creating a simple single page can take days, java is an expressive language and they often let total zoomers near the controls.
    Java was meant for embedded systems, all the rest has been feature creep

    J++ was abysmal, but C# is what Java should have been
    Doing the needful since 1827

    Comment


      #32
      Originally posted by NickFitz View Post
      Django is extremely good, and it means you/the developers get to work in Python, which is much better than working with PHP or Java.
      Python apart from the crazy indentation, is a good scripting language. Not just with frameworks like Django but also in .Net

      For instance Umbraco with C# and Python makes for a great open source .Net CMS
      Doing the needful since 1827

      Comment


        #33
        Originally posted by amcdonald View Post
        Python apart from the crazy indentation…
        Nothing crazy about the indentation. Python uses indentation to delimit blocks. This is no stranger than using some arbitrary set of brackets that happened to be unused for any other purpose and were available on the keyboard of a terminal in common use in the early 1970s to delimit blocks.

        If Kernighan and Ritchie were creating C (whose syntax Java and many other languages that copy it, such as C#, use) today, they might well use any of the many characters available in Unicode to delimit blocks. I quite like the idea of 🚀 and 🐔, or - if arbitrarily chosen delimiters must have some cultural association - ☞ and ☜.

        Comment


          #34
          Originally posted by minestrone View Post
          Kind of like C developers always write tulipe java code but there are far less of them around.
          Amen to that. Baffles them when they can't return null from a constructor to indicate it failed.
          Last edited by doodab; 15 November 2013, 08:51. Reason: speling
          While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'

          Comment


            #35
            Perhaps have a look at the play framework? That way you get the performance of the JVM + the option to write in scala instead.
            While you're waiting, read the free novel we sent you. It's a Spanish story about a guy named 'Manual.'

            Comment


              #36
              Originally posted by NickFitz View Post
              The benchmarks I've seen testing multiple backend frameworks usually show a pure Java Servlet API knocks spots off everything else, often by several orders of magnitude.
              In my experience the speed of the framework or type of code that is used to write an application is not the game changer for the finished product. What actually makes a difference is having skilled developers who can think outside of their dev machine and realise their code is going onto a tiered platform with separate DB server, app and presentation tier, plus integrating with other applications that are not on the same machine. The common issue is how data is moved across the network and manipulated. Too often I find the developers have used noddy app tier routines that pull 'all' rows out of a number of DB tables or a web service and then manipulate it locally. That's fine on their dev environment where they have a small amount of sample data, but not with real volumes of data.

              Comment


                #37
                Originally posted by CheeseSlice View Post
                Too often I find the developers have used noddy app tier routines that pull 'all' rows out of a number of DB tables or a web service and then manipulate it locally. That's fine on their dev environment where they have a small amount of sample data, but not with real volumes of data.
                Are you saying the old days when your multi-tier application called stored procedures which returned only the data you wanted was better than the current approach.

                Perish the thought......
                merely at clientco for the entertainment

                Comment


                  #38
                  Originally posted by NickFitz View Post
                  Nothing crazy about the indentation. Python uses indentation to delimit blocks. This is no stranger than using some arbitrary set of brackets that happened to be unused for any other purpose and were available on the keyboard of a terminal in common use in the early 1970s to delimit blocks.

                  If Kernighan and Ritchie were creating C (whose syntax Java and many other languages that copy it, such as C#, use) today, they might well use any of the many characters available in Unicode to delimit blocks. I quite like the idea of 🚀 and 🐔, or - if arbitrarily chosen delimiters must have some cultural association - ☞ and ☜.
                  I always think you can divide developers in two: those that could do algebra at school and so are comfortable with brackets and symbols, and those that couldn't and were probably better at English Lit. The former end up doing C++/Java/C#/Javascript and the latter end up using abominable languages with lots of redundant space and silly things like End If as two words, whilst insisting that they're "easier" and "faster to develop with".

                  The particular problem with python is when you mix tabs and spaces. Which means you need a special editor, or set up your editor properly, which partly defeats the object of a scripting language: being able to easily edit it.
                  Will work inside IR35. Or for food.

                  Comment


                    #39
                    Originally posted by eek View Post
                    Are you saying the old days when your multi-tier application called stored procedures which returned only the data you wanted was better than the current approach.

                    Perish the thought......
                    Its not just that, there has to be some balance between the two. Unfortunately the balance doesn't often happen with in-house applications, or in the early days of 'new' commercial products (I hope the OP is listening). Its either all at the data tier or all in the application. I still see apps that have been written by a bunch of SQL developers who do everything on the data tier which then don't scale, not to mention many other annoyances.

                    Comment


                      #40
                      Originally posted by NickFitz View Post
                      Nothing crazy about the indentation. Python uses indentation to delimit blocks. This is no stranger than using some arbitrary set of brackets that happened to be unused for any other purpose and were available on the keyboard of a terminal in common use in the early 1970s to delimit blocks.
                      The one place Python indentation catches me out at the moment is when copying and pasting bits of code off web sites.

                      Being lumbered with Swiss keyboard layouts especially the abortion created by Apple



                      Go on, guess where [ , ], {, } are...

                      Hint: backslash is alt-shift-7

                      I am only too happy to use indentation rather than curly or square brackets (oops Python fails that one with the square brackets).

                      Originally posted by NickFitz View Post
                      If Kernighan and Ritchie were creating C (whose syntax Java and many other languages that copy it, such as C#, use) today, they might well use any of the many characters available in Unicode to delimit blocks. I quite like the idea of 🚀 and 🐔, or - if arbitrarily chosen delimiters must have some cultural association - ☞ and ☜.
                      US layout keyboards are a handy accessory when dealing with their legacy.
                      Behold the warranty -- the bold print giveth and the fine print taketh away.

                      Comment

                      Working...
                      X