3 ms·
Curious about this. How do you do that? Shouldn’t you still have to read the statement forward to then be able to read it backward? I can see in lispy languages
by dgellow 8y ago
Curious about this. How do you do that? Shouldn’t you still have to read the statement forward to then be able to read it backward? I can see in lispy languages how you could do that, because of the structure of S-Expressions, not sure how you would do that with more conventional syntaxes (let’s say C-like).
I think that personally I do a lot of back-and-forth in-between forward and backward reading to construct the program logic in my working memory.
Edit: maybe, could you describe what you mean by reading backward? I read it originally as “reading from the first expression to be evaluated to the last one”, but I see now that you are talking about statements. If that’s the case I see a lot of issues related to the context/scope of a statement. Do you read, let’s say, from the last statement before closing a function, then up?
- dghughes 8y agoAs I say I am a terrible programmer the best example I could think of was this for Python 3. float_num = float(input("Enter float num: ")) The way I read it is: I need to enter a number, the number is input, it's a float, that number will be assigned to the variable float_num. It's not the best example but for me at certain times it's far clearer. Most times it seems like I am reading the equivalent of a person writing backwards then it dawned on me to read it backwards.
- dgellow 8y agoYep, that makes sense said like that :)