Avatar
omochimetaru 8/16/2022 4:34 AM
Hi everyone. I'd like to revive a pitch from a while back to turn our shared and owned parameter ownership modifiers into an official language feature. During the recent review of SE-0366, for the move operator, the community raised the importance of considering these modifiers, and their naming, as part of the naming of the move operator it...
4:34 AM
オーナーシップ指定をborrowとtakeにしようってスレッド
4:35 AM
ついでにselfについてはborrowing funcとtaking funcはどうかとのこと
4:36 AM
で、moveはやめてtakeにする
4:40 AM
所有権を奪う操作はすでにUnsafePointer系のAPIとか内部のValueWitnessTableで、takeって言葉が使われてるから
4:40 AM
Swift用語としての一貫性もある