Subscribe:

Ads 468x60px

Wednesday, August 8, 2012

List of Comments in all Programming/Scripting language

I always find it difficult to remember the syntax of different programming/scripting languages I learnt/know. And most common syntax is Comments in various programming/scripting language. So, here I am documenting them all.
Comments are used to embed/put programmer/human-readable comments/tips/suggestion/annotations in the source code of a computer program. Those comments are generally significant to programmers but typically ignorable to compilers and interpreters.

  1. Java
    1. One liner:  // comments
    2. Multi liner: /*  first line
                           second line
                           third line
                      */

  2. Ada
    1. One liner:  -- comments
    2. Multi liner: -- first line
                       -- second line

  3. C#
    1. One liner:  // comments
    2. Multi liner: /*  first line
                           second line
                           third line
                      */

  4. C++
    1. One liner: // comments
    2. Multi liner: /* first line
                           second line
                           third line
                       */

  5. CSS/HTML/XML/XHTML
    1. One liner:
    2. Multi liner:
  6. Javascript

    1. One liner:  // comments
    2. Multi liner: /*  first line
                           second line
                           third line
                      */

  7. Visual Basic:
    1. One liner: ' comment
    2. Multi liner: ' first line
                        ' second line

  8. Perl:
    1. One liner: # comment
    2. Multi liner: # first line
                       # second line
                       # third line

  9. PHP:
    1. One liner: # comment
                     // comment
    2. Multiliner: /* first line
                        second line
                      */

  10. Python: 
    1. One liner: # comment
    2. Multi liner: # first line
                       # second line
                       # third line

  11. Ruby: 
    1. One liner: # comment
    2. Multi liner: =begin
                         first line
                         second line
                       =end
      between =begin and =end all what is written is commented 

  12. Shell Scripting:
    1. One liner: #comment
    2. Multi liner: # first line commented
                       # secone line



[Please like/share/comment if you find it useful !]

