3 ms·
> ... apparently, writing code on anything other than top-of-the-line machines is too much to ask for. You guys are way ahead of me, so I need to learn. E.g.,
by graycat 4y ago
> ... apparently, writing code on anything other than top-of-the-line machines is too much to ask for.
You guys are way ahead of me, so I need to learn. E.g., I'm missing the need for "top of the line".
For my Web site startup,
I typed in 100,000 lines of text, 24,000 programming language statements, in Microsoft's Visual Basic .NET using an old desktop computer with a processor with a single core with a with a 1.8 GHz clock, Windows XP, SQL Server, calling LINPACK via Microsoft's platform invoke, and the editor KEDIT (with ~100 macros I wrote) with command line commands in ~100 Rexx scripts I wrote.
Once I got past some documentation frustrations, I was thrilled with all of it: I typed in code using KEdit, compiled it using a Rexx script, then used another Rexx script to run it, e.g., to run the Web site locally, i.e., with IP address 10.0.0.177.
I thought that the compiling was fast, nicely fast, really, blindingly fast. For the code to start running and the Web site to be functioning -- again blindingly fast. I was thrilled.
Something went wrong, apparently with the motherboard, and I got an HP laptop with a 2 core processor and a 2.5 GHz clock
to use while I plugged together a desktop with an 8 core processor and a 4.0 GHz clock. Then compiling the code and running it were faster than blindingly fast, nearly too fast to get finger off the Enter key.
I've considered moving to Emacs instead of KEdit and to Power Shell instead of Rexx, but so far I've not seen anything like
> ... apparently, writing code on anything other than top-of-the-line machines is too much to ask for.
What am I missing? Maybe I'm missing some big things an IDE (integrated development environment) would do for me?
I've been delayed by collecting data, etc., but am getting back to code writing and running so would like to know what I'm missing?
In simple terms, I see programming as just typing in text and like KEdit, and my macros, for that. Then for the compiling, building, just run the compiler -- it runs right away.
- projektfu 4y agoDoes KEdit do symbol completion, show you documentation as you type, and perform automated refactoring? Those are the big wins for the heavyweight editors. Especially when working with a verbose language like Java or C#, editor support is very nice. Also, in languages without keyword arguments, seeing the correct order of arguments as you type is very helpful, as well as seeing a docstring to confirm that your unreliable brain picked the right function.
- graycat 4y ago> Does KEdit do symbol completion, show you documentation as you type, and perform automated refactoring? KEdit is not specific to software development but is for nearly all typing. E.g., I also use it for word processing, reading/writing email, notes on everything, Internet content on finance, BBQ, coconut cream pie, Moo Shu Pork, .... So, for writing software using KEdit, need some more: It has a good macro language, so can write macros to do some work specific to software. > symbol completion Interesting question! I do some of that with command line commands in text console windows. E.g., in walking in the file system directory tree, I have a little Rexx script dn 'argument' where 'argument' is a string, maybe the first few characters of the name of a subdirectory of the current directory. If the completion is ambiguous, then the script writes out a list to pick from. I just checked the KEdit Help: So, in the case of an ambiguous completion, in a macro can use the command POPUP to create and display such a window and in it have a menu the user can pick from with either mouse or keyboard, and then the selection is returned to the macro. So, then, need the macro to know what the legal completions are: Okay, might get those from the current file being edited. Or maybe the list is in the macro or in a file the macro would read, maybe that file particular to the current directory of if there is no such file then, ... be as fancy as want with a hierarchy of files of the legal completions, one for C code, one for cooking, one for .... Depend on file system caching to make the file reading fast. And have the macro use the KEdit locate command which is really fast. The user's string might be from the start of the keyword, anywhere in the keyword spelling, after some spell checking in the macro, as fancy as want! > show you documentation as you type My approach to that was to put tree names of documentation files in the comments in my source code. Then I wrote a little KEdit macro that would, assuming simple syntax, grab the tree name and display the file. If the file type was HTM, then the macro would invoke Firefox to display the HTM file. I have 500+ of those. The file might be just simple text, and then the macro would open the file and have it in the ring (collection) of files KEdit was working with when it ran the macro. > perform automated refactoring I'll have to guess what that is: Maybe it is changing some name from, e.g., call_sql to call_sql001 For things like that, I just use versions of the KEdit command to locate a string. Here the command would be one of /call_sql/ >call_sql> l/call_sql/ all/call_sql/ etc. Could write a macro, pass as an argument the strings call_sql call_sql001 and have a loop for a little dialog that would locate the first argument, thus show the context, permit change or not, and then loop for the next change candidate. Of course, if the work is really simple, then could just use c/call_sql/call_sql001/ * * for make the change on all the lines and all cases on each line. In short, KEdit has a lot of good functions and a good macro language. And for the start of this thread about needing high end processors, I've been using versions of KEdit back to VM/CMS and PC/DOS. So, it's small and fast. KEdit is a PC version of IBM's XEDIT written in France by some guy on his own time. Once it was on IBM's internal network, it spread to IBM sites around the world quickly. In a word, KEdit is elegant. It is my most heavily used tool. The KEdit macro language is a version of Rexx, the scripting language developed by an IBM guy Mike Cowlishaw. Early on KEdit macros could be written in Rexx and run on the instance of Rexx that served text window command lines, but eventually some operating system changes blocked that, and the author of KEdit wrote a version of Rexx and included it in KEdit. Emacs may be a more powerful editor. Power Shell may be a more powerful way to write scripts.
- flumpcakes 4y agoI don't use IDEs at all. The features I see that I think "that's nice" are: * Integrated with the build system (shows lines that fail the build etc.) * Integrated with the debugger (mark lines to stop at, follow the lines) * Integrated with a language server (highlighting, style errors, help, "IntelliSense") * Automated Refactoring (rename variable, function, class, and it's updated everywhere) * Integrated source control (git, etc.) * Inline documentation as well as autocomplete. Things I haven't seen but seem like natural progressions: * Integrated CI/CD: deploy straight from your IDE, view pipeline outputs * Production/remote debugging: connect to running processes non-destructively to find memory leaks, etc. To be honest, you sound perfectly productive without an "IDE". If everyone has a set of tools they are comfortable with I don't see why that isn't as good as a singular IDE. Then again, as I said, I don't use IDEs at all...