Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

If you're not careful, you're going to catch something.


devel / comp.lang.c / some thought on future of languages

SubjectAuthor
* some thought on future of languagesfir
`* Re: some thought on future of languagesMalcolm McLean
 +* Re: some thought on future of languagesfir
 |`- Re: some thought on future of languagesfir
 `- Re: some thought on future of languagesfir

1
some thought on future of languages

<d416337c-4a84-4493-a0ce-e9e944fde1c8n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20427&group=comp.lang.c#20427

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:ae9:e889:: with SMTP id a131mr2160396qkg.771.1644317067563;
Tue, 08 Feb 2022 02:44:27 -0800 (PST)
X-Received: by 2002:ac8:5716:: with SMTP id 22mr2492536qtw.322.1644317067421;
Tue, 08 Feb 2022 02:44:27 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Tue, 8 Feb 2022 02:44:27 -0800 (PST)
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.143; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.143
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <d416337c-4a84-4493-a0ce-e9e944fde1c8n@googlegroups.com>
Subject: some thought on future of languages
From: profesor...@gmail.com (fir)
Injection-Date: Tue, 08 Feb 2022 10:44:27 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 51
 by: fir - Tue, 8 Feb 2022 10:44 UTC

i realized kinda interesting thought today

you know when you read language like c, your way
is probably read from bottom to top (i say probably coz
im not a master in reading other people codes still - but
logically this is a way ) i mean you must know what
bottom definitions do then you read what mid levels
definition do then you know what top level definitions
do

this is kinda unfortunate as biggest dose of
understanding (the most overwiev (flybird view)
part of a program is in top definition level

obviously if you use good naming you may inform
reader what those things do without always need
to decrypt it what it really do - but how it work
practically proably wary

i also remember some talk with bartc whan he emphases
he want to read line of given code from top to bottom so
i shouldnt add something that will make force him to check
definition (he talked not on naming though but on syntax
construction as far as i remember)

this is generally good remark (bartc righteus need)
as some will anderstood it more generally as note thet readability
from bottom to top is important
though in case of syntax it seem to me that not allowing it
this way (i mean redefining some syntaxes on bot making reader
needed to check in bottom what it is) would make language
'stiff' so its not a way to go (hovever i would need to check it yet)

note hovever that this bottom to top readability may be
obtained (in some degrees) as i already said in the way of naming
and experience, more to say imagine that language will mature to
this extent that given world will be filled by meaning allowin
you to know that if you write draw it will draw in some expected
way, if you will write move it will move in some expected way you know
this mean that programming language will become like natural language
but not in gramatic way/sense but in thsi way that in present programming
languages you define 'words' (or terms) of this language whose words are 'empty' and redefined (are more like forms of words than words) when in real
language the words carry the meaning - if you say cat its a cat (not a 3letter label when you can put anything)

this simply mean than if language will mature it probably will mature this way that some stable names (those things that today are usualy function names) will carry stable actions and liek in language you learn 10k 20k or 50 k words programmers will learn hundreds or few tousands function names by heart, and those function names will carry stable meaning

Re: some thought on future of languages

<35879c8e-7ca6-438a-9e2b-dbc7a60bb3dbn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20449&group=comp.lang.c#20449

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:6214:5006:: with SMTP id jo6mr947398qvb.67.1644402505693;
Wed, 09 Feb 2022 02:28:25 -0800 (PST)
X-Received: by 2002:a05:6214:caa:: with SMTP id s10mr987405qvs.6.1644402505568;
Wed, 09 Feb 2022 02:28:25 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Wed, 9 Feb 2022 02:28:25 -0800 (PST)
In-Reply-To: <d416337c-4a84-4493-a0ce-e9e944fde1c8n@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=2a00:23a8:400a:5601:ed51:da85:c7f0:dd5;
posting-account=Dz2zqgkAAADlK5MFu78bw3ab-BRFV4Qn
NNTP-Posting-Host: 2a00:23a8:400a:5601:ed51:da85:c7f0:dd5
References: <d416337c-4a84-4493-a0ce-e9e944fde1c8n@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <35879c8e-7ca6-438a-9e2b-dbc7a60bb3dbn@googlegroups.com>
Subject: Re: some thought on future of languages
From: malcolm....@gmail.com (Malcolm McLean)
Injection-Date: Wed, 09 Feb 2022 10:28:25 +0000
Content-Type: text/plain; charset="UTF-8"
Lines: 22
 by: Malcolm McLean - Wed, 9 Feb 2022 10:28 UTC

On Tuesday, 8 February 2022 at 10:44:54 UTC, fir wrote:
> i realized kinda interesting thought today
>
> you know when you read language like c, your way
> is probably read from bottom to top (i say probably coz
> im not a master in reading other people codes still - but
> logically this is a way ) i mean you must know what
> bottom definitions do then you read what mid levels
> definition do then you know what top level definitions
> do
>
If you are writing a module, should you put the high level calls at the top
and the low-level calls lower down? Or should you put the low level calls
at the top and the high level calls last?
The advantage of doing it the second way is that if you don't export the
lower level functions, you don't need prototypes. Also, it reveals mututal
dependency, which is usually a poor design decision.
The advantage of the first way is that non-programming documents are
usually provided as overview first, then details, then minor footnotes.
That matches the way most readers like to absorb information.

Re: some thought on future of languages

<da4fea61-be91-4389-9a8f-9c3f9be8aeban@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20451&group=comp.lang.c#20451

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:54c:: with SMTP id m12mr2150710qtx.300.1644427510672;
Wed, 09 Feb 2022 09:25:10 -0800 (PST)
X-Received: by 2002:ac8:7d88:: with SMTP id c8mr2157708qtd.119.1644427510464;
Wed, 09 Feb 2022 09:25:10 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Wed, 9 Feb 2022 09:25:10 -0800 (PST)
In-Reply-To: <35879c8e-7ca6-438a-9e2b-dbc7a60bb3dbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.23; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.23
References: <d416337c-4a84-4493-a0ce-e9e944fde1c8n@googlegroups.com> <35879c8e-7ca6-438a-9e2b-dbc7a60bb3dbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <da4fea61-be91-4389-9a8f-9c3f9be8aeban@googlegroups.com>
Subject: Re: some thought on future of languages
From: profesor...@gmail.com (fir)
Injection-Date: Wed, 09 Feb 2022 17:25:10 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 54
 by: fir - Wed, 9 Feb 2022 17:25 UTC

środa, 9 lutego 2022 o 11:28:54 UTC+1 Malcolm McLean napisał(a):
> On Tuesday, 8 February 2022 at 10:44:54 UTC, fir wrote:
> > i realized kinda interesting thought today
> >
> > you know when you read language like c, your way
> > is probably read from bottom to top (i say probably coz
> > im not a master in reading other people codes still - but
> > logically this is a way ) i mean you must know what
> > bottom definitions do then you read what mid levels
> > definition do then you know what top level definitions
> > do
> >
> If you are writing a module, should you put the high level calls at the top
> and the low-level calls lower down? Or should you put the low level calls
> at the top and the high level calls last?
> The advantage of doing it the second way is that if you don't export the
> lower level functions, you don't need prototypes. Also, it reveals mututal
> dependency, which is usually a poor design decision.
> The advantage of the first way is that non-programming documents are
> usually provided as overview first, then details, then minor footnotes.
> That matches the way most readers like to absorb information.

when i was writing here of reading top-bottom of bottom top i didnt mean top botom in file
but in a tree of function calls (main it here on top and functions like SetPixel of printf on bot)

i was writing that reading other people code begining from top is/would be better (if you want to understand how the program work the overal scheme is in top part) but c kinda enforces reading
begining from bot to top (becouse bot are non dependant on anything else from your code so you could understand and check waht it exactly do without knowing the resto of code) .. i mean enforces but im not sure how many people in fact do read code this way...normal reading i think goes on "names" not on real code transformations

and what i write about is also thet present languages are like not a languages but a gramatics of languages becouse functions (which are like words in languages) in present languages are not a words who carry well defined meaning but are now only forms to fill in ...in mature languiage
in future you will probably not define a 'words' but know what they do and use them and i mean
relation among names like, i dont know, "write" "draw" "put_sprite" will be fixed same way as word "cat" in normal language is fixed

(this is kinda interesting remark imo for thoise who are interested in things..i mean interesting is observation that when you define words in language it is not quite language, it is language 'under production' ..in language you got words defined)

Re: some thought on future of languages

<c0af3929-afb3-4944-9043-744feb3ee818n@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20452&group=comp.lang.c#20452

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:620a:1924:: with SMTP id bj36mr1698139qkb.526.1644428106214;
Wed, 09 Feb 2022 09:35:06 -0800 (PST)
X-Received: by 2002:a05:620a:2702:: with SMTP id b2mr1740678qkp.52.1644428106096;
Wed, 09 Feb 2022 09:35:06 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Wed, 9 Feb 2022 09:35:05 -0800 (PST)
In-Reply-To: <da4fea61-be91-4389-9a8f-9c3f9be8aeban@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.23; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.23
References: <d416337c-4a84-4493-a0ce-e9e944fde1c8n@googlegroups.com>
<35879c8e-7ca6-438a-9e2b-dbc7a60bb3dbn@googlegroups.com> <da4fea61-be91-4389-9a8f-9c3f9be8aeban@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <c0af3929-afb3-4944-9043-744feb3ee818n@googlegroups.com>
Subject: Re: some thought on future of languages
From: profesor...@gmail.com (fir)
Injection-Date: Wed, 09 Feb 2022 17:35:06 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 65
 by: fir - Wed, 9 Feb 2022 17:35 UTC

środa, 9 lutego 2022 o 18:25:44 UTC+1 fir napisał(a):
> środa, 9 lutego 2022 o 11:28:54 UTC+1 Malcolm McLean napisał(a):
> > On Tuesday, 8 February 2022 at 10:44:54 UTC, fir wrote:
> > > i realized kinda interesting thought today
> > >
> > > you know when you read language like c, your way
> > > is probably read from bottom to top (i say probably coz
> > > im not a master in reading other people codes still - but
> > > logically this is a way ) i mean you must know what
> > > bottom definitions do then you read what mid levels
> > > definition do then you know what top level definitions
> > > do
> > >
> > If you are writing a module, should you put the high level calls at the top
> > and the low-level calls lower down? Or should you put the low level calls
> > at the top and the high level calls last?
> > The advantage of doing it the second way is that if you don't export the
> > lower level functions, you don't need prototypes. Also, it reveals mututal
> > dependency, which is usually a poor design decision.
> > The advantage of the first way is that non-programming documents are
> > usually provided as overview first, then details, then minor footnotes.
> > That matches the way most readers like to absorb information.
> when i was writing here of reading top-bottom of bottom top i didnt mean top botom in file
> but in a tree of function calls (main it here on top and functions like SetPixel of printf on bot)
>
> i was writing that reading other people code begining from top is/would be better (if you want to understand how the program work the overal scheme is in top part) but c kinda enforces reading
> begining from bot to top (becouse bot are non dependant on anything else from your code so you could understand and check waht it exactly do without knowing the resto of code) .. i mean enforces but im not sure how many people in fact do read code this way...normal reading i think goes on "names" not on real code transformations
>
> and what i write about is also thet present languages are like not a languages but a gramatics of languages becouse functions (which are like words in languages) in present languages are not a words who carry well defined meaning but are now only forms to fill in ...in mature languiage
> in future you will probably not define a 'words' but know what they do and use them and i mean
> relation among names like, i dont know, "write" "draw" "put_sprite" will be fixed same way as word "cat" in normal language is fixed
>
> (this is kinda interesting remark imo for thoise who are interested in things..i mean interesting is observation that when you define words in language it is not quite language, it is language 'under production' ..in language you got words defined)

in this sense C is not a language, its a language form, C will be language only if you define "words" (specific functions) in it ...

(if you would define big dose of words like 20k it would be big versatile language (esp if such words will be massively known and accepted)...in turn if you define 30 words in it weird way and you or other 2 people will only know that it would be small freak language..etc

in short: language need words who have fixed meaning (also should be wider known and not have some disadvantages stoping it from practical usage)

Re: some thought on future of languages

<117f6aac-801f-4e61-8629-a692feca1d3bn@googlegroups.com>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=20453&group=comp.lang.c#20453

  copy link   Newsgroups: comp.lang.c
X-Received: by 2002:a05:622a:192:: with SMTP id s18mr2148143qtw.43.1644428212118;
Wed, 09 Feb 2022 09:36:52 -0800 (PST)
X-Received: by 2002:ac8:4612:: with SMTP id p18mr2133481qtn.492.1644428211989;
Wed, 09 Feb 2022 09:36:51 -0800 (PST)
Path: i2pn2.org!i2pn.org!weretis.net!feeder6.news.weretis.net!news.misty.com!border2.nntp.dca1.giganews.com!nntp.giganews.com!news-out.google.com!nntp.google.com!postnews.google.com!google-groups.googlegroups.com!not-for-mail
Newsgroups: comp.lang.c
Date: Wed, 9 Feb 2022 09:36:51 -0800 (PST)
In-Reply-To: <35879c8e-7ca6-438a-9e2b-dbc7a60bb3dbn@googlegroups.com>
Injection-Info: google-groups.googlegroups.com; posting-host=5.172.255.23; posting-account=Sb6m8goAAABbWsBL7gouk3bfLsuxwMgN
NNTP-Posting-Host: 5.172.255.23
References: <d416337c-4a84-4493-a0ce-e9e944fde1c8n@googlegroups.com> <35879c8e-7ca6-438a-9e2b-dbc7a60bb3dbn@googlegroups.com>
User-Agent: G2/1.0
MIME-Version: 1.0
Message-ID: <117f6aac-801f-4e61-8629-a692feca1d3bn@googlegroups.com>
Subject: Re: some thought on future of languages
From: profesor...@gmail.com (fir)
Injection-Date: Wed, 09 Feb 2022 17:36:52 +0000
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Lines: 29
 by: fir - Wed, 9 Feb 2022 17:36 UTC

środa, 9 lutego 2022 o 11:28:54 UTC+1 Malcolm McLean napisał(a):
> On Tuesday, 8 February 2022 at 10:44:54 UTC, fir wrote:
> > i realized kinda interesting thought today
> >
> > you know when you read language like c, your way
> > is probably read from bottom to top (i say probably coz
> > im not a master in reading other people codes still - but
> > logically this is a way ) i mean you must know what
> > bottom definitions do then you read what mid levels
> > definition do then you know what top level definitions
> > do
> >
> If you are writing a module, should you put the high level calls at the top
> and the low-level calls lower down? Or should you put the low level calls
> at the top and the high level calls last?
> The advantage of doing it the second way is that if you don't export the
> lower level functions, you don't need prototypes. Also, it reveals mututal
> dependency, which is usually a poor design decision.
> The advantage of the first way is that non-programming documents are
> usually provided as overview first, then details, then minor footnotes.
> That matches the way most readers like to absorb information.

as what you ask i use bottom/low functions upper in file and more top the more down in file but this is not quite realeted to what i was writing about

1
server_pubkey.txt

rocksolid light 0.9.8
clearnet tor