-
X-Received: by 10.31.137.76 with SMTP id l73mr32710vkd.10.1503390110972; Tue, 22 Aug
2017 01:21:50 -0700 (PDT)
X-Received: by 10.31.137.76 with SMTP id l73mr32710vkd.10.1503390110972; Tue, 22 Aug
2017 01:21:50 -0700 (PDT)
Path: news-archive.icm.edu.pl!news.icm.edu.pl!news.nask.pl!news.nask.org.pl!news.unit
0.net!weretis.net!feeder6.news.weretis.net!feeder.usenetexpress.com!feeder-in1.
iad1.usenetexpress.com!border1.nntp.dca1.giganews.com!nntp.giganews.com!v29no26
09319qtv.0!news-out.google.com!i9ni48030qte.0!nntp.google.com!v29no2609314qtv.0
!postnews.google.com!glegroupsg2000goo.googlegroups.com!not-for-mail
Newsgroups: pl.comp.programming
Date: Tue, 22 Aug 2017 01:21:50 -0700 (PDT)
In-Reply-To: <0...@g...com>
Complaints-To: g...@g...com
Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=213.192.95.134;
posting-account=f7iIKQoAAAAkDKpUafc-4IXhmRAzdB5r
NNTP-Posting-Host: 213.192.95.134
References: <f...@g...com>
<1...@g...com>
<7...@g...com>
<b...@g...com>
<a...@n...v.pl>
<2...@g...com>
<a...@n...v.pl>
<on23a3$85s$1@node1.news.atman.pl>
<a...@n...v.pl>
<on75ke$g4u$1@node2.news.atman.pl>
<5...@g...com>
<onfotu$lh6$1@node1.news.atman.pl>
<0...@g...com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <3...@g...com>
Subject: Re: Co jest nie tak z C++ (było: Rust)
From: g...@g...com
Injection-Date: Tue, 22 Aug 2017 08:21:51 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 44
Xref: news-archive.icm.edu.pl pl.comp.programming:211225
[ ukryj nagłówki ]W dniu wtorek, 22 sierpnia 2017 09:42:53 UTC+2 użytkownik M.M. napisał:
> > Tak! Madrze ktos zacytowal filozofa: "granice mego jezyka wytyczaja granice mego
swiata"
> > Twoj swiat bolesnie ograniczaja kraty ++.
>
> Ale jaka konkretnie mądrość z tego cytatu płynie w kontekście
> języków programowania?
Pozwolę sobie odpowiedzieć nieco większym cytatem, pochodzącym od
Alana Kaya, twórcy języka Smalltalk:
Allen Newell visited PARC with his theory of hierarchical thinking
and was challenged to prove it. He was given a programming problem
to solve while the protocol was collected. The problem was: given
a list of items, produce a list consisting of all of the odd indexed
items followed by all of the even indexed items. Newell's internal
programming language resembled IPL-V in which pointers are manipulated
explicitly, and he got into quite a struggle to do the program.
In 2 seconds I wrote down:
oddsEvens(x) = append(odds(x), evens(x))
the statement of the problem in Landin's LISP syntax--and also
the first part of the solution. Then a few seconds later:
where odds(x) = if null(x) ? null(tl(x)) then x
else hd(x) & odds(ttl(x))
evens(x) = if null(x) ? null(tl(x)) then nil
else odds(tl(x))
This characteristic of writing down many solutions in declarative
form and have them also be the programs is part of the appeal
and beauty of this kind of language. Watching a famous guy much
smarter than I struggle for more than 30 minutes to not quite
solve the problem his way (there was a bug) made quite an impression.
It brought home to me once again that "point of view is worth 80 IQ points."
I wasn't smarter but I had a much better internal thinking tool to
amplify my abilities.
http://worrydream.com/EarlyHistoryOfSmalltalk/
Następne wpisy z tego wątku
- 22.08.17 13:13 Maciej Sobczak
- 22.08.17 13:49 M.M.
- 22.08.17 14:16 g...@g...com
- 22.08.17 14:24 g...@g...com
- 22.08.17 14:54 Maciej Sobczak
- 22.08.17 15:12 g...@g...com
- 23.08.17 11:01 Maciej Sobczak
- 23.08.17 11:29 g...@g...com
- 23.08.17 12:14 Maciej Sobczak
- 23.08.17 13:42 g...@g...com
- 23.08.17 15:13 slawek
- 23.08.17 15:22 slawek
- 23.08.17 15:24 slawek
- 23.08.17 17:05 g...@g...com
- 23.08.17 17:18 g...@g...com
Najnowsze wątki z tej grupy
- 7. Raport Totaliztyczny: Sprawa Qt Group wer. 424
- TCL - problem z escape ostatniego \ w nawiasach {}
- Nauka i Praca Programisty C++ w III Rzeczy (pospolitej)
- testy-wyd-sort - Podsumowanie
- Tworzenie Programów Nieuprzywilejowanych Opartych Na Wtyczkach
- Do czego nadaje się QDockWidget z bibl. Qt?
- Bibl. Qt jest sztucznie ograniczona - jest nieprzydatna do celów komercyjnych
- Co sciaga kretynow
- AEiC 2024 - Ada-Europe conference - Deadlines Approaching
- Jakie są dobre zasady programowania programów opartych na wtyczkach?
- sprawdzanie słów kluczowych dot. zła
- Re: W czym sie teraz pisze programy??
- Re: (PDF) Surgical Pathology of Non-neoplastic Gastrointestinal Diseases by Lizhi Zhang
- CfC 28th Ada-Europe Int. Conf. Reliable Software Technologies
- Młodzi programiści i tajna policja
Najnowsze wątki
- 2024-11-25 Karty przedpłacone (podarunkowe) Google Play - pytanie do korzystających
- 2024-11-26 wina Tóska
- 2024-11-26 Rewolucja/Rewelacja!
- 2024-11-25 grupa ożyła ;)
- 2024-11-24 Być jak Clint
- 2024-11-24 Rura kanalizacja konceptu Franke = problem
- 2024-11-25 Wrocław => Lead Java EE Developer <=
- 2024-11-25 Warszawa => Business Development Manager - Network and Network Securit
- 2024-11-25 Kraków => Programista Full Stack (.Net Core) <=
- 2024-11-25 Lublin => Senior PHP Developer <=
- 2024-11-25 Karlino => Konsultant wewnętrzny SAP (FI/CO) <=
- 2024-11-25 Warszawa => ECM Specialist / Consultant <=
- 2024-11-25 Katowice => Regionalny Kierownik Sprzedaży (OZE) <=
- 2024-11-25 Warszawa => Senior Frontend Developer (React + React Native) <=
- 2024-11-25 Lublin => Inżynier Serwisu Sprzętu Medycznego <=