Deutsch English Français Italiano |
<vg8h5l$g3ao$1@dont-email.me> View for Bookmarking (what is this?) Look up another Usenet article |
Path: ...!weretis.net!feeder9.news.weretis.net!news.quux.org!eternal-september.org!feeder2.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail From: Don Y <blockedofcourse@foo.invalid> Newsgroups: sci.electronics.design Subject: Re: OT: Programming Languages Date: Sun, 3 Nov 2024 11:59:00 -0700 Organization: A noiseless patient Spider Lines: 22 Message-ID: <vg8h5l$g3ao$1@dont-email.me> References: <vg3575$3bio0$1@dont-email.me> <6727970d$0$11446$426a74cc@news.free.fr> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 03 Nov 2024 19:59:02 +0100 (CET) Injection-Info: dont-email.me; posting-host="c3a05cd320d8ef4946849504d2aaa35c"; logging-data="527704"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19JVTg4LfhDTrtr4E9RboK0" User-Agent: Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.2.2 Cancel-Lock: sha1:ruUKSoh8WD9/SAzGoNTdVzlu84s= In-Reply-To: <6727970d$0$11446$426a74cc@news.free.fr> Content-Language: en-US Bytes: 2118 On 11/3/2024 8:30 AM, maitre Aliboron wrote: > Talking about structural "elegance" in my opinion (Common) LISP is one of the > best. Data, structures, functions, even programs... everything is only atoms > and lists. Yes, but it is VERY hard for people to wrap their heads around. Sort of like parsing a binary file -- there are no real "identifying features" from which to get your bearings. Lists are a great addition to a language but almost always drag in the need for GC. Folks often implement lists in other languages -- but, usually by tainting the data type that is being listed. E.g., adding a "next (previous)" element(s) to a struct seems "free". But, implicitly changes the data type of the listed item. E.g., how would you make a list of floats? { theFloat, *theNextFloat } is no longer a "float" but some bastard data type. Adding a float to said list would mean converting it to one of these bastards *before* prepending it.