Question:
Where a programmer writes code?
1970-01-01 00:00:00 UTC
Where a programmer writes code?
Eight answers:
Ratchetr
2011-01-17 18:49:18 UTC
Except for a few oddball exceptions, the source code for a programming language is just a text file. So, yes, you can write it using notepad. In theory. BUT YOU DON'T WANT TO!!!!



Programming can be reasonably difficult. It's not like writing a quick email, or bashing out an anwer here. Here I can type anwer and you know I mean answer. You can't get away with that when programming. Every typo is an error you have to go back and fix.



Notepad doesn't have a spell checker, much less a code syntax checker, so it isn't going to help you out at all.



Indentation of code is really important for making it readable. Code that isn't indented properly is a nightmare to read and work with. Notepad doesn't have any tools that help with that.



After you key in your code, you need to compile and run it (or, in some languages, just run it). Notepad doesn't know how to do that.



I could go on and on (hum, I think I have already), but the point is, a simple text editor doesn't give you all the tools you need. If you're going to build a set of cabinets, do you want a fully stocked woodworking workshop, or do you want a hammer and screwdriver? Notepad is a hammer and screwdriver.



You want an IDE. Or you at least want Notepad++ (although only for smaller sized stuff). A good IDE will give you all the tools you need to do the job. They are MUCH more complicated than notepad. It will take you longer to learn how to use them. But you HAVE to invest the time in learning how to use the tools, or your cabinets will end up looking like they were built by somebody with a hammer and screwdriver. Kind of like some of the really bad web pages you find on the net.
Pogee
2011-01-17 18:29:23 UTC
some programming language have IDE where you can design and encode the program. On the IDE you can have the ability to run it facing the codes or the design.



Yes Experts can write program in a notepad but still they need to run the program on a certain sdk's to compile. for example, PHP can be written on the notepad, but you need to php run-time on web server to execute the program.
Sabrina
2016-02-25 01:44:57 UTC
Being a experienced programmer, I'd say that novice programmers do not often write code that doesn't "crash". On the other hand, designing the universe (and realizing that design is something that novices don't do well), is infinitely more complex. I'd say that this universe shows no characteristics of design, or thei if it was, it shows many mistakes and very poor design "features".
ratter_of_the_shire
2011-01-18 01:23:06 UTC
A lot of people do just use a simple text editor, with and extension loaded to highlight syntax. More complicated environments will check syntax and variables. These usually apply to more than one language by including different sets of rules.



Languages that are executed from plain text are called interpreted languages. (Technically all languages can be interpreted, but in practice only some of them are) These languages are often used for scripting where being able to make quick changes is useful. However languages like C have to go through a number of steps collectively called compiling to get something you would want to execute.
raina_vissora
2011-01-17 18:33:19 UTC
Code can be written in just about any word processor. All code is, is a bunch of text. But most programmers and coders use one of the many development environments that are available. They're really just a souped-up word processor, with a lot of extra tools built-in, specific to programming needs.



Now making it executable, that is another matter. Depending on what language you're using, you may need to compile it into an executable or you may not. Languages like C/C++/C# and Java are compiled languages. Languages like PHP, Perl, and I'm pretty sure, Python are non-compiled, so that code can be executed as-is, so long as your machine has the correct processor, interpreter, or run-time installed.
Tado
2011-01-17 18:29:14 UTC
Yeah, you could, I almost do edit my website page via notepad for updates without taking to go on dreamweaver. Regarding the program or making an application, it won't be that easy though cause their are lots of codes that needed to undersatnd its function and use.(still not that known to use some codes). So good luck on it! :D



also i used windows Os not linux one...
2011-01-17 18:27:00 UTC
an IDE look into code::blocks
SALEM M
2011-01-18 01:26:55 UTC
Design a computer program especially with a high level language is to say "do lab tests>>



Code on a notepad!. is like making a draft of an essay or letter.



A programmer needs a debugger, online help and above all test results during the program's evolution, not counting the errors of algorithms that make life difficult.



Code on a notepad in my opinion is a slip over, but unfortunately is still current.


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...