On 2017-05-21 07:58, Felipe Monteiro de Carvalho wrote:
On Thu, May 18, 2017 at 5:05 PM, Graeme Geldenhuys
<mailingli...@geldenhuys.co.uk> wrote:
Use Java instead. ;-) Check. Oh wait, that's what I did for that project.

Well, Java also has its issues.
...

import java.util.*;

class FelipeTestThread
{
    volatile boolean running = true;

    public void test()
{
        new Thread(new Runnable()
{
            public void run()
   {
                int counter = 0;
                while (running) {
                    counter++;
                }

Yes indeed, one issue is:

your code is
{
            {
                         {
                               way
                                     {
                                           over here


Compare that to oberon or even Plain C where your code:

someproc {
    is here
}


Not here:

{
          {

                     {
                             system.print()

Same issue with C#

Not an issue with: golang, fpc, delphi, oberon, C, or even in some cases ruby

The amount of nesting and indented procedures inside classes in Java is horrible, IMO.
Just to get a program started you are

                           way over here
                                  by morning
                                         and worse
                                             by night
_______________________________________________
fpc-other maillist  -  fpc-other@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-other

Reply via email to