Hacker News new | past | comments | ask | show | jobs | submit login

[flagged]



it's hardly java's fault he's looking at a stack frame and not seeing the variables that belong to a different stack. This is simply a matter of selecting a frame prior to the forEach.


Eclipse's debugger can be configured to show a refined output. The controls are in the upper right in the Debug Perspective. Programmers who make applications are not programmers who write IDE's. If I'd noticed this I don't know if I'd recognized it or dug into it more to understand it but a snarky comment like the one I replied to is not appropriate or helpful.


I disagree. The lambda expression allows him to use variables outside of the stack frame, why shouldn't the debugger also be able to show those same variables?


The single example does not show a lambda that requires variable capture.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: