Lies in education [was Re: The "loop and a half"]
Grant Edwards
grant.b.edwards at gmail.com
Thu Oct 12 01:39:20 EDT 2017
More information about the Python-list mailing list
Thu Oct 12 01:39:20 EDT 2017
- Previous message (by thread): Lies in education [was Re: The "loop and a half"]
- Next message (by thread): Lies in education [was Re: The "loop and a half"]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 2017-10-11, Gregory Ewing <greg.ewing at canterbury.ac.nz> wrote: > Neil Cerutti wrote: >> I dig >> const qualifiers, even though I'm comletely fine with their >> absence from Python. > > Out of curiosity, do you have any insights into why you > like them in C++, if you don't miss them in Python? I like them in C because it allows the linker to place them in ROM with the code. It also _sometimes_ provides useful diagnostics when you pass a pointer to something which shouldn't be modified to something that is going to try to modify it. -- Grant
- Previous message (by thread): Lies in education [was Re: The "loop and a half"]
- Next message (by thread): Lies in education [was Re: The "loop and a half"]
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list