[fpc-other] [fpc-pascal] FPC Graphics options?
noreply at z505.com
noreply at z505.com
Mon May 22 23:45:36 CEST 2017
On 2017-05-21 07:58, Felipe Monteiro de Carvalho wrote:
> On Thu, May 18, 2017 at 5:05 PM, Graeme Geldenhuys
> <mailinglists at 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
More information about the fpc-other
mailing list