Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > pl.comp.programming > #33653

Re: Czemu Python jest jaki jest?

From Roman Tyczka <noemail@because.no>
Subject Re: Czemu Python jest jaki jest?
Newsgroups pl.comp.programming
References (2 earlier) <quc5ai$igb$2@news.icm.edu.pl> <eekf74lxizex$.dlg@tyczka.com> <qudunk$b0g$1@news.icm.edu.pl> <1s4a9lwfk6wzl$.dlg@tyczka.com> <qul8ht$3eo$1@news.icm.edu.pl>
Date 2020-01-03 09:15 +0100
Message-ID <1twi9iid2bleg$.dlg@tyczka.com> (permalink)
Organization Telekomunikacja Polska

Show all headers | View raw


On Thu, 2 Jan 2020 18:16:45 +0100 (GMT+01:00), slawek wrote:

>> To, że wszystkie te języki mają begin/end nie oznacza, że różni je tylkonazwa.
> 
> Dlatego jeżeli już ma być begin-end to jednak Ada, a nie Algol czy
>  Pascal.
> 
>>Mógłbyś te dyskwalifikujące wymienić? Pytam z ciekawości. Istotne braki teżjakieś tam znam, choć pewnie inne, bo niekoniecznie np. numerykarozbudowana jest mi osobiście potrzebna.

Jak pisałem poprzednio, gdy mówimy o dzisiejszym Object Pascalu to:
 
> Brak dynamicznych tablic. 

są oczywiście i to od dawna

> Brak standardu wiązania z bibliotekami.

nie wiem na czym standard miałby polegać, ale biblioteki z innych języków
da się używać, a także linkować pliki .obj

>  Niemożliwość napisania własnej funkcji przyjmującej argumenty tak
>  jak we wbudowanej write. 

To prawda, choć jeśli dopuścić zapis wywołania z tablicą:

DoJob([1, 'text', 6.5]);
DoJob(['text', 15]);

to się da.

>  Nieprzenośne przekazywanie funkcji jako
>  parametru. 

Typy funkcyjne/proceduralne są od bardzo dawna, od dekady są też metody
anonimowe, więc można ich wszystkich używać jako parametrów

> Liczne, ale niekompatybilne, dialekty. 

To prawda.

> Brak wyjątków.

Są od dekad.

>  Brak namespaces. 

Tak, tego brakuje

> Zbyt mocne powiązanie z jednym producentem -  vendor lock. 

To nie jest argument przeciw językowi.

>  Do tego np. błędna implementacja delay przez
>  Borlanda - na szybkich (mniej więcej Pentium 1 @60 MHz) CPU
>  programy po prostu nie działały bo startup code wkładał się z div
>  by 0 na kalibracji delay. 

Problem sprzed ponad 20 lat - nieistniejący.

> Trudności z użyciem dla low-level - w czym zwkłe C jest gorsze tylko od asemblera. 

Czyli konkretnie co?

>  Brak templates. Brak makrodefinicji. 

Są za to generyki.

> Brak STL. 

Jest Spring:
https://spring4d.4delphi.com/docs/master/Html/index.htm?Spring.Base.htm

> Brak fork. 

Fakt

> Brak arytmetyki wskaźników.

Od ponad dekady jest 

https://helloacm.com/pointer-arithmetic-in-delphi/

>  Brak asm jako słowa kluczowego. 

Od dekad:

http://docwiki.embarcadero.com/RADStudio/Rio/en/Assembly_Expressions

> Brak możliwości współpracy z Fortranem. 

To jest jakiś uniwersalny wymóg dla języków?

> Brak krótkiej ewaluacji. 

Od dekad:

http://docs.embarcadero.com/products/rad_studio/delphiAndcpp2009/HelpUpdate2/EN/html/devcommon/compdirsbooleanshortcircuitevaluation_xml.html

> Brak refleksji. 

http://robstechcorner.blogspot.com/2009/09/delphi-2010-rtti-basics.html

> Brak dekoratorów.

Jeśli masz na myśli to co w Javie nazywa się annotations, to są attributes:

http://docwiki.embarcadero.com/RADStudio/Rio/en/Attributes_and_RTTI

-- 
pozdrawiam
Roman Tyczka

