elias001 said:
@
jedishrfu on the Pelles C forum, there was an advice that a beginner should learn to use Pelles C before moving onto something call codeblocks. Is codeblocks like Vim/Emacs one of those code writing editors? How is codeblocks differ from Vim/Emacs. I know there are also something call Atom, Sublime, and Note++.
Your posts here are like those from the movie Little Buddha, where Jessie, a young boy and the possible reincarnation of a Tibetan teacher, quizzes the senior monk, Lama Norbu, on Buddhism.
After answering some of his inexhaustible stream of questions, Lama Norbu says to Jessie, "You ask an awful lot of questions," and Jessie replies, "That's how I learn."
Now back to your questions...
---
There's one correction I need to make: the quote is "Vi is everywhere". Every Unix system must carry Vi by the Single UNIX Specification also known as SUS.
Many systems carry Vim as well, but not all. Vim is very popular and has become ubiquitous in Linux. It is a superset of the Vi command.
Vim has these features:
- regular expressions for finding text
- syntax coloring based on the file extension (if the vim edit command ":syntax on" is given)
- a diff mode
- It appears on many but not all flavors of Unix, including Linux.
Vi doesn't have the syntax highlighting or the file diff feature. You need Vim for those.
In some cases, the vi command invokes vim.
If Vi is aliased, the vi command above will show a Vi-IMproved line, meaning it's actually calling Vim
With respect to what other programmers say about code blocks, I can't say, but I do know learning Vi/Vim is the way to go. Vi is like carrying a Swiss Army knife, always ready to use under any circumstances, so I'd suggest you learn it.
The developer machines at work had NetBeans on them, and we used that to do much of our coding. There are other IDE tools, but NetBeans came with a curated set of plugins that did what we wanted. Even still, some of our machines were stock Linux machines, and vi knowledge was crucial to maintaining and customizing them.
NetBeans was the Cadillac of IDE tools. It even had Matisse, a GUI editor that allowed you to design a GUI display while generating Java code in the backend for use in your application. My officemate was a master of its settings and intricacies, as sometimes it wasn't obvious why your GUI didn't work as expected.
Eclipse is another, but we didn't use it as its plugins were often beta code. Very good beta code, but still beta code. Then, one day, the beta is gone, and now you need to download and pay for the version 1.0 plugin.
Eclipse was a cheap car like the Ford Pinto or a Yugo GV with good third-party plugins that vanished when they went to version 1.0.
IntelliJ IDE was yet another option, which, although superior to Eclipse and Netbeans, we were warned not to install or use it. Concerns exist that the Russian government might have compromised it, since it is from a Russian-based company, as reported in a NY Times article in 2021.
Russia had done that to another piece of code, NotPetya in 2017, that added malware to Ukrainian systems, using the ME Doc tax software.