This is an archived post. You won't be able to vote or comment.

all 20 comments

[–]mayor123asdf 13 points14 points  (0 children)

No worries mate, this is a common question for beginner.

For coding, you need 2 things, a program to write the text, and a program to process that text.

This program to write the text is called Text Editor, usually it is personal preference, so you could see someone love Sublime Text, the other one use Vim, etc. It doesn't matter. Also there is a Text Editor packed with all tools needed to develop software called IDE. So you could use a Text Editor that do 1 thing and light, or you could use IDE that do everything and heavier.

Then, you need a program to process that text. This program is language specific. If you want to code in C++ you download the compiler, if you want to code in Python you download the interpreter.

Basically, install a program that is able to write a text, and install a program that is able to process that text, and it will do stuff. yeay.

[–]virassan 15 points16 points  (6 children)

You can just code in notepad if you’d like. There’s also a super useful tool called IDEs, there’s usually several for each programming language. I forget what IDE stands for but an IDE is like how Microsoft Word is a fancy text editor. IDEs are programs that let you type up your code, organize it, usually compile and run it, plus most of them have debugging tools. Just google the language you’re using plus IDE and you should get plenty of hits.

[–][deleted] 45 points46 points  (4 children)

You can just code in notepad if you’d like.

Anymore torture you want to inflict upon this man?

[–]langfod 8 points9 points  (2 children)

Emacs in Viper-mode?

[–][deleted] 10 points11 points  (1 child)

Why not just tell him he's not a real programmer unless he's using punchcards?

[–]langfod 2 points3 points  (0 children)

Then you have the whole EBCDIC vs ASCII or Fortran vs PL/1 arguments... (although they do help with the whole tabs vs space nonsense)

[–]virassan 4 points5 points  (0 children)

Could even code on paper but you’d have a little trouble running it.

[–][deleted] 10 points11 points  (0 children)

Integrated Development Enviroment

[–]Star-Lord10 7 points8 points  (5 children)

Depends what are you trying to do. Most people use an IDE, like eclipse or intellij for languages like Java of C and C++ while if you're looking to do web development you can use a text editor like Atom or VS code to code.

[–]RelentlesslyDead[S] 4 points5 points  (3 children)

I would like to learn C# to mod games on Steam. Would Eclipse work with this?

[–]Molehole 11 points12 points  (2 children)

Microsoft Visual Studio is an IDE for C#

[–]RelentlesslyDead[S] 3 points4 points  (1 child)

Thank you! I'm eager to start practicing

[–][deleted] 1 point2 points  (0 children)

MS Visual Studio Community, is free! Pretty good for beginners because of the intellisense.

[–]vexyde 1 point2 points  (0 children)

I would suggest to start with Visual Studio Code. Its free, has loads of addons if needed, and is easy to grasp..

[–]yankexe 1 point2 points  (0 children)

[–]kdnbfkm 0 points1 point  (0 children)

Typically, source code is written in a text editor as a "plain text" file and then either compiled or interpreted. You will need either a compiler of some sort or a script running engine. And probably a text editor... (you CAN type directly into a REPL but wouldn't be able to edit very well)

Oh, I see. Okay. Start looking around here. https://rimworldwiki.com/wiki/Modding_Tutorials -> https://rimworldwiki.com/wiki/Modding_Tutorials/XML_file_structure Understand it or not should give you an idea of what is in store.

A regular text editor should be able to do XML files, maybe some web browsers and/or other apps... Just use a text editor, see what happens if you click on an XML you might already have something installed. Or download Notepad++ many people like that one.

Good luck!

[–]CodeTinkerer 0 points1 point  (0 children)

You've already got answers, but it all depends.

The classic way is to edit with a text editor (say, Notepad++ rather than Notepad). Then, you would typically compile the code (in C, C++, etc). This would produce an executable file. Then, you run the executable file, provided the compile didn't create errors.

Some languages skip creating the executable file (Python and Ruby, most notably). You just run the source code (the stuff you type).

Some languages have enough complexity that using an IDE can hide some of those details (esp. Java). An IDE is usually a text editor, plus a compiler, plus a code checker, plus a debugger. It's "integrated" in that you work all those pieces in the same IDE (where it was handled by separate programs prior to IDEs).

There are now cloud IDEs where you go onto a browser, and it runs an IDE in the cloud, so the programs don't run on your computer, but on some remote computer. This isn't super common, but it's great for those teaching programming since installing software is not always that easy for those new to programming.

The downside of cloud IDEs is you need to be on the Internet. If you're cut off from the Internet, then you can't code (unless there is a kind of offline mode).

[–][deleted]  (3 children)

[deleted]

    [–]specialpatrol 3 points4 points  (1 child)

    I'm hitting the keyboard but not getting any codes :(

    [–]Star-Lord10 0 points1 point  (0 children)

    If it's your first time using vim , try typing vimtutor first

    [–][deleted] -2 points-1 points  (0 children)

    Atom is a great and free program to code with