27 comments:

  1. The most important thing to know when you are selling an account is where you are going
    to sell. A look into some of the best Star Wars apps to be found on i - Tunes, including games,
    fun soundboards, books, and more. The full version
    has no ads and offers goal alerts for the leagues and teams of your choice.


    Also visit my web page ... online radio

    ReplyDelete
  2. Вe intellectual enοugh to see that уοur ad doеѕ not go
    on air on а unѕeemlу show ; a Christian book going on
    aiг on a ѕhoω that is аbοut hanԁlіng ѕeхual issues would bе ridiculous.
    The brоaԁcasting pгocеsѕ is not
    сοmplicаted as all the equipments essentiаl are еasіly available but with nеw
    ideаs cοming up evеrу day, new requirements rise with new cгiteria of trаnѕmission lіκe Dаb Digitаl Radio and DRM.
    Additіοnally, somе new attrіbutes makе
    іt even еasiег to make radiо buttοnѕ do
    exactly what you want them to do.

    Fеel frеe to ѕuгf to
    my websitе; simply click the next document

    ReplyDelete
  3. If there is a change in the search engine algorithms, it
    is also up to the service provider to keep a watch
    on such activities. This means you tend to be copying it through file sharing websites like rapidshare, megaupload, hotfile,
    etcetera. It's a competitive world out there on the world-wide web, but SEO consulting can help you dramatically improve your odds of being found in the din and getting your message across. This gives your name higher credibility and better search engine rank. Since Google organic rank can bring in thousands of potential customers, search engine position service firms have made a business of promising high positions in search engine results pages. There are so many good blogs out there, and if you're one of those writers, you
    definitely know how important it is that your site gets heard
    through all of the noise. While these 5 truths may seem self-evident, it is the astonishing fact that they are contradicted,
    and even outright disputed, in the greater SEO debate.
    This is because there is a stiff competition in this particular field and the
    market is flooded with lots of firms that provide proficient SEO experts India services at the
    economical costs. Make buying easy for the customer and they will return often.
    Also make sure that the articles are of high quality as
    it is the key to get better rankings on search engines
    and more profits. Those who work on introduced SEO power suite, they choose best SEO
    tools among various tools available in the market.
    ), watching movie trailers or other people's funny animal videos. Now even that is quickly defining point of Search Engine Optimization (SEO) can lead to intense discussions about the meaning and purpose of SEO. It's more control than you get In many backlinks
    and every element of these controls allow you to link a bit more
    than he would be out of control. Once you find the right and affordable SEO Company,
    it is essential to talk about your business objectives,
    target customers and future goals with the professionals to
    help them develop their strategies accordingly. The sooner a site
    is presented in the search result, or the higher it “ranks”, the more searchers will visit the site.
    4) Managing your online business. A person can find all sorts of products
    available at various prices on the internet. The internet has become an integral part of our lives that according to
    the latest statistics, almost 1 billion Americans access the internet.
    Never post a half edited article, and never settle for less than your best.


    Feel free to surf to my web blog; quotes.loosegame.com/gro..

    ReplyDelete
  4. This post gives clear idea in favor of the new users of blogging, that
    actually how to do blogging.

    Also visit my blog post; omerta city of gangsters Game Key kaufen

    ReplyDelete
  5. What Ӏ didn't know was how I would get all of what I wanted in just six hours. While the effects of antenna polarization may be interpreted as a reduction in the quality of some radio links, some radio designers often make use of this property to tune an antenna to their needs by restricting transmission or reception to signals on a limited number of vectors. These include the artist-branded music channels such as The Grateful Dead Channel, Eminem's Shade 45, Jimmy Buffett's Radio Margaritaville; there is even the classical music Metropolitan Opera Radio channel.

    Here is my blog post - mouse click the next web site

    ReplyDelete
  6. Nonetheless, done skillfully over a long period of time, two colluding players can gain an advantage over the rest of the table.

    However, playing it online has now increased your chances
    of winning. This is your other tank in Warhammer online, special ability is buffs.


    My blog :: www.spielespielen24.De

    ReplyDelete
  7. Obviously, yοu'll be able to go to sites as You - Tube at which you might locate lots of funny vids. Also, by having a radio internship in your resume, there is a better chance for you to become a DJ when you apply for a job in any radio station in the nation. Even if you have a good two way radio, it isn't bad
    to have some kind of recеive only radio to get information οn.


    my web pаge :: Visit gundata.org

    ReplyDelete
  8. As we all know, looks can be deceiving, so I decided to try out the question
    tool for myself. Spend some time to design a good-looking 404 page, site offline page, etc.
    Users normally tend to visit websites that are at the top of this list as they perceive those to be
    more relevant to the query. Working with an SEO expert in
    your country can help as SEO experts within the same country generally know how to optimize websites for
    a specific country's audience more effectively. It's so important because once customers begin seeking your product or service you will want
    to have favorable words making your search results optimized.

    It would cut the marketing project to fit it into your budget.
    While these 5 truths may seem self-evident, it is the
    astonishing fact that they are contradicted, and even outright disputed, in the greater SEO debate.
    There are many tools online to help you research relevant keywords, such as
    the Google Adwords Keyword Tool. Make buying easy for the customer and they will
    return often. Most of the XML sitemap generators online are simple enough
    for anyone to use. Arrange the H1, H2 and H3 tags serially with
    proper hierarchy. The concepts make use of the current social
    networking sites, which are very popular among the online
    audience. The SEO agencies must take care of
    the fact that the traffic is getting converted to potential customers.
    An SEO strategy should combine a number of elements that work
    together to get results for you. And, as more and more companies
    move larger portions of their advertising budgets to internet marketing,
    there is an even greater demand for their skills.
    It has been designed especially for business purposes
    and it holds biggest importance for your B2B online marketing strategy.
    Have you been looking at your competitor's websites to see what kind of keywords they're using.
    A person can find all sorts of products available at various prices on the internet.
    You need the keyword and phrase in both title and description.
    Never post a half edited article, and never settle for less than your best.


    Here is my website ... http://moodle.hdesd.org/user/view.php?id=7435&course=1

    ReplyDelete
  9. The Federal Emergency Management Agency (FEMA) has made available to communities
    literature which provides guidance and technical information educating communities on how to become disaster resistant in the face of
    natural disasters. So, follow the battery power saving tips above to get the most bang for your buck.

    While the older 17 inch Mac - Book Pros lack the benefits
    of the unibody design, they do have the added feature of user-replaceable batteries.


    my web blog - click the following document

    ReplyDelete
  10. Therefore, the characters must sell animal skins in
    order to get money for buying the weapons. Since the controversial introduction of the format in 2003 its growing popularity now prompts the question of threat to
    the traditional test format. Hometown Retired households are comprised of retirees, two-thirds of
    whom are over 65; nonetheless, don't assume that these people don't do
    much more than hang around the house and watch TV all day.
    It scored a decent 3208 marks in the PCMark04 benchmark.

    An analysis this change will give us insight into the supposed benefits they entail.
    It is hard to believe that we are unable to provide the minimum required comfort to our old ones, destitute women and even orphans.
    Talcahuano. In an effort to counter the lack of support from Microsoft, an
    SVG plug-in for Internet Explorer was developed and supported by Adobe.
    A far cry from the land of milk and honey you may think.
    A Whole Lot of Exciting Options to Choose from Advanced car
    wash equipment use low-flow technology that drastically reduces drying times for carpets and upholstery.


    Here is my web site: iras.geo.tu-freiberg.de

    ReplyDelete
  11. Pop the battery ribbon connector out and remove the
    battery, again held in with a dab of glue. Their producers imagine this can make the user
    a lot more mindful in the should change the
    batteries, lessening the prospect of the discover program failing through ability loss.
    For the first generation, you'll need to release the back cover from the unit by running a shim along the edge of the unit to release all of the clips holding the backing on.

    Look at my weblog :: please click the up coming article

    ReplyDelete
  12. Without the internet, this is not possible to play these novoline games online and even they can't live online that they perform now with public for additional characteristics and completely attractive in a delusion earth to participate in a game. You will eventually run into the Download Location menu with two options: Wii System Menu and SD Card. The reason for this rather strange feature is that, as described above, apps in the Android Market are listed as they are submitted, without any testing.

    my web page: youtube downloader online

    ReplyDelete
  13. These online dress-up video games have about hundreds of online games stored in its database.

    For most young people, playing games on a computer, video game
    console, or handheld device is just a regular part
    of the day. So all you gaming maniacs, log on to
    your internet connected by service provider like Verizon Fi
    - OS Internet and have a blast of a time.

    my blog post: Suggested Site - demarlinotin.webs.com

    ReplyDelete
  14. The nurses spoon-fed him a mix of baby food
    and milk four times every day and the monster swallowed it.
    Rather than listen and hold court on all of
    the catastrophic predictions being blasted out into the Universe, stop for a moment, and simply
    be with yourself. You may want to use a carpenter's square to verify this.

    Have a look at my web-site ... http://mswebmedia.de

    ReplyDelete
  15. When you open it, music starts playing, and you do not
    have to do anything else but adjust the volume and close it when you want it to be done.
    In addition to music, there is a wealth of other audio and informational materials out there to investigate.

    As a gadget, it's out of this world; as a functional laptop, I'm not so sure.


    My homepage :: internetradio

    ReplyDelete
  16. Upon examining some etymological dictionaries, one can conclude that games are a creative
    expression of the human spirit through the creation of an activity
    that has an entertaining, instructive and competing element.
    Finding good outsourcing companies is the key,
    as naturally you do not want to lower the quality of the service.
    It fizzles as the lights go out, and she says it's been great talking to you.

    My web blog - sexydatingonly.com

    ReplyDelete
  17. I am curious to find out what blog platform you have been using?
    I'm experiencing some small security issues with my latest blog and I'd like to find something more secure.

    Do you have any recommendations?

    My web site ... novoline apps f�one

    ReplyDelete
  18. What's up to all, how is all, I think every one is getting more from this site, and your views are pleasant in favor of new viewers.

    My web page book of ra android cheat

    ReplyDelete
  19. Wow that was unusual. I just wrote an really long comment but after I clicked
    submit my comment didn't appear. Grrrr... well I'm not
    writing all that over again. Anyways, just wanted to
    say excellent blog!

    my weblog: book of ra download android kostenlos

    ReplyDelete
  20. First off I would like to say great blog! I had a quick question in which I'd like to ask if you do not mind. I was interested to know how you center yourself and clear your mind before writing. I have had a tough time clearing my thoughts in getting my ideas out. I do enjoy writing but it just seems like the first 10 to 15 minutes are wasted just trying to figure out how to begin. Any recommendations or tips? Cheers!

    My webpage ... essential cthulhu mythos books

    ReplyDelete
  21. Do you have a spam issue on this site; I also am a blogger, and
    I was curious about your situation; many of us have created some
    nice methods and we are looking to exchange strategies with others,
    please shoot me an email if interested.

    Review my web site; book of ra kostenlos spielen.de

    ReplyDelete
  22. this site is very nice because this website Bulk

    SMS Marketing
    advertising SMS messages to customers with mobile phone and We can help

    you market your brand.,,,plz check this website,,

    ReplyDelete
  23. This is really a great piece of information. Great work Om Sao. For learning more about CSS styling in Lucknow you can walk in to programming Languages training in Lucknow
    to get the best hands on training in Lucknow.

    ReplyDelete
  24. Thanks for sharing such great information with us. Your Post is very helpful and information is reliable for new readers. Keep Thanks again for sharing such a useful post.
    SEO Company Amravati

    ReplyDelete
  25. Mixed messages to governors mixed messages to governors April, President Trump has given Yeezy Boost 350 governors varying guidance about when to reopen their states and who will ultimately make that call. April, President Trump has given governors varying guidance about when to reopen their states and who will ultimately make that call. Washington Post Purser Brown Washington Post Brian Kemp sets Georgia on aggressive course to reopen, putting his Ray Ban Outlet state at center of deepening national debate big coronavirus miscalculation by Trump protesters swarm state Coach Outlet capitols, Yeezy Discount much of the coronavirus backlash is coming from within reluctantly sides with Americans and his administration on coronavirus restrictions Washington Post center DeMarco Policy.

    Below your profile picture, you can see your name. Click the pencil icon to edit. Similarly, below your name New Jordan Shoes 2020 you'll see Coach Handbags Clearance About. And Caciagli, M. And Campobasso, C. And Carafa, M. First, supply diversification represents an attempt to increase reliability through the development of multiple decentralised water sources. Second, the notion of a loading order is being promoted by certain Coach Outlet Store groups as a way of prioritising different water source options according to sustainability criteria, including energy footprint. Drawing on the concept of the socio ecological fix, the paper argues that seawater desalination as a technological adaptation to water stress occupies a Ray Ban Glasses paradoxical position, being consistent with diversification, but representing a water energy trade off inconsistent with the loading order.

    ReplyDelete