From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM autolearn=unavailable autolearn_force=no version=3.4.4 X-Received: by 10.224.171.72 with SMTP id g8mr52196339qaz.7.1374945553413; Sat, 27 Jul 2013 10:19:13 -0700 (PDT) X-Received: by 10.50.101.110 with SMTP id ff14mr169534igb.9.1374945553374; Sat, 27 Jul 2013 10:19:13 -0700 (PDT) Path: border1.nntp.dca3.giganews.com!border2.nntp.dca3.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!cb17no95947qab.0!news-out.google.com!ce7ni0qab.0!nntp.google.com!cb17no95938qab.0!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: comp.lang.ada Date: Sat, 27 Jul 2013 10:19:13 -0700 (PDT) In-Reply-To: Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=69.20.190.126; posting-account=lJ3JNwoAAAAQfH3VV9vttJLkThaxtTfC NNTP-Posting-Host: 69.20.190.126 References: <874bf843-8212-44a4-b0c6-e20d831325bc@googlegroups.com> <14lc7wzpnwr68.1uyghj6zxs2fh.dlg@40tude.net> <60031692-0dc5-4a9d-b26b-277914c93c6d@googlegroups.com> User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: Subject: Re: Web Development Using Ada? From: Shark8 Injection-Date: Sat, 27 Jul 2013 17:19:13 +0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Original-Bytes: 2289 Xref: number.nntp.dca.giganews.com comp.lang.ada:182719 Date: 2013-07-27T10:19:13-07:00 List-Id: On Saturday, July 27, 2013 11:11:05 AM UTC-6, Hibou57 (Yannick Duch=EAne) w= rote: > Le Sat, 27 Jul 2013 17:49:17 +0200, Shark8=20 >=20 >=20 > > 5. Generics -- I had to write the same function again and again =20 > > (slightly different because of the 'types' coming in) when using PHP; = =20 > > that system would have been a lot nicer and more stable if PHP had =20 > > generics. >=20 > I won't go so far: it would have been a lot nicer if it had types and =20 > signatures and real modules and static consistency check for all of this.= =20 > It has none of these basic things (there is not even a real kind of =20 > phplint to help). 6, 7, and 8 address all of those, and they are honestly needed for a sane g= eneric-system. (Otherwise all you're doing is text-expansion macros and tho= se can be very dangerous, esp. if you pass in an evaluated expression as a = parameter.)