MESSAGE
DATE | 2020-08-04 |
FROM | Mithun Bhattacharya
|
SUBJECT | Re: [Hangout - NYLXS] suggestions for perl as web development
|
From hangout-bounces-at-nylxs.com Thu Aug 6 22:03:46 2020 Return-Path: X-Original-To: archive-at-mrbrklyn.com Delivered-To: archive-at-mrbrklyn.com Received: from www2.mrbrklyn.com (www2.mrbrklyn.com [96.57.23.82]) by mrbrklyn.com (Postfix) with ESMTP id 593D5163FEE; Thu, 6 Aug 2020 22:03:45 -0400 (EDT) X-Original-To: hangout-at-www2.mrbrklyn.com Delivered-To: hangout-at-www2.mrbrklyn.com Received: by mrbrklyn.com (Postfix, from userid 1000) id 4FD1316400C; Thu, 6 Aug 2020 22:01:31 -0400 (EDT) Resent-From: Ruben Safir Resent-Date: Thu, 6 Aug 2020 22:01:31 -0400 Resent-Message-ID: <20200807020131.GW24245-at-www2.mrbrklyn.com> Resent-To: hangout-at-mrbrklyn.com X-Original-To: ruben-at-mrbrklyn.com Delivered-To: ruben-at-mrbrklyn.com Received: from mailroute1-lw-us.apache.org (mailroute1-lw-us.apache.org [207.244.88.153]) by mrbrklyn.com (Postfix) with ESMTP id 968A0163F91 for ; Tue, 4 Aug 2020 20:58:06 -0400 (EDT) Received: from mail.apache.org (localhost [127.0.0.1]) by mailroute1-lw-us.apache.org (ASF Mail Server at mailroute1-lw-us.apache.org) with SMTP id 51ED9125445 for ; Wed, 5 Aug 2020 00:58:05 +0000 (UTC) Received: (qmail 85530 invoked by uid 500); 5 Aug 2020 00:58:05 -0000 Mailing-List: contact modperl-help-at-perl.apache.org; run by ezmlm Precedence: bulk Delivered-To: mailing list modperl-at-perl.apache.org Received: (qmail 85494 invoked by uid 99); 5 Aug 2020 00:58:04 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd3-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Aug 2020 00:58:04 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd3-us-west.apache.org (ASF Mail Server at spamd3-us-west.apache.org) with ESMTP id 040C41814A8 for ; Wed, 5 Aug 2020 00:58:04 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd3-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.001 X-Spam-Level: X-Spam-Status: No, score=0.001 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.2, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd3-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx1-he-de.apache.org ([10.40.0.8]) by localhost (spamd3-us-west.apache.org [10.40.0.10]) (amavisd-new, port 10024) with ESMTP id CaFPZ0VmM81Z for ; Wed, 5 Aug 2020 00:58:01 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2607:f8b0:4864:20::92c; helo=mail-ua1-x92c.google.com; envelope-from=mithnb-at-gmail.com; receiver= Received: from mail-ua1-x92c.google.com (mail-ua1-x92c.google.com [IPv6:2607:f8b0:4864:20::92c]) by mx1-he-de.apache.org (ASF Mail Server at mx1-he-de.apache.org) with ESMTPS id F32D07FB42 for ; Wed, 5 Aug 2020 00:58:00 +0000 (UTC) Received: by mail-ua1-x92c.google.com with SMTP id e20so6117330uav.3 for ; Tue, 04 Aug 2020 17:58:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=gDTnF1yQGVWAVG9NvpLN6RzsUKxhjCqAdt0KpoaT204=; b=jyuvyrMUMy8Mdtqnl2DzqEBMP7XVkgJXMKKoxzHUs9S+7QOFjCteti50LJGHkj7Ma/ 9XCxJSonbejq9VagprcgN8cMBeA3cIuxsDdHjfbi0D2as4xGpu3wX4dmbi4SZ4nG9aXX tcejGechjMLzZzFOG4XQlgAioby5k3fvFqxfzkB4F090JvvtTfOKpYKfmsArBiLutjUv OR2KzeivZoWDNr6gcFQM4VRWzF+4/MjhmhjDSo26TuorTDQXJ3T/d+1HbkqFO3qr64v9 ML/m3oTw6CbKItUGSTgMmjv2rzADT/o99Da0L/vuBAARXo1bYNPGtVXS86RiooIsdGlp eKHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=gDTnF1yQGVWAVG9NvpLN6RzsUKxhjCqAdt0KpoaT204=; b=DA49Q9CyMdTFoSTkx2c1iC8ZO+Tp7pX/LpJnGSxLVqbI+WlF/FalK8hM9PZ7sYOl4A DsMaeVYfkXtc2JfZ7PqhSLfTi53Wui93TxFqxYDh455OzQKd5AUmK5FwTGcTZ3qJPp7i 7tqNT/4Hs/pMY0Z6ofg5CDCoLvzdxt6txu/ZRhIBpKnPw2fqTMjBg3jtk7rh1n3tNCb+ 2E6x3yMEj72xE1Pcq502nHRg0TW0GhXljJJrgHFui/2tfje1/QMJHewCM2vTmgRfjX3U o5xZxZPkVm5Qoxf6sAPcqkw9rlug5nsV4SauLFCzkM6IeIkSQNa7vQXZNr8ta+nIU5/y EE+w== X-Gm-Message-State: AOAM530EkPQLE6nIoA8X6NDiZ+dXj2X6hb9KQe+gwE6CXnSVEUR+WSEa HDy7TWbBAWzCdO/h+NPZCAZEhc3VJoPV1KMOQT8= X-Google-Smtp-Source: ABdhPJzbdRnDsTRATw/IYblWXVjGLRnmRhvwSx1TzQhD2CTLkBzaI0+ID3xrKcymRBnpgBXVFC3YgdCrHtrmJTsXRS0= X-Received: by 2002:ab0:6585:: with SMTP id v5mr453267uam.73.1596589078801; Tue, 04 Aug 2020 17:57:58 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Mithun Bhattacharya Date: Tue, 4 Aug 2020 19:57:47 -0500 Message-ID: To: Wesley Peng Cc: mod_perl list Subject: Re: [Hangout - NYLXS] suggestions for perl as web development language [EXT] X-BeenThere: hangout-at-nylxs.com X-Mailman-Version: 2.1.30rc1 List-Id: NYLXS Tech Talk and Politics List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: multipart/mixed; boundary="===============0560992310==" Errors-To: hangout-bounces-at-nylxs.com Sender: "Hangout"
--===============0560992310== Content-Type: multipart/alternative; boundary="000000000000e4ef9305ac16dcea"
--000000000000e4ef9305ac16dcea Content-Type: text/plain; charset="UTF-8"
Just because the language lets you to relax doesn't mean you shouldn't apply strict validation of all data being worked on :) I don't care about it in a two line cron job but more critical components spend a lot of time on data validation - I am pretty much working in paranoid mode.
If you use Moose you can automatically apply data type checking.
On Tue, Aug 4, 2020 at 7:47 PM Wesley Peng wrote:
> > > Joseph He wrote: > > My company uses Perl for web development. It handles real time payment > > transactions without any problem. Good software is made by the people > > not by the language. > > Maybe I am weak on this point, but how perl handle types more strictly? > for example, > > 123 + '456' > > this is permitted in perl, and this is dangerous. It is not possible in > other strong types language. > > Thanks. >
--000000000000e4ef9305ac16dcea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just because the language lets you to relax doesn't me= an you shouldn't=C2=A0apply strict validation of all data being worked = on :) I don't care about it in a two line cron job but more critical co= mponents spend a lot of time on data validation - I am pretty much working = in paranoid mode.
If you use Moose you can automatically= apply data type checking.
ir=3D"ltr" class=3D"gmail_attr">On Tue, Aug 4, 2020 at 7:47 PM Wesley Peng = < me-at-yonghua.org> wrote: v> r-left:1px solid rgb(204,204,204);padding-left:1ex">
Joseph He wrote:
> My company uses Perl for web development. It handles real time payment=
> transactions without any problem. Good software is made by the people =
> not by the language.
Maybe I am weak on this point, but how perl handle types more strictly?
for example,
123 + '456'
this is permitted in perl, and this is dangerous. It is not possible in > other strong types language.
Thanks.
--000000000000e4ef9305ac16dcea-- --===============0560992310== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout --===============0560992310==-- --===============0560992310== Content-Type: multipart/alternative; boundary="000000000000e4ef9305ac16dcea" --000000000000e4ef9305ac16dcea Content-Type: text/plain; charset="UTF-8" Just because the language lets you to relax doesn't mean you shouldn't apply strict validation of all data being worked on :) I don't care about it in a two line cron job but more critical components spend a lot of time on data validation - I am pretty much working in paranoid mode. If you use Moose you can automatically apply data type checking. On Tue, Aug 4, 2020 at 7:47 PM Wesley Peng wrote:
> > > Joseph He wrote: > > My company uses Perl for web development. It handles real time payment > > transactions without any problem. Good software is made by the people > > not by the language. > > Maybe I am weak on this point, but how perl handle types more strictly? > for example, > > 123 + '456' > > this is permitted in perl, and this is dangerous. It is not possible in > other strong types language. > > Thanks. >
--000000000000e4ef9305ac16dcea Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Just because the language lets you to relax doesn't me= an you shouldn't=C2=A0apply strict validation of all data being worked = on :) I don't care about it in a two line cron job but more critical co= mponents spend a lot of time on data validation - I am pretty much working = in paranoid mode.
If you use Moose you can automatically= apply data type checking.
ir=3D"ltr" class=3D"gmail_attr">On Tue, Aug 4, 2020 at 7:47 PM Wesley Peng = < me-at-yonghua.org> wrote: v> r-left:1px solid rgb(204,204,204);padding-left:1ex">
Joseph He wrote:
> My company uses Perl for web development. It handles real time payment=
> transactions without any problem. Good software is made by the people =
> not by the language.
Maybe I am weak on this point, but how perl handle types more strictly?
for example,
123 + '456'
this is permitted in perl, and this is dangerous. It is not possible in > other strong types language.
Thanks.
--000000000000e4ef9305ac16dcea-- --===============0560992310== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Hangout mailing list Hangout-at-nylxs.com http://lists.mrbrklyn.com/mailman/listinfo/hangout --===============0560992310==-- |
|