Talk:Special variables: Difference between revisions

From Rosetta Code
Content added Content deleted
(→‎On what to include: Special function names?)
(→‎On what to include: Too much work?)
Line 3: Line 3:


Should special function names be included (e.g. "main" for lots of languages)? --[[User:Mwn3d|Mwn3d]] 19:46, 2 June 2011 (UTC)
Should special function names be included (e.g. "main" for lots of languages)? --[[User:Mwn3d|Mwn3d]] 19:46, 2 June 2011 (UTC)

Every definition of the Python standard library could be taken as a "special variable". I think this task is fine forAWK, but could lead to too much work to be practical for Python. --[[User:Paddy3118|Paddy3118]] 19:51, 2 June 2011 (UTC)

Revision as of 19:51, 2 June 2011

On what to include

I would think that a Perl entry would be very long. Should a Python entry include things like sys.argv? Again, if it should, then there would be a large number of such and it probably wouldn't help when comparing languages as not much could be got from comparing Pythons list with AWKs for example. --Paddy3118 19:44, 2 June 2011 (UTC)

Should special function names be included (e.g. "main" for lots of languages)? --Mwn3d 19:46, 2 June 2011 (UTC)

Every definition of the Python standard library could be taken as a "special variable". I think this task is fine forAWK, but could lead to too much work to be practical for Python. --Paddy3118 19:51, 2 June 2011 (UTC)