Re:.NET Myths Dispelled
by rhplus on Sunday March 13, 2022 @03:55AM
(#30658988)
How is this different to any other language that uses more than one source file to define a program?
[ Parent
| on HN ]
Re:.NET Myths Dispelled
by formerly_proven on Sunday March 13, 2022 @07:04AM
(#30660161)
using Foo;
using Bar;
using Baz;
// somewhere else
var foo = new Bublicon(...); // where tf does this come from?
vs. use std::option::Option::{Some, None};
// ...
Some(1234) // clearly std::option::Option::Some which I can then go find easily> // where tf does this come from?
Just hover over it, and you'll find out. Or Ctrl+click to navigate to its implementation, possibly decompiling from IL if the source is not available.
> use std::option::Option::
C# can accomplish similar effect through using alias directive.