Page 2 of 3

Posted: Sun Nov 04, 2007 3:07 am
by inflater
XCHG wrote:I bet my life right now that you don't write Assembly code in Notepad.
I'm going to disappoint you... ;)

[URL=http://www.imghosting.eu/view.php?img=WinXP.JPG]
Image[/URL]

Also I'm writing pascal code in Notepad too, but sometimes it's better to use some kind of IDE.
When I code in Notepad, I use batch scripts as you can see on the screen, SelfHacking(TM) of the krnl386.bin. :P

Regards
inflater

Posted: Sun Nov 04, 2007 3:37 am
by XCHG
For the first two windows at the back, they are not even indented. That's not a problem. You could had written them in another editor and opened them in Notepad for all we know :P And for the window on top, the whole code is not even 40 lines. That's not what I mean by "writing programs". For example, I write my Operating System's kernel and all of other codes in UltraEdit. I use a lot of indention even after the op-code of each instruction. A simple chunk of the code would look like this in UltraEdit (I always convert tabs to spaces so that the source code would look the same in other editors): Image.

Now if I do the same indention with Tab in Notepad, I will get this hectic view: Image

Posted: Sun Nov 04, 2007 3:48 am
by inflater
XCHG wrote:And for the window on top, the whole code is not even 40 lines. That's not what I mean by "writing programs"
Okay... :roll:

[URL=http://www.imghosting.eu/view.php?img=WinXP2.JPG]
Image[/URL]

[URL=http://www.imghosting.eu/view.php?img=WinXP3.JPG]
Image[/URL]

(I'm not programming at the moment, I'm just showing the screenshots).

Believe it or not, I *do* write code in Notepad. ;)
And, the "window on the top" isn't a program, neither (almost) all Notepad windows containing the text aren't programs, but they are include files. ;)
Also, for the "weird strings", I use a codepage converter for Slovak language; no need for English.

Posted: Sun Nov 04, 2007 3:52 am
by XCHG
I do believe you but I wouldn't code like that really. I need a lot of indention in my code and I want to be able to control how much indention I am getting from the editor/IDE as I think most of us do. For example, in the second screen shot that you have posted, I would rather be dead than coding like that. I have been coding in Delphi since Delphi 2 (the first 32-bit version) and even in my first code, I remember I was using indention. That is not how you are supposed to write programs I believe. Indention, in my opinion, is a "skill" in itself.

Posted: Sun Nov 04, 2007 7:17 am
by inflater
It's known world-wide that I as myself do like cleanliness, but he is too lazy to clean the code up... :twisted:
XCHG wrote:That is not how you are supposed to write programs I believe.
Why not? :) I can understand what I type in the code, and if I don't, I ask here by posting only the line where I think the error is, not the whole code. And that is one from 1000 reasons why I don't do open source programs. :P
Thank God the compilers of today aren't looking at the cleanliness of your (or my) code :lol:

@XCHG: UltraEdit you use? Hmmm... it looks decent, will try it :)

Regards
inflater

Posted: Sun Nov 04, 2007 7:47 am
by XCHG
Well yeah as long as the coder can understand it, it is fine. Maybe you will need to adjust the tab levels when sharing the source with anyone (if ever). Anyway, UltraEdit is the software that I was using :-? I have a license for the beta version that I am using. It is an old version too.

Posted: Sun Nov 04, 2007 9:57 am
by SpooK
XCHG wrote:Well yeah as long as the coder can understand it, it is fine. Maybe you will need to adjust the tab levels when sharing the source with anyone (if ever). Anyway, UltraEdit is the software that I was using :-? I have a license for the beta version that I am using. It is an old version too.
Perhaps. Some people like to used a fix amount of spaces instead :shock:

Posted: Sun Nov 04, 2007 10:04 am
by SpooK
MessiahAndrw wrote:The default Win32 FASM package comes with a nice little IDE with basic synatx highlighting. I use to use it before I switched to C++/NASM.
You might be happy to hear that I am working on an IDE to be released with NASMX. I am also going to have OS development support in mind, e.g. integrated Bochs support :)

Posted: Sun Nov 04, 2007 12:04 pm
by earlz
FASM + Codeblocks + A makefile

Posted: Sun Nov 04, 2007 3:37 pm
by JackScott
FFS! Editor wars anyone? ](*,)

You can write code using UNIX cat if you want to. People have. It doesn't actually matter. It's all personal preference. I like Emacs. You like Vi. So what?

Posted: Sun Nov 04, 2007 5:43 pm
by Alboin
Yayyak wrote:FFS! Editor wars anyone? ](*,)

You can write code using UNIX cat if you want to. People have. It doesn't actually matter. It's all personal preference. I like Emacs. You like Vi. So what?
A little over reaction, perhaps? No one's really arguing over editors, per say, but certain features that editors own. Besides recommending their own, that is.

Posted: Sun Nov 04, 2007 6:47 pm
by JackScott
Very true. I'm sorry. I'm stressed this morning; I have to hand in two folios today, and they form the basis for my assessment for high school. :(

Posted: Sun Nov 04, 2007 11:57 pm
by os64dev
@XCHG
With respect to to the indentation:
- Did you ever hear of the option 'replace tabs by spaces?'

Posted: Mon Nov 05, 2007 12:34 am
by Candy
os64dev wrote:@XCHG
With respect to to the indentation:
- Did you ever hear of the option 'replace tabs by spaces?'
Most of the programs should be indented 6 feet downward and covered with dirt.

What's the entire point of a tab? To show intent - to indicate you want a single tabulation width's worth of empty space. What idiot ever thought up to replace that by spaces, which are user-specific?

Above quote for space-using people: Most of the programs should be indented 72 inches downward and covered with dirt.

Posted: Mon Nov 05, 2007 5:39 am
by os64dev
Candy wrote:What's the entire point of a tab? To show intent - to indicate you want a single tabulation width's worth of empty space. What idiot ever thought up to replace that by spaces, which are user-specific?
The same idiot that got complaint from other persons that his code did not ident properly on their systems. :wink: