|
I vote for LinqPad also. A quick way to check out code snippets, classes and even small programs. Works with C#, F#, SQL and even VB. Similar debug methods as Visual Studio.
|
|
|
|
|
Have you tried Notepad++ with the CS-Script Plugin
Who the f*** is General Failure, and why is he reading my harddisk?
|
|
|
|
|
For C or C++ code, I use vim and gcc on Linux console.
For quick prototyping, Lua (again, with vim , on Linux console).
|
|
|
|
|
What is wrong with emacs?
|
|
|
|
|
The learning curve? I am not used to emacs.
|
|
|
|
|
Yes it is a bit of a challenge, but so much better than vim once you get used to it.
|
|
|
|
|
emacs is a good OS, but it could really use a decent editor...
|
|
|
|
|
There's nothing wrong with three finger shortcuts.
|
|
|
|
|
Ctrl-Shift-S; "save all" in Visual Studio - a habit that a lot of us have.
Bastard Programmer from Hell
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.
|
|
|
|
|
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
|
|
|
|
|
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)
|
|
|
|
|
I also like LINQPad[^] for doing some quick POCs.
|
|
|
|
|
But surely you'll have VS installed anyway? I don't see the issue? 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.
|
|
|
|
|
|
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.
|
|
|
|
|
|
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?"
|
|
|
|
|
'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.
|
|
|
|
|
Just use the REPL if the language has one, VSCode + compiler in the Code's integrated terminal if the language doesn't have one. That covers the main languages I might want to play with (Haskell, Python, OCaml, C++ or Rust in my case).
Java, Basic, who cares - it's all a bunch of tree-hugging hippy cr*p
|
|
|
|
|
I am glad I am not the only one. I have a semi console app.
I call it something like sortingmultidemi because the first time I used it was like 30 years ago and I was sorting a mutli dimensional array and I wanted to see the outcome.
It now has more commented code than working code. but I take it everywhere. Copy Paste alot out of it. Lots of examples of things. and for some reason quicker than google when searching for something I have done before.
To err is human to really mess up you need a computer
|
|
|
|
|
I'm always working on some WPF/C# desktop app in Visual Studio - so I just create a temporary method in there, call it from a click handler etc, then delete it after I've finished validating the code.
|
|
|
|
|
Set up a simple NUnit test project and just drop all of them there.
But if you are testing something your team is doing I'm questioning their unit testing practices.
ed
~"Watch your thoughts; they become your words. Watch your words they become your actions.
Watch your actions; they become your habits. Watch your habits; they become your character.
Watch your character; it becomes your destiny."
-Frank Outlaw.
|
|
|
|
|
I use my imagination. Guaranteed to be compile safe.
|
|
|
|
|
Depends
Small bits of .net: linqpad
Larger bits of .net: Rider + .net core, perhaps a unit test assembly for checking out an API or idea.
For most things, I'll use the REPL: JavaScript (node or f12 in a browser), Python (ipython is friendlier than the plain interpreter, but both work), Ruby (when I used it). Rider has a c# REPL, I think.
If you say that getting the money is the most important thing
You will spend your life completely wasting your time
You will be doing things you don't like doing
In order to go on living
That is, to go on doing things you don't like doing
Which is stupid.
|
|
|
|
|
Guardian's incorrect approach (5)
|
|
|
|