Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: Peter Otten <__peter__@web.de> Newsgroups: comp.lang.python Subject: [OT] C# -- sharp or carp? was Re: Learning Python (or Haskell) makes you a worse programmer Date: Tue, 29 Mar 2016 11:39:35 +0200 Organization: None Lines: 16 Message-ID: References: <56f9cffb$0$1614$c3e8da3$5496439d@news.astraweb.com> Mime-Version: 1.0 Content-Type: text/plain; charset="ISO-8859-1" Content-Transfer-Encoding: 7Bit X-Trace: news.uni-berlin.de o02yPAmu2FcOQI9deXCcnA3Sbb0whvZxvNFexcpyZDnQ== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'url:blog': 0.10; 'feasible': 0.16; 'mylist': 0.16; 'received:80.91.229.3': 0.16; 'received:dip0.t-ipconnect.de': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'received:t-ipconnect.de': 0.16; 'subject:Learning': 0.16; 'subject:programmer': 0.16; 'wrote:': 0.16; 'subject:] ': 0.19; 'noted': 0.22; 'bit': 0.23; 'header:User-Agent:1': 0.26; 'header:X -Complaints-To:1': 0.26; 'skip:" 20': 0.26; 'equivalent': 0.27; 'question': 0.27; 'follows': 0.29; 'code': 0.30; 'post': 0.31; 'functional': 0.32; 'language.': 0.32; 'subject:) ': 0.32; '"")': 0.33; "d'aprano": 0.33; 'foo': 0.33; 'steven': 0.33; 'to:addr :python-list': 0.36; 'subject:: ': 0.37; 'received:org': 0.37; 'subject:[': 0.39; 'enough': 0.39; 'to:addr:python.org': 0.40; 'received:de': 0.40; 'url:me': 0.64; '10th': 0.84; 'url:posts': 0.84; 'subject:you': 0.85 X-Injected-Via-Gmane: http://gmane.org/ X-Gmane-NNTP-Posting-Host: p57bd9d1d.dip0.t-ipconnect.de User-Agent: KNode/4.13.3 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:105972 Steven D'Aprano wrote: > http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/ I was about to post that in a few years' time C# will acquire enough features to make code that follows the functional paradigm feasible in that language. Then I noted that this was the 10th anniversary repost ;) My question to those who know a bit of C#: what is the state-of-the-art equivalent to "\n".join(foo.description() for foo in mylist if foo.description() != "")