看板 PLT 關於我們 聯絡資訊
※ 引述《allstarschh (allstars)》之銘言: : 想請問為什麼C不能nested routine? : CFL不是可以parse 這種 grammar 嗎? : nested routine的優點又是什麼呢 : 看了wiki : http://en.wikipedia.org/wiki/Nested_functions : 並沒有很詳細的提到nested routine的優點與缺點 : 還有nested routine 的scoping : 是算dynamic scoping 嗎 來自問自答一下 目前是有找到類似的討論 http://discuss.techinterview.org/default.asp?interview.11.431470.11 sorry 我不會縮網址 不過這裡面講的那段 ECX , dynamic code generation 我還不是很清楚...so. to be updated 另外C++ 有nested classes 所以有人用nested classes 的方法來作nest function http://www.gotw.ca/gotw/058.htm -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 211.22.63.250