Subj : Re: Opinion on Pascal
To   : Ennev
From : Deavmi
Date : Thu Mar 30 2017 10:25 pm

On 2017-03-30 06:14 PM, Ennev wrote:
>  > I find it quite neat, for the most part.
>
> Cleaner to read than a bunch of {} %#%$ () () ;
>
> Maybe it look less compact, but a code is brisk and small no because you typed
> it compactly.
>
> Remember demonstrating that years ago at a job writing the same piece of code
> in Turbo Pascal and in Microsoft C.
>
> We had a decompiler so we could see what both code looked like and at that
> level it was practically indistinguishable.
>
> And when you use Delphi the difference in the size of a .exe was dramatic.
>
> Opening a windows with "hello world" with a button to close was like 15kb.
> where the same in c# was like 250kb because of all the stuff it was
> bundling in it and that with turning the debug mode at off in both cases.
>
> So at the end of the day, it's funnier to support code in Pascal than C or
> Java. You can of course type less compact source code in c or java but it's up
> to the developer, when pascal forces you.
>
> while (number > 0)
>     {
>         factorial *= number;
>         --number;
>     }
>
> or
>
> while (nu > 0) {fa *= nu;--nu;}
>
> it will both do the same thing, but one is so much nicer to read that the
> other.
>
> and once compiled that will end up being the same code executing in the
> same amount of time.
> 
> ---
>  � Synchronet � MtlGeek - Geeks in Montreal - http://mtlgeek.com/ -
>
and once compiled that will end up being the same code executing in the
same amount of time.

Depends if the compiler is efficient. It could dd instructions that are
redundant for fun. Lol.

---
� Synchronet � KK4QBN + (706)-422-9538 + kk4qbn.synchro.net + 24/7/365