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

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

  •  
  •   maxhhg · Apr 10, 2020 · 1839 views
    This topic created in 2249 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   ·   5393 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 45ms · UTC 09:00 · PVG 17:00 · LAX 02:00 · JFK 05:00
    ♥ Do have faith in what you're doing.