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. Plurality - Modular Code Editor

Plurality - Modular Code Editor

Scheduled Pinned Locked Moved Design and Architecture
htmljavascriptcssdatabasecom
61 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.
  • L Lost User

    The paradigms you are holding up are all heavy on the drag-and-drop and other mousing / touching ... perhaps "too heavy" except for beginners. Just as some prefer XAML / HTML over the designers.

    G Offline
    G Offline
    Gurigraphics
    wrote on last edited by
    #17

    Quote:

    The paradigms you are holding up are all heavy on the drag-and-drop and other mousing / touching ... perhaps "too heavy" except for beginners. Just as some prefer XAML / HTML over the designers.

    The paradigm I am discussing is exactly this: can be advanced to create the code from scratch, but it is not smart to do this more than once. A beginner who uses a very well-implemented script, he is a professional much more advanced than another that creates a "jerry-rig" from scratch, or loses all afternoon to try reinvent the wheel. That is, are the "results", is the "solution of problems" that define what is advanced or beginner, efficient or only waste of time. Anyway, when they invented the writing they said the same: This will leave people without memory. Truth. But, that's the way humanity goes.

    1 Reply Last reply
    0
    • L Lost User

      The paradigms you are holding up are all heavy on the drag-and-drop and other mousing / touching ... perhaps "too heavy" except for beginners. Just as some prefer XAML / HTML over the designers.

      G Offline
      G Offline
      Gurigraphics
      wrote on last edited by
      #18

      The paradigm: Can be advanced to create the code from scratch, but it is not smart to do this more than once. A beginner who uses a very well-implemented script, he is a professional much more advanced than another that creates a jerry rig from scratch, or loses all afternoon to try reinvent the wheel. That is, are the "results", is the "solution of problems" that define what is advanced or beginner, efficient or only waste of time. Anyway, when they invented the writing they said the same: This will leave people without memory. Truth. But, that's the way humanity goes.

      1 Reply Last reply
      0
      • G Gurigraphics

        Hello. I'm not sure if this is the appropriate topic, but the insights of this subject are valid. What do you think about an code editor like this: Image 01 Image 02 Image 03 Premise: "typing the same code twice is work for robots. Each time you do that, humanity ceases to evolve - and you mainly". The idea here is to abolish the organization of files and folders. Files e folders, It is like machine language, does not interest to current programmers. The project organization can be done only inside the Code Editor. If the files are all exported within a single folder, or hundreds of folders, or the entire file is a single file, this does not matter to the programmer. After exporting the file, what matters is mainly performance. And the performance can not be compromised by our desorganization, habits and addictions when write code. And to maintain the code, what matters is mainly an organized project and expandable. Then, more useful is to have a "virtualized image" of the file, composed of the modules that make up this file and the entire program. A example in HTML5: Virtualized file inside Code Editor: (index.html) (init) (head) (body) (end) Spaghetti that does not matter: folder/index.html

        <!-- Init -->

        <!DOCTYPE html>
        <html lang="en">

        <!-- head -->
        <head>
        <meta charset="utf-8">
        <title>title</title>
        <link rel="stylesheet" href="style.css">
        <script src="script.js"></script>
        </head>

        <!-- body -->
        <body>
        <!-- page content -->
        </body>

        <!-- end -->
        </html>

        So you can create a "code block" for index.html, only once. And, if this is already part of the Code Editor library, you just search: index, and drag the block to the project. You do not need of a dumbsense or keyboard shortcuts that you do not remember or even know exist, nor do you need to be consulted documentation at all times to do

        J Offline
        J Offline
        jschell
        wrote on last edited by
        #19

        Gurigraphics wrote:

        If the files are all exported within a single folder, or hundreds of folders, or the entire file is a single file, this does not matter to the programmer.

        Matters to me. Folders provide a way to categorize and thus group code that relates to each other while separating it from other code that doesn't.

        Gurigraphics wrote:

        After exporting the file, what matters is mainly performance. And the performance can not be compromised by our desorganization, habits and addictions when write code.

        If someone has a measurable performance problem because of their code organization when developing then my expectation would be that it is a design/architecture problem. It has nothing to do with the underlying persistence mechanism of the code.

        Gurigraphics wrote:

        The idea here is to abolish the organization of files and folders

        Rather certain this has been tried multiple times before. Idioms that are successful rapidly take over in the world and continue to be used long after that. Those that do not work do not. You might want to research past experiments which had larger market attempts to sell them to see why they failed to take off.

        G 1 Reply Last reply
        0
        • J jschell

          Gurigraphics wrote:

          If the files are all exported within a single folder, or hundreds of folders, or the entire file is a single file, this does not matter to the programmer.

          Matters to me. Folders provide a way to categorize and thus group code that relates to each other while separating it from other code that doesn't.

          Gurigraphics wrote:

          After exporting the file, what matters is mainly performance. And the performance can not be compromised by our desorganization, habits and addictions when write code.

          If someone has a measurable performance problem because of their code organization when developing then my expectation would be that it is a design/architecture problem. It has nothing to do with the underlying persistence mechanism of the code.

          Gurigraphics wrote:

          The idea here is to abolish the organization of files and folders

          Rather certain this has been tried multiple times before. Idioms that are successful rapidly take over in the world and continue to be used long after that. Those that do not work do not. You might want to research past experiments which had larger market attempts to sell them to see why they failed to take off.

          G Offline
          G Offline
          Gurigraphics
          wrote on last edited by
          #20

          Quote:

          Matters to me. Folders provide a way to categorize and thus group code that relates to each other while separating it from other code that doesn't.

          Currently is that so. But, I think (by practical experience with Stencyl) that if the project is organized inside the editor, that's all that matters for the programmer. In this other paradigm, continue to use files and folders is how you prefer to have hundreds of files for the objects, lighting, shaders, colors, layers, etc, of a graphic project, rather than a single PSD file. It is not a matter of agreeing or not. It is a matter of wanting it or not. I explained the idea better in this text: https://forums.tigsource.com/index.php?topic=59097.0

          P 1 Reply Last reply
          0
          • G Gurigraphics

            Quote:

            Matters to me. Folders provide a way to categorize and thus group code that relates to each other while separating it from other code that doesn't.

            Currently is that so. But, I think (by practical experience with Stencyl) that if the project is organized inside the editor, that's all that matters for the programmer. In this other paradigm, continue to use files and folders is how you prefer to have hundreds of files for the objects, lighting, shaders, colors, layers, etc, of a graphic project, rather than a single PSD file. It is not a matter of agreeing or not. It is a matter of wanting it or not. I explained the idea better in this text: https://forums.tigsource.com/index.php?topic=59097.0

            P Offline
            P Offline
            Pete OHanlon
            wrote on last edited by
            #21

            Gurigraphics wrote:

            Currently is that so. But, I think (by practical experience with Stencyl) that if the project is organized inside the editor, that's all that matters for the programmer.

            That's not true. What matters also includes things like how you keep your code in source control, how easy it is to code review and so on. If you have one big file then reviewing changes is a lot harder than smaller, isolated files that have a single class (or equivalent) inside them. It's certainly easier to use GIT if you have multiple files, rather than one all-encompassing one.

            This space for rent

            G 1 Reply Last reply
            0
            • P Pete OHanlon

              Gurigraphics wrote:

              Currently is that so. But, I think (by practical experience with Stencyl) that if the project is organized inside the editor, that's all that matters for the programmer.

              That's not true. What matters also includes things like how you keep your code in source control, how easy it is to code review and so on. If you have one big file then reviewing changes is a lot harder than smaller, isolated files that have a single class (or equivalent) inside them. It's certainly easier to use GIT if you have multiple files, rather than one all-encompassing one.

              This space for rent

              G Offline
              G Offline
              Gurigraphics
              wrote on last edited by
              #22

              I'm not sure you've read everything I've written about. Because what you say seems so obvious. Imagine GIT inside a Multiplayer-Realtime-Editor, and you have an idea of what I say about external file does not import.

              L 1 Reply Last reply
              0
              • G Gurigraphics

                I'm not sure you've read everything I've written about. Because what you say seems so obvious. Imagine GIT inside a Multiplayer-Realtime-Editor, and you have an idea of what I say about external file does not import.

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

                "Folders and files" are a convenient "mental model"; you're confusing them with reality. The VS solution explorer is a "virtual file system" (which includes "file access" to: TFS; SVN; Git; NuGet) and which scales a lot better than "one big ball of stuff". It parallels "outlining" as found in Word and Excel; something that "users" are also comfortable and familiar with. I sometimes have flashes of deep insight into some "new" thing; but they go away after the effects wear off.

                G 1 Reply Last reply
                0
                • G Gurigraphics

                  Hello. I'm not sure if this is the appropriate topic, but the insights of this subject are valid. What do you think about an code editor like this: Image 01 Image 02 Image 03 Premise: "typing the same code twice is work for robots. Each time you do that, humanity ceases to evolve - and you mainly". The idea here is to abolish the organization of files and folders. Files e folders, It is like machine language, does not interest to current programmers. The project organization can be done only inside the Code Editor. If the files are all exported within a single folder, or hundreds of folders, or the entire file is a single file, this does not matter to the programmer. After exporting the file, what matters is mainly performance. And the performance can not be compromised by our desorganization, habits and addictions when write code. And to maintain the code, what matters is mainly an organized project and expandable. Then, more useful is to have a "virtualized image" of the file, composed of the modules that make up this file and the entire program. A example in HTML5: Virtualized file inside Code Editor: (index.html) (init) (head) (body) (end) Spaghetti that does not matter: folder/index.html

                  <!-- Init -->

                  <!DOCTYPE html>
                  <html lang="en">

                  <!-- head -->
                  <head>
                  <meta charset="utf-8">
                  <title>title</title>
                  <link rel="stylesheet" href="style.css">
                  <script src="script.js"></script>
                  </head>

                  <!-- body -->
                  <body>
                  <!-- page content -->
                  </body>

                  <!-- end -->
                  </html>

                  So you can create a "code block" for index.html, only once. And, if this is already part of the Code Editor library, you just search: index, and drag the block to the project. You do not need of a dumbsense or keyboard shortcuts that you do not remember or even know exist, nor do you need to be consulted documentation at all times to do

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

                  Gurigraphics wrote:

                  What do you think about an code editor like this

                  Looks good on a C64.

                  Gurigraphics wrote:

                  Premise: "typing the same code twice is work for robots. Each time you do that, humanity ceases to evolve - and you mainly".

                  That's why any good editor provides some kind of macro-functionality*.

                  Gurigraphics wrote:

                  The idea here is to abolish the organization of files and folders. Files e folders, It is like machine language, does not interest to current programmers.

                  You're better of ASKING a programmer what interest them.

                  Gurigraphics wrote:

                  You do not need of a dumbsense or keyboard shortcuts that you do not remember or even know exist, nor do you need to be consulted documentation at all times to do simple things.

                  I don't need those in VS. But for complex tasks, the keyboard shortcuts that I know make me a lot more productive than anyone in notepad.

                  Gurigraphics wrote:

                  And the goal is to find a middle ground between written and visual programming.

                  If you were trying to improve the current state of affairs, I'd be enthousiastic, but you've already picked a solution without checking whether it will fit the problem. Is written information suddenly non-visible information that you feel the need to specify "visual programming" as a separate entity? *) Don't even get me started on Darwin and how you "devolve".

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

                  G 1 Reply Last reply
                  0
                  • L Lost User

                    "Folders and files" are a convenient "mental model"; you're confusing them with reality. The VS solution explorer is a "virtual file system" (which includes "file access" to: TFS; SVN; Git; NuGet) and which scales a lot better than "one big ball of stuff". It parallels "outlining" as found in Word and Excel; something that "users" are also comfortable and familiar with. I sometimes have flashes of deep insight into some "new" thing; but they go away after the effects wear off.

                    G Offline
                    G Offline
                    Gurigraphics
                    wrote on last edited by
                    #25

                    Making comparisons with VS does not change anything. Whoever prefers this approach simply uses it If this possibility exists. It is not a question of better or worse. It's a matter of wanting. https://forums.tigsource.com/index.php?topic=59097.0

                    L 1 Reply Last reply
                    0
                    • L Lost User

                      Gurigraphics wrote:

                      What do you think about an code editor like this

                      Looks good on a C64.

                      Gurigraphics wrote:

                      Premise: "typing the same code twice is work for robots. Each time you do that, humanity ceases to evolve - and you mainly".

                      That's why any good editor provides some kind of macro-functionality*.

                      Gurigraphics wrote:

                      The idea here is to abolish the organization of files and folders. Files e folders, It is like machine language, does not interest to current programmers.

                      You're better of ASKING a programmer what interest them.

                      Gurigraphics wrote:

                      You do not need of a dumbsense or keyboard shortcuts that you do not remember or even know exist, nor do you need to be consulted documentation at all times to do simple things.

                      I don't need those in VS. But for complex tasks, the keyboard shortcuts that I know make me a lot more productive than anyone in notepad.

                      Gurigraphics wrote:

                      And the goal is to find a middle ground between written and visual programming.

                      If you were trying to improve the current state of affairs, I'd be enthousiastic, but you've already picked a solution without checking whether it will fit the problem. Is written information suddenly non-visible information that you feel the need to specify "visual programming" as a separate entity? *) Don't even get me started on Darwin and how you "devolve".

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

                      G Offline
                      G Offline
                      Gurigraphics
                      wrote on last edited by
                      #26

                      Making comparisons with VS does not change anything. Whoever prefers this approach simply uses it If this possibility exists. It is not a question of better or worse. It's a matter of wanting. https://forums.tigsource.com/index.php?topic=59097.0

                      L 1 Reply Last reply
                      0
                      • G Gurigraphics

                        Making comparisons with VS does not change anything. Whoever prefers this approach simply uses it If this possibility exists. It is not a question of better or worse. It's a matter of wanting. https://forums.tigsource.com/index.php?topic=59097.0

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

                        Gurigraphics wrote:

                        It is not a question of better or worse. It's a matter of wanting.

                        If there is two hammers that can do the job, I'll pick the better one.

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

                        G 6 Replies Last reply
                        0
                        • L Lost User

                          Gurigraphics wrote:

                          It is not a question of better or worse. It's a matter of wanting.

                          If there is two hammers that can do the job, I'll pick the better one.

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

                          G Offline
                          G Offline
                          Gurigraphics
                          wrote on last edited by
                          #28

                          Truth. For each type of work and need there is a more suitable tool.

                          L 1 Reply Last reply
                          0
                          • L Lost User

                            Gurigraphics wrote:

                            It is not a question of better or worse. It's a matter of wanting.

                            If there is two hammers that can do the job, I'll pick the better one.

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

                            G Offline
                            G Offline
                            Gurigraphics
                            wrote on last edited by
                            #29

                            Truth. For each type of work and need there is a more suitable tool .

                            1 Reply Last reply
                            0
                            • L Lost User

                              Gurigraphics wrote:

                              It is not a question of better or worse. It's a matter of wanting.

                              If there is two hammers that can do the job, I'll pick the better one.

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

                              G Offline
                              G Offline
                              Gurigraphics
                              wrote on last edited by
                              #30

                              Truth. For each type of work and need there is a more suitable tool . This forum is bug ¬¬

                              L 1 Reply Last reply
                              0
                              • G Gurigraphics

                                Truth. For each type of work and need there is a more suitable tool . This forum is bug ¬¬

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

                                Gurigraphics wrote:

                                This forum is bug

                                Then report it in the proper place. However, it is more likely that your message got picked up by the Spam filter, and had to be released by someone with the right authority.

                                G 1 Reply Last reply
                                0
                                • G Gurigraphics

                                  Truth. For each type of work and need there is a more suitable tool.

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

                                  Sounds like you are looking for a problem to your solution :)

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

                                  G 1 Reply Last reply
                                  0
                                  • L Lost User

                                    Gurigraphics wrote:

                                    This forum is bug

                                    Then report it in the proper place. However, it is more likely that your message got picked up by the Spam filter, and had to be released by someone with the right authority.

                                    G Offline
                                    G Offline
                                    Gurigraphics
                                    wrote on last edited by
                                    #33

                                    Okay. I post in one place and it appears in another. Thanks.

                                    1 Reply Last reply
                                    0
                                    • L Lost User

                                      Sounds like you are looking for a problem to your solution :)

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

                                      G Offline
                                      G Offline
                                      Gurigraphics
                                      wrote on last edited by
                                      #34

                                      Sounds like you are looking for a problem to your solution. Yeah. The same problem solved by Stencyl, Scratch, Google Blockly, Game Maker, Unreal Engine and others visual editors.

                                      1 Reply Last reply
                                      0
                                      • L Lost User

                                        Gurigraphics wrote:

                                        It is not a question of better or worse. It's a matter of wanting.

                                        If there is two hammers that can do the job, I'll pick the better one.

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

                                        G Offline
                                        G Offline
                                        Gurigraphics
                                        wrote on last edited by
                                        #35

                                        Me too. That is why I often prefer Sublime than VS.

                                        1 Reply Last reply
                                        0
                                        • L Lost User

                                          Gurigraphics wrote:

                                          It is not a question of better or worse. It's a matter of wanting.

                                          If there is two hammers that can do the job, I'll pick the better one.

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

                                          G Offline
                                          G Offline
                                          Gurigraphics
                                          wrote on last edited by
                                          #36

                                          Me too. That is why I often prefer Sublime than VS.

                                          L 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