Displaying value information in an IDE is tricky.
For union types, it's more helpful to see the inferred type (Option<Player> versus null). For product types it's often nicer to see an example value.
For primitive types I almost always want a value (0 versus int).
miniblog.
Related Posts
Displaying value information in an IDE is tricky.
For union types, it's more helpful to see the inferred type (Option<Player> versus null). For product types it's often nicer to see an example value.
For primitive types I almost always want a value (0 versus int).
I'm really impressed by the styling options in https://carbon.now.sh for producing images of code.
I'm often dissatisfied with my options for displaying code samples in slides, this might be a better option. Line numbers and (light background) syntax highlighting matter.
Phabricator does a great job displaying diffs. It has subword highlighting and puts the previous section (based on indentation) in the header, shown as `namespace llvm {`.
The moved line highlighting is a really nice touch too.
(screenshots of https://reviews.llvm.org/D71126)


