• 请不要在回答技术问题时复制粘贴 AI 生成的内容
maxhhg
V2EX  ›  程序员

为什么函数不能嵌套定义?

  •  
  •   maxhhg · Apr 10, 2020 · 2219 views
    This topic created in 2431 days ago, the information mentioned may be changed or developed.
    guyeu
    guyeu
    Apr 10, 2020
    1
    实际上是可以的,比如 python 。
    jarenduan
    jarenduan
    Apr 11, 2020
    2
    C#也可以, Local Function.
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1800 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 15:26 · PVG 23:26 · LAX 07:26 · JFK 10:26
    ♥ Do have faith in what you're doing.