News for hackers. Stuff that matters.
Re:Anti-Patterns in Python Programming by tmerr on Wednesday July 09, 2014 @08:39PM (#8012993)
I thought that was what he meant. Is there any sharp distinction between "interpreting" and "evaluating" in python that I am unaware of? I've always used the words more or less interchangeably. But now that I think about it that might be a little naive since I have no idea how it works under the hood
Re:Anti-Patterns in Python Programming by msellout on Thursday July 10, 2014 @02:37AM (#8013912)
You could say that interpreting is first parsing and second executing/evaluating. The parser tokenizes and does a small amount of optimization such as ignoring unassigned values.
Re:Anti-Patterns in Python Programming by gcr on Wednesday July 09, 2014 @11:58PM (#8013527)
The parent wrote "compiled", which is certainly more incorrect than either "interpreted" or "evaluated."