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

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

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