Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7543627
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T08:28:35+00:00 2026-05-30T08:28:35+00:00

I watched with great interest the Mojang Mojam for Humble Bundle (link might not

  • 0

I watched with great interest the Mojang “Mojam” for Humble Bundle (link might not be valid for a long time), and throughout the video, I saw some great things on how these guys use their code.

One of these things was that one of the developer use ascii art comments in his code to better navigate around.

This gives something like this:

/////////////////////////////////////////////
//      ___  ___       ___   _   __   _    //
//     /   |/   |     /   | | | |  \ | |   //
//    / /|   /| |    / /| | | | |   \| |   //
//   / / |__/ | |   / / | | | | | |\   |   //
//  / /       | |  / /  | | | | | | \  |   //
// /_/        |_| /_/   |_| |_| |_|  \_|   //
//                                         //
/////////////////////////////////////////////
int main()
{
    // do some stuff
    return 0;
}

This may look bad right there, but associated with editors like Sublime, it becomes powerful, because the “zoomed out” view that Sublime exposes lets you read that text and navigate in your code like a breeze.

Now, there are plenty of cool ascii art text generators out there.
But none of these (at least those I looked at) generate C++/C compliant text.

Meaning: I have to manually add the comment slashes (//) all around to make it go along in the code.

Do you guys use this trick?
If yes, do you have a tool to generate these “comments” around the text?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T08:28:36+00:00Added an answer on May 30, 2026 at 8:28 am

    Yes I use to add those kinds of "nav" cues. Specially in communication parts which has many similar parts but handle i.e. different message types.

    I work on a Mac so here goes my setup.

    Previously I used a dashboard widget
    http://memention.com/figlet/

    But my latest thing is to create a Service with Automator and install figlet with homebrew. Then in the Service I have this one-liner (also clicked "Output replaces selected text")

    /usr/local/bin/figlet -f smslant -w 132
    

    Now in any App I can have figlets just by right-clicking some text.

    My preferred font is smslant

    Then I usually just add /* and */ after.

    Edit

    Well, I just updated my Service to add that C comment

    ( echo "/*" ; /usr/local/bin/figlet -f smslant -w 132 ; echo " */" )
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I've watched this video from Google I/O 2009: http://www.youtube.com/watch?v=AgaL6NGpkB8 where Brett shows microblogging example.
I've read this question mentioning Code Bubbles and I've watched their video presentation. The
This is my first step to programming.guys your help hands required.I watched youtube video
I watched Nicholas Zakas' talk, Speed up your Javascript , with some interest. I
I just watched a video of Douglas Crockford's presentation about his 2009 book JavaScript:
I watched video tutorial about pagination in PHP. Author used 4th version of PHP
I watched streaming videos and searched the internet but seems not clear what are
I watched a Google I/O video on GWT performance that recommended using Cell Widgets
Good morning! Yesterday I watched Tekpub's amazing video Dependency Injection and Inversion of Control
I've just watched this video showing off an app: https://www.youtube.com/watch?v=2qM3Zps_0pE&feature=player_embedded At 3:34. How in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.