Create Notepad
How to create Notepad?
Right Click > New > Text Document
OR
touch programName.txt [only for pro people]
Give so...
For further actions, you may consider blocking this person and/or reporting abuse
You really shouldn't use notepad, it wouldn't even bother to catch any errors.
While it IS a nice tutorial, I'd recommend at the very least using VSCode. While it's mediocre for a lot of people (and I kinda like it), it at least has basic support for syntax highlighting, and intellicode.
For a beginner just wanting to test, yeah, it is nice, if you want to dip any further than "Hello, world!" though, you gotta at least install a bare bones IDE.
This wasn't necessarily for you (or here to make you feel bad), OP, this is more of a tip to anyone who's followed this, or is following this tutorial.
And even ignoring most advanced features, NotePad is very limited at Undo.
I recommend minimum Gedit or NotePad++. (or even Nano / Vim)
MS Word, yes someone do use, is OK at features, but bad at monospace and unformatted text. Even Markdown is better.
NotePad is substandard software to me.
You're probably missing the point. Nobody does any serious programming in notepad, but it's nice to have tried it once. So many people learn programming in an IDE and never develop any understanding for the tools that are doing the work behind the scenes.
Here's a short story to underline this point :D
Behind the scenes are important, but these day new mentors forgetting to mention that, and all the kids want to build cool AI, App, Website Project but when ask them how this thing work they be like click on that play button ๐คฃ
I have yet to find a programming language where it's not beneficial to learn and use the commandline tools (compiler, interpreter, etc.)
Nice.
Can't say useful. Still don't understand the need? ๐ ๐ค
in one of my interview, IDE was banned ๐
Off-topic, but that's kind of awful, no? Why are interviews so unrealistic, you'll never code a product in notepad. Even if it was done just to see if you can compile Java, that's still a bad interview question imo.
they just want to know how you solve a problem in difficult situation and maybe how much patience one got ๐
I'll die laughing on this one. Bro they tested you if you know the language or you are just stuck hitting "run" in IDEs. Asking you to code in notepad doesn't mean to put you in difficult position. And nothing related to patience. Still nice try putting the post up.
I am lazy enough and don't want to explain 100 lines why they do that.. so that comment came from my lazy mind..
It's amazing to read how strongly people react to the idea of using notepad for coding. Of course it's inconvenient, that's why code editors exist, after all. But if you know what you're doing, it doesn't make that much of a difference. Lack of syntax highlighting isn't all that bad if the code is well-structured. No autocomplete needs you need to know your tech instead of "browsing" it.
In short: Programming in notepad means you have to actually know how to program.
When I learned programming, it was using an IDE. Later, when I learned Java, it was also using an IDE. When I started learning C, guess what: IDE. At some point, driven by curiosity, I started playing around with the compilers much more, writing code as text files (yes, even in notepad) and compiling them by hand. It didn't take long for me to just ditch IDEs entirely and go on an editor journey that would ultimately lead me to Vim, and I haven't looked back once.
And to those who are bewildered at the mere suggestion of using notepad: try it. It's good practice, and you might get a better understanding of how much a proper IDE actually does for you.
ya, that's the thing, you only get to know the actual thing when you play with it.
Nitpick:
create notepadshould becreate a .txt file. This is important because not everyone has their computer configured to open.txtfiles with notepad.Right click > New > "Text Document" (text document by default set to .txt )
Why tag this post with #javascript?!?!?! Java is for Javascript the same that car is for carpet.
without java you can't pronounce javascript.. actual answer: they want 4 tags.
This is literally how I learned to code Java in 1997. Letโs just be thankful that IDEs exist today.
Old school thing...
You wonโt be able to run javac without JDK installed which is not covered in this tutorial.
you can't write java code without learning java, and what you saying is same as you can't write code without keyboard.