Back to pl.comp.programming | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Czemu Python jest jaki jest? "M.M." <mmarszik@gmail.com> - 2019-12-19 18:26 -0800
  Czemu Python jest jaki jest? godek.maciek@gmail.com - 2019-12-19 22:39 -0800
    Re: Czemu Python jest jaki jest? "M.M." <mmarszik@gmail.com> - 2019-12-19 22:57 -0800
    Re: Czemu Python jest jaki jest? "M.M." <mmarszik@gmail.com> - 2019-12-19 22:59 -0800
      Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2019-12-20 00:28 -0800
  Re: Czemu Python jest jaki jest? Roman Tyczka <noemail@because.no> - 2019-12-20 12:43 +0100
    Re: Czemu Python jest jaki jest? "M.M." <mmarszik@gmail.com> - 2019-12-20 06:54 -0800
    Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2019-12-30 07:26 +0100
      Re: Czemu Python jest jaki jest? Roman Tyczka <noemail@because.no> - 2019-12-30 21:39 +0100
        Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2019-12-30 23:46 +0100
          Re: Czemu Python jest jaki jest? Roman Tyczka <noemail@because.no> - 2020-01-02 13:15 +0100
            Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-02 18:16 +0100
              Re: Czemu Python jest jaki jest? J-23 <Baczeklu@poczta.fm> - 2020-01-02 20:45 +0100
                Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-03 00:20 +0100
                Re: Czemu Python jest jaki jest? J-23 <Baczeklu@poczta.fm> - 2020-01-03 02:02 +0100
              Re: Czemu Python jest jaki jest? Roman Tyczka <noemail@because.no> - 2020-01-03 09:15 +0100
  Re:Czemu Python jest jaki jest? slawek <x.y@org.org> - 2019-12-30 07:08 +0100
  Re: Czemu Python jest jaki jest? J-23 <Baczeklu@poczta.fm> - 2020-01-02 01:42 +0100
  Re:Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-02 09:46 +0100
    Re: Czemu Python jest jaki jest? J-23 <Baczeklu@poczta.fm> - 2020-01-02 20:30 +0100
      Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-02 12:58 -0800
        Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-03 00:35 +0100
          Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-03 04:04 -0800
            Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-03 18:12 +0100
              Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-03 09:32 -0800
                Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-03 19:17 +0100
                Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-03 11:32 -0800
                Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-03 21:22 +0100
                Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-03 12:39 -0800
                Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-04 01:15 +0100
                Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-03 16:23 -0800
                Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-04 09:26 +0100
                Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-04 00:50 -0800
                Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-04 10:51 +0100
                Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-04 02:13 -0800
                Re: Czemu Python jest jaki jest? fir <profesor.fir@gmail.com> - 2020-01-04 04:39 -0800
                Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-04 06:48 -0800
                Re: Czemu Python jest jaki jest? fir <profesor.fir@gmail.com> - 2020-01-04 07:09 -0800
                Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-04 18:40 +0100
                Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-04 19:02 +0100
                Re: Czemu Python jest jaki jest? "M.M." <mmarszik@gmail.com> - 2020-01-04 10:33 -0800
        Re: Czemu Python jest jaki jest? J-23 <Baczeklu@poczta.fm> - 2020-01-03 20:47 +0100
          Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-03 12:27 -0800
            Re: Czemu Python jest jaki jest? J-23 <Baczeklu@poczta.fm> - 2020-01-04 00:32 +0100
              Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-03 15:55 -0800
                Re: Czemu Python jest jaki jest? J-23 <Baczeklu@poczta.fm> - 2020-01-04 02:32 +0100
                Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-04 00:08 -0800
                Re: Czemu Python jest jaki jest? J-23 <Baczeklu@poczta.fm> - 2020-01-04 22:03 +0100
                Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-04 14:18 -0800
                Re: Czemu Python jest jaki jest? J-23 <Baczeklu@poczta.fm> - 2020-01-05 02:45 +0100
                Re: Czemu Python jest jaki jest? fir <profesor.fir@gmail.com> - 2020-01-05 00:39 -0800
                Re: Czemu Python jest jaki jest?b J-23 <Baczeklu@poczta.fm> - 2020-01-05 23:15 +0100
                Re: Czemu Python jest jaki jest?b godek.maciek@gmail.com - 2020-01-05 15:30 -0800
                Re: Czemu Python jest jaki jest?b J-23 <Baczeklu@poczta.fm> - 2020-01-06 01:40 +0100
                Re: Czemu Python jest jaki jest?b godek.maciek@gmail.com - 2020-01-06 02:12 -0800
                Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-05 10:25 +0100
                Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-06 02:34 -0800
                Re: Czemu Python jest jaki jest? godek.maciek@gmail.com - 2020-01-05 15:59 -0800
    Re: Czemu Python jest jaki jest? "M.M." <mmarszik@gmail.com> - 2020-01-02 12:51 -0800
      Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-03 01:18 +0100
        Re: Czemu Python jest jaki jest? "M.M." <mmarszik@gmail.com> - 2020-01-02 19:40 -0800
        Re: Czemu Python jest jaki jest? "M.M." <mmarszik@gmail.com> - 2020-01-09 04:57 -0800
  Re:Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-03 10:04 +0100
    Re: Czemu Python jest jaki jest? J-23 <Baczeklu@poczta.fm> - 2020-01-03 20:56 +0100
      Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-04 09:31 +0100
        Re: Czemu Python jest jaki jest? J-23 <Baczeklu@poczta.fm> - 2020-01-04 22:18 +0100
          Re: Czemu Python jest jaki jest? slawek <x.y@org.org> - 2020-01-04 23:48 +0100
            Re: Czemu Python jest jaki jest? "M.M." <mmarszik@gmail.com> - 2020-01-05 10:33 -0800
          Re: Czemu Python jest jaki jest? "M.M." <mmarszik@gmail.com> - 2020-01-05 10:18 -0800

csiph-web