タグ

2018年6月16日のブックマーク (2件)

  • Xi: an editor for the next 20 years - Recurse Center

    Abstract: Xi is a project to build a modern text editor with uncompromising performance. Its thoroughly async, loosely coupled design promises performance and rich extensibility, but creates interesting engineering challenges, requiring advanced algorithms and data structures. In addition to pushing the state of computer science for text handling, the project also seeks to build an open-source com

    Xi: an editor for the next 20 years - Recurse Center
    quodius
    quodius 2018/06/16
  • Build 2018: 将来のC#

    C#の将来機能のリストの中で第一位は、Null許容参照型である。去年の記事で説明したが、簡単に要約すると: 全ての参照変数、パラメーター、フィールドはデフォルトでNull非許容になる。つまり値型のように、Nullを許容したければ、型名にクエスチョンマーク(?)を付けることによって、明示的に指定する必要がある。 これはオプション機能であり、既存のプロジェクトをC# 8にアップグレードしたときには、Null許容参照型は無効になる予定である。新しいプロジェクトでは、Microsoftはデフォルトでこの機能を有効にする考えである。 警告は、潜在的なエラーと、単なる表面上の警告に分類される。例えば、p.MiddleNameがstring?だった場合、以下の行は表面上の警告である。: string middleName = p.MiddleName; 値が逆参照されるまでは危険ではないため、このローカ

    Build 2018: 将来のC#
    quodius
    quodius 2018/06/16