Hello,
    
    I also use many different languages, and not a fan of the
    Python/Ruby comment syntax "#" :P
    
    First, the justification:
    
    1. Many keyboards does not have an one key access to "#",
    as the "/" key, mine for instance, I usually need to look at alt-3
    or shift-3 combination.
    
    2. Most languages adopts a C++ like approach to use the one key "/"
    found in many US based keyboards.
    
    3. People from Go, C++, Delphi, Rust, Xojo, Java, Javascript, etc
    are used to // double slash comments
    
    
    So I propose the following alias, as an alternative syntax
    to please such people like myself:
    
    
    // -> #
    
    /// -> ##
    
    //-  -> #[
    
    -// -> ]#
    
    
    
    // This is a comment
    
    
    /// This is a doc comment (As Rust does)
    
    
    
    //- Multiline Explanation
    
    The minus sign is one key press too
    
    Squared brackets are terrible to find in some keyboards
    like the Swiss-German Apple keyboard,
    
    They are hidden as the double press combination, alt-5 and alt-6.   -//
    
    
    //------------------- Note in the proposed syntax -----------------------
    
    This ALTERNATIVE syntax does not supersedes the current Pythonesque one,
    It just satisfies both worlds
    
    ------------------------------------------------------------------------//
    

Reply via email to