[fpc-pascal] New feature: IfThen() intrinsic
David Butler
djbutler at gmail.com
Mon Feb 1 20:06:01 CET 2016
On Mon, Feb 1, 2016 at 8:45 PM, Dmitry Boyarintsev <
skalogryz.lists at gmail.com> wrote:
>
>
> On Mon, Feb 1, 2016 at 1:40 PM, silvioprog <silvioprog at gmail.com> wrote:
>
>> On Mon, Feb 1, 2016 at 3:34 PM, Dmitry Boyarintsev <
>> skalogryz.lists at gmail.com> wrote:
>>
>>> On Mon, Feb 1, 2016 at 1:23 PM, silvioprog <silvioprog at gmail.com> wrote:
>>>
>>>>
>>>> It would be nice if the programmer could choose it from some compiler
>>>> switch, something like:
>>>>
>>>> {$define ifthendecl := InlineIf}
>>>>
>>>> macros?
>>>
>>
>> Yes, or something that allow the programmer to choose an alias to the
>> feature.
>>
>
> No matter what the language is, developers still want to write C... for
> the shortness of script
>
>
Speaking personally, the reason why I like Pascal syntax over C is exactly
because it isn't short. I prefer the verbosity of Pascal rather than
"cryptic" syntax of the C family. e.g. Pascal uses "function" not "func",
"procedure" not "proc", "if then else" not "if ()", etc. Using short C-like
syntax in Pascal goes against the long established style of Pascal.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160201/8c8a701f/attachment.html>
More information about the fpc-pascal
mailing list