V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
• 请不要在回答技术问题时复制粘贴 AI 生成的内容
lengxubo
V2EX  ›  程序员

#前辈的代码 也想起一个有趣的事情

  •  
  •   lengxubo · Jun 16, 2023 · 1956 views
    This topic created in 1049 days ago, the information mentioned may be changed or developed.

    在我大二,刚接触编程的那会儿,看到的代码还是 jsp 。

    一个研究生师兄写的代码,判断当某个值是✓时,验证通过,值为✗时,验证不通过。

    当时也是一把梭,根本不知道有什么布尔类型,就硬写。

    所以当时有个通点是,写代码需要去复制之前的,因为输入法打不出这字符。

    现在回想起来,竟然是很多年前的事情,时间过真快呀

    6 replies    2023-06-17 12:48:19 +08:00
    beijinglowb
        1
    beijinglowb  
       Jun 16, 2023

    ×
    谨防微软输入法 对勾打出来这个是 开根号
    Martens
        2
    Martens  
       Jun 17, 2023 via iPhone
    哈哈哈哈
    flyqie
        3
    flyqie  
       Jun 17, 2023
    yes 或者 no 还算正常,用符号可太神奇了。。

    还是键盘上没有的符号。。。
    yagamil
        4
    yagamil  
       Jun 17, 2023
    map 一下也好呀。。做一次映射
    luckyc
        5
    luckyc  
       Jun 17, 2023
    哪怕你用 0 和 1 我都觉得 OK
    fantathat
        6
    fantathat  
       Jun 17, 2023
    能运行吗?能运行就可以 run 了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   2481 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 53ms · UTC 07:20 · PVG 15:20 · LAX 00:20 · JFK 03:20
    ♥ Do have faith in what you're doing.