Sujet : Re: on allowing "int a" definition everywhere
De : fir (at) *nospam* grunge.pl (fir)
Groupes : comp.lang.cDate : 20. Aug 2024, 18:18:48
Autres entêtes
Organisation : i2pn2 (i2pn.org)
Message-ID : <9dc1fc6d81ea97873c602ff25d90fbde97731776@i2pn2.org>
References : 1 2
User-Agent : Mozilla/5.0 (Windows NT 5.1; rv:27.0) Gecko/20100101 Firefox/27.0 SeaMonkey/2.24
Thiago Adams wrote:
initializer inside if is already in C++, and it will probably be on C2Y.
>
can you show an example how it look like?
what with definition in espression liek
foo((int a=2*int b=10) etc
It loks weird but I also COME TO CONCLUSION TODAY
THAT in new language we must drop the "pure text" text set
we need bold and possibly loloristation so instead
int x = 2
you could just bold x and write =2
bold x = 2
and simply bold mean symbol definition
this opens a new wariety of nice code looking,
by colorisation some coud differentiate if it is int or float
etc