David-Rushton / morello.markdown

A .NET library that pretty prints markdown in the console
MIT License
2 stars 0 forks source link

Namespace hides `System.Console`. #7

Closed David-Rushton closed 2 years ago

David-Rushton commented 2 years ago

There are three issues with the current namespaces:

1. We hide System.Console

using System;

namespace Markdown.Console;

// Markdown.Console hides System.Console leading to...
System.Console.WriteLine("some text");

2. Current namespaces are not idiomatic

See #6 .

3. Using statements for calling apps are a little cluttered/repetitive

using Markdown.Console;

// Common
MarkdownConsole.Write("some markdown");

// Full qualified 
Markdown.Console.MarkdownConsole.Write("some markdown");
David-Rushton commented 2 years ago

Addressed in #8