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. The Lounge
  3. What's your quickest/lightest way to try a code?

What's your quickest/lightest way to try a code?

Scheduled Pinned Locked Moved The Lounge
csharpvisual-studiojavascriptpythonalgorithms
39 Posts 31 Posters 6 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.
  • N Nand32

    Yes, we got plenty of Online playgrounds. But I mean the offline ones. I've always envied Javascript devs. All they need is just a notepad and a browser and they are good to try out a logic or an algorithm. Poor guys like me used to install Visual Studio Elephant (Here Elephant points to the size don't worry) Just to try a simple code, just because I was glued to .net. Now in recent times, I use VS Code & verify the code snippets that the team does with Python. This feels quick & snappy. :-O :thumbsup:

    C Offline
    C Offline
    CPallini
    wrote on last edited by
    #10

    For C or C++ code, I use vim and gcc on Linux console. For quick prototyping, Lua (again, with vim, on Linux console).

    L 1 Reply Last reply
    0
    • C CPallini

      For C or C++ code, I use vim and gcc on Linux console. For quick prototyping, Lua (again, with vim, on Linux console).

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

      What is wrong with emacs? ;P

      C 1 Reply Last reply
      0
      • L Lost User

        What is wrong with emacs? ;P

        C Offline
        C Offline
        CPallini
        wrote on last edited by
        #12

        The learning curve? I am not used to emacs.

        L 1 Reply Last reply
        0
        • C CPallini

          The learning curve? I am not used to emacs.

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

          Yes it is a bit of a challenge, but so much better than vim once you get used to it.

          K 1 Reply Last reply
          0
          • M musefan

            A folder full of console applications for me. That's my usual .Net testing approach.

            N Offline
            N Offline
            Nand32
            wrote on last edited by
            #14

            Haha, that folder name is called "POC" for me. Been doing that from day 1 of my career.

            M 1 Reply Last reply
            0
            • N Nand32

              Yes, we got plenty of Online playgrounds. But I mean the offline ones. I've always envied Javascript devs. All they need is just a notepad and a browser and they are good to try out a logic or an algorithm. Poor guys like me used to install Visual Studio Elephant (Here Elephant points to the size don't worry) Just to try a simple code, just because I was glued to .net. Now in recent times, I use VS Code & verify the code snippets that the team does with Python. This feels quick & snappy. :-O :thumbsup:

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

              I also like LINQPad[^] for doing some quick POCs.

              Advanced TypeScript Programming Projects

              1 Reply Last reply
              0
              • N Nand32

                Yes, we got plenty of Online playgrounds. But I mean the offline ones. I've always envied Javascript devs. All they need is just a notepad and a browser and they are good to try out a logic or an algorithm. Poor guys like me used to install Visual Studio Elephant (Here Elephant points to the size don't worry) Just to try a simple code, just because I was glued to .net. Now in recent times, I use VS Code & verify the code snippets that the team does with Python. This feels quick & snappy. :-O :thumbsup:

                F Offline
                F Offline
                F ES Sitecore
                wrote on last edited by
                #16

                But surely you'll have VS installed anyway? I don't see the issue? :confused: Like others have said though, in terms of "quick" I'll use console apps, especially if trying to develop an algorithm or something. If even that is too much for me, some days I'll just copy and paste my task onto a web forum and ask someone else to give the codes.

                1 Reply Last reply
                0
                • L Lost User

                  Yes it is a bit of a challenge, but so much better than vim once you get used to it.

                  K Offline
                  K Offline
                  kalberts
                  wrote on last edited by
                  #17

                  emacs is a good OS, but it could really use a decent editor...

                  L U 2 Replies Last reply
                  0
                  • K kalberts

                    emacs is a good OS, but it could really use a decent editor...

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

                    There's nothing wrong with three finger shortcuts.

                    L Kornfeld Eliyahu PeterK 2 Replies Last reply
                    0
                    • N Nand32

                      Yes, we got plenty of Online playgrounds. But I mean the offline ones. I've always envied Javascript devs. All they need is just a notepad and a browser and they are good to try out a logic or an algorithm. Poor guys like me used to install Visual Studio Elephant (Here Elephant points to the size don't worry) Just to try a simple code, just because I was glued to .net. Now in recent times, I use VS Code & verify the code snippets that the team does with Python. This feels quick & snappy. :-O :thumbsup:

                      R Offline
                      R Offline
                      RickZeeland
                      wrote on last edited by
                      #19

                      Here are some suggestions: tools-for-interactively-writing-c-code-without-having-to-compile-it[^]

                      1 Reply Last reply
                      0
                      • N Nand32

                        Yes, we got plenty of Online playgrounds. But I mean the offline ones. I've always envied Javascript devs. All they need is just a notepad and a browser and they are good to try out a logic or an algorithm. Poor guys like me used to install Visual Studio Elephant (Here Elephant points to the size don't worry) Just to try a simple code, just because I was glued to .net. Now in recent times, I use VS Code & verify the code snippets that the team does with Python. This feels quick & snappy. :-O :thumbsup:

                        Z Offline
                        Z Offline
                        ZurdoDev
                        wrote on last edited by
                        #20

                        C# Online Compiler | .NET Fiddle[^]

                        Social Media - A platform that makes it easier for the crazies to find each other. Everyone is born right handed. Only the strongest overcome it. Fight for left-handed rights and hand equality.

                        1 Reply Last reply
                        0
                        • N Nand32

                          Haha, that folder name is called "POC" for me. Been doing that from day 1 of my career.

                          M Offline
                          M Offline
                          musefan
                          wrote on last edited by
                          #21

                          The worst thing is when you *think* you have given it a descriptive name, but then a week later you have no idea what the hell it is :laugh:

                          N 1 Reply Last reply
                          0
                          • L Lost User

                            There's nothing wrong with three finger shortcuts.

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

                            Ctrl-Shift-S; "save all" in Visual Studio - a habit that a lot of us have.

                            Bastard Programmer from Hell :suss: If you can't read my code, try converting it here[^] "If you just follow the bacon Eddy, wherever it leads you, then you won't have to think about politics." -- Some Bell.

                            1 Reply Last reply
                            0
                            • L Lost User

                              There's nothing wrong with three finger shortcuts.

                              Kornfeld Eliyahu PeterK Offline
                              Kornfeld Eliyahu PeterK Offline
                              Kornfeld Eliyahu Peter
                              wrote on last edited by
                              #23

                              Indeed! The problem starts when you have to bring in some fingers from the neighborhood...

                              "The only place where Success comes before Work is in the dictionary." Vidal Sassoon, 1928 - 2012

                              "It never ceases to amaze me that a spacecraft launched in 1977 can be fixed remotely from Earth." ― Brian Cox

                              1 Reply Last reply
                              0
                              • N Nand32

                                Yes, we got plenty of Online playgrounds. But I mean the offline ones. I've always envied Javascript devs. All they need is just a notepad and a browser and they are good to try out a logic or an algorithm. Poor guys like me used to install Visual Studio Elephant (Here Elephant points to the size don't worry) Just to try a simple code, just because I was glued to .net. Now in recent times, I use VS Code & verify the code snippets that the team does with Python. This feels quick & snappy. :-O :thumbsup:

                                P Offline
                                P Offline
                                PIEBALDconsult
                                wrote on last edited by
                                #24

                                Notepad and CSC.

                                1 Reply Last reply
                                0
                                • M musefan

                                  The worst thing is when you *think* you have given it a descriptive name, but then a week later you have no idea what the hell it is :laugh:

                                  N Offline
                                  N Offline
                                  Nand32
                                  wrote on last edited by
                                  #25

                                  Exactly! :laugh: :laugh:

                                  1 Reply Last reply
                                  0
                                  • N Nand32

                                    Yes, we got plenty of Online playgrounds. But I mean the offline ones. I've always envied Javascript devs. All they need is just a notepad and a browser and they are good to try out a logic or an algorithm. Poor guys like me used to install Visual Studio Elephant (Here Elephant points to the size don't worry) Just to try a simple code, just because I was glued to .net. Now in recent times, I use VS Code & verify the code snippets that the team does with Python. This feels quick & snappy. :-O :thumbsup:

                                    R Offline
                                    R Offline
                                    Rick York
                                    wrote on last edited by
                                    #26

                                    I have a testing application that makes it very easy to add an algorithm and a little function to test it. Adding a new one requires adding a line to a header that looks like this :

                                    InteractvFunction( _T( "Time Functions" ), DoTimeFunctionTest );
                                    StandardFunction( _T( "Random Values" ), DoRandomValueTest );

                                    An InteractiveFunction requires user input so it runs in the primary thread. A StandardFunction does not require input and is run in a worker thread context. I've been using this for several years now and it's pretty handy. I occasionally prune things back because the menu gets too full of testing snippets, several of which originated from questions here.

                                    "They have a consciousness, they have a life, they have a soul! Damn you! Let the rabbits wear glasses! Save our brothers! Can I get an amen?"

                                    1 Reply Last reply
                                    0
                                    • N Nand32

                                      Yes, we got plenty of Online playgrounds. But I mean the offline ones. I've always envied Javascript devs. All they need is just a notepad and a browser and they are good to try out a logic or an algorithm. Poor guys like me used to install Visual Studio Elephant (Here Elephant points to the size don't worry) Just to try a simple code, just because I was glued to .net. Now in recent times, I use VS Code & verify the code snippets that the team does with Python. This feels quick & snappy. :-O :thumbsup:

                                      D Offline
                                      D Offline
                                      David ONeil
                                      wrote on last edited by
                                      #27

                                      'MyProgs' program directory contains all of my own programming work on my computer. (It is a sub of 'Programs', which contains all the programming work on my computer.) It has a 'Junk' folder which contains a few different types of bare-bones projects (console, Windows, etc.), that can have the code added to them to play with. I just open the appropriate one in a new Visual Studio session and start playing with the code. If it is a complete program like comes with many of the articles here, it gets tossed into a sub off of 'Programs\Others Programs', extracted, and ran as-is.

                                      The forgotten roots of science | C++ Programming | DWinLib

                                      1 Reply Last reply
                                      0
                                      • M musefan

                                        A folder full of console applications for me. That's my usual .Net testing approach.

                                        realJSOPR Offline
                                        realJSOPR Offline
                                        realJSOP
                                        wrote on last edited by
                                        #28

                                        I usually include a console app in my solutions called "TestHarness". That way, I can test right there in the same solution, and use all the assemblies referenced therein. For casual stuff not directly associated with a project and that doesn't need a GUI, I use a console app.

                                        ".45 ACP - because shooting twice is just silly" - JSOP, 2010
                                        -----
                                        You can never have too much ammo - unless you're swimming, or on fire. - JSOP, 2010
                                        -----
                                        When you pry the gun from my cold dead hands, be careful - the barrel will be very hot. - JSOP, 2013

                                        I A 2 Replies Last reply
                                        0
                                        • K kalberts

                                          emacs is a good OS, but it could really use a decent editor...

                                          U Offline
                                          U Offline
                                          User 13269747
                                          wrote on last edited by
                                          #29

                                          Quote:

                                          emacs is a good OS, but it could really use a decent editor...

                                          This is a good joke, but it could really use a punchline :-) (The first time I heard this joke was in '92, so I've had quiet a long time to think of a reply)

                                          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