Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Design and Architecture
  4. Images in sourcecode

Images in sourcecode

Scheduled Pinned Locked Moved Design and Architecture
question
7 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • D Offline
    D Offline
    D4rkTrick
    wrote on last edited by
    #1

    Hello, there is the saying "one picture describes more than thousand words". I also find myself in a situation, where an image inside the source code would describe the situation so much faster and easier, than text. Especially for non-technical domain code. Therefore, I think enabling images inside source code would be a really awesome, helpfull extension. But as a matter of fact, this feature does not exitst. Am I maybe missing something here? What's your opinion on that topic? regards

    D L A D 5 Replies Last reply
    0
    • D D4rkTrick

      Hello, there is the saying "one picture describes more than thousand words". I also find myself in a situation, where an image inside the source code would describe the situation so much faster and easier, than text. Especially for non-technical domain code. Therefore, I think enabling images inside source code would be a really awesome, helpfull extension. But as a matter of fact, this feature does not exitst. Am I maybe missing something here? What's your opinion on that topic? regards

      D Offline
      D Offline
      Dave Kreskowiak
      wrote on last edited by
      #2

      My opinion? It's stupid. What would this picture describe in the code? Absolutely nothing. Not to mention how you could be possible even "type" that code nor how it would even be saved. The closest you can get to any kind of usable concept that resembles something like this would be an image in the project resources.

      A guide to posting questions on CodeProject

      Click this: Asking questions is a skill. Seriously, do it.
      Dave Kreskowiak

      1 Reply Last reply
      0
      • D D4rkTrick

        Hello, there is the saying "one picture describes more than thousand words". I also find myself in a situation, where an image inside the source code would describe the situation so much faster and easier, than text. Especially for non-technical domain code. Therefore, I think enabling images inside source code would be a really awesome, helpfull extension. But as a matter of fact, this feature does not exitst. Am I maybe missing something here? What's your opinion on that topic? regards

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        D4rkTrick wrote:

        What's your opinion on that topic?

        There should not be any pictures, animated gifs, advertising-banners or flash in the source-code. It is plain text, editable in any text-editor. I agree that a picture may explain a lot more and better, but source-code is not the documentation. See this[^] thread.

        Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^][](X-Clacks-Overhead: GNU Terry Pratchett)

        1 Reply Last reply
        0
        • D D4rkTrick

          Hello, there is the saying "one picture describes more than thousand words". I also find myself in a situation, where an image inside the source code would describe the situation so much faster and easier, than text. Especially for non-technical domain code. Therefore, I think enabling images inside source code would be a really awesome, helpfull extension. But as a matter of fact, this feature does not exitst. Am I maybe missing something here? What's your opinion on that topic? regards

          A Offline
          A Offline
          Afzaal Ahmad Zeeshan
          wrote on last edited by
          #4

          I think, New Year party left you in a hangover or something like that. But, a programmer leaves billions of errors in just a few hundred lines of codes. What do you expect him to do in thousand words, moreover in the form of image. Of course, there are some source codes where you can embed images, they are called HTML codes.

          Description

          You get to display a chart instead of a tabular or textual description. However, if you meant to create an image and have objects such as <p>, <img> etc in there. I won't necessarily support it. Sorry.

          The shit I complain about It's like there ain't a cloud in the sky and it's raining out - Eminem ~! Firewall !~

          1 Reply Last reply
          0
          • D D4rkTrick

            Hello, there is the saying "one picture describes more than thousand words". I also find myself in a situation, where an image inside the source code would describe the situation so much faster and easier, than text. Especially for non-technical domain code. Therefore, I think enabling images inside source code would be a really awesome, helpfull extension. But as a matter of fact, this feature does not exitst. Am I maybe missing something here? What's your opinion on that topic? regards

            L Offline
            L Offline
            Lost User
            wrote on last edited by
            #5

            You mean like: ლಠ益ಠ)ლ

            1 Reply Last reply
            0
            • D D4rkTrick

              Hello, there is the saying "one picture describes more than thousand words". I also find myself in a situation, where an image inside the source code would describe the situation so much faster and easier, than text. Especially for non-technical domain code. Therefore, I think enabling images inside source code would be a really awesome, helpfull extension. But as a matter of fact, this feature does not exitst. Am I maybe missing something here? What's your opinion on that topic? regards

              D Offline
              D Offline
              D4rkTrick
              wrote on last edited by
              #6

              Instead of writing to every single person, I get the idea of a general opinion regarding that. Therefore I might not put too much more effort in that project. @Gerry That was unexpected...and I was kind of laughing hard ... I'm probably easy minded :D Regards Darktrick

              N 1 Reply Last reply
              0
              • D D4rkTrick

                Instead of writing to every single person, I get the idea of a general opinion regarding that. Therefore I might not put too much more effort in that project. @Gerry That was unexpected...and I was kind of laughing hard ... I'm probably easy minded :D Regards Darktrick

                N Offline
                N Offline
                Nathan Minier
                wrote on last edited by
                #7

                You can still provide this sort of detail, though, by providing good technical documentation and referring to it in code comments. This example uses an HTML documentation so that you can couple the image with some textual context:

                // Reference: http:///docs/tech/MyNamespace/Myclass.html
                namespace MyNamespace {
                public class MyClass {...}
                }

                "There are three kinds of lies: lies, damned lies and statistics." - Benjamin Disraeli

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups