4 ms·
How is this different to any other language that uses more than one source file to define a program?
by rhplus 5y ago
How is this different to any other language that uses more than one source file to define a program?
- formerly_proven 5y agousing 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
- branko_d 5y ago> // 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.