senooken JP Social
  • FAQ
  • Login
senooken JP Socialはsenookenの専用分散SNSです。
  • Public

    • Public
    • Network
    • Groups
    • Popular
    • People

Conversation

Notices

  1. orange (orangeinspace@mstdn.nere9.help@mstdn.nere9.help)'s status on Wednesday, 19-Dec-2018 15:23:06 JST orange orange

    あいまいな表現になるけど><;
    オレンジ的には、その関数が示しているものをなるべく返して欲しいみたいな感覚があるかも><
    例えば変な例示かもしれないけどTryIncrement()って関数があってboolが返ってくるのであれば、(不可能な場合がある状態で)インクリメントしてみて出来たかどうかを返すのかも?><(論理の正負はわからん)って解釈するかも><

    In conversation Wednesday, 19-Dec-2018 15:23:06 JST from mstdn.nere9.help permalink
    • らりお・ザ・何らかの?然㊌ソムリエ repeated this.
    • orange (orangeinspace@mstdn.nere9.help@mstdn.nere9.help)'s status on Wednesday, 19-Dec-2018 15:29:59 JST orange orange
      in reply to

      で、intにint int.TryIncrement()みたいなのがあったらとんでもなく混乱するかも><
      int x=3;
      int y=x.TryIncrement();
      ってしたあとにxはどうなってるのかわけわからんってなるかも><(xが文字通りインクリメントされて破壊されて4になった?>< それともyに4が入るだけでxは3?>< ていうかそもそもTryIncrement()が返すのは結果なのか、それとも何らかの勝手な定義による成否の表現?><(例えば0なら成功とか))

      In conversation Wednesday, 19-Dec-2018 15:29:59 JST permalink
      らりお・ザ・何らかの?然㊌ソムリエ repeated this.

Feeds

  • Activity Streams
  • RSS 2.0
  • Atom
  • Help
  • About
  • FAQ
  • TOS
  • Privacy
  • Source
  • Version
  • Contact

senooken JP Social is a social network, courtesy of senooken. It runs on GNU social, version 2.0.2-beta0, available under the GNU Affero General Public License.

Creative Commons Attribution 3.0 All senooken JP Social content and data are available under the Creative Commons Attribution 3.0 license.