• (cs) in reply to andyandy
    andyandy:

    [image] Katja wrote:
    Ehm, Delphi is Pascal, thus Delphi.NET IS Pascal.net...

    And there are several other languages converted to .NET too. I even heard of an ASM.NET which you can use to write .NET applications in, that's right, Assembler code...Embarrassed

    You're thinking of this "ASP.NET: ASM to IL compiler"? Read about it some months ago, but haven't used it yet. Maybe I will use it for the next ASP.NET project :)

    List of (most?) .NET languages. Note that there are four Pascal variants listed.

    Of course Pascal is a favorite .NET language. It combines the easy syntax of Basic with the power of C++. And if I understood correctly, whole operating systems have been written in Pascal before some developer decided that the cryptic C language might be a better option.

  • (cs) in reply to Razzie
    Razzie:

    Well I for one didn't know they teach Delphi in Holland... at least I haven't seen it yet ;) Apparently, I was wrong!

    But anyway, do you really have to be old and wrinkled to really really know the secrets and fun of Delphi? Poor Katja ;)

    OLD! ME?! Nope...

    My Delphi skills came from my dad, who noticed I had some interest in computers so I got one all for myself when I was young. It had several games and a Delphi compiler and I suprised my dad by showing more interest in Delphi than in those games... [;)]

    At school they don't really teach Delphi, though. Java, VB, C++ and a few other languages, yes. But Delphi, almost nothing...

  • (unregistered) in reply to
    :
    [image]  wrote:

    this was java, not C#

    (C# uses <FONT color=#0000ff>bool </FONT><FONT color=#000000>not </FONT><FONT color=#0000ff>boolean</FONT><FONT color=#000000>)</FONT>

    us C# programmers know better! :P



    Oh, so thats what that IO operation "Response.Redirect("YourMomIsHot.html");" that doesn't throw a useful IOException is all about... good thing you C# folks know better!

    Us Java guys are just going to have to deal with the exception if the application can't write to the stream... poor us...

    I guess you don't think HttpException or deriving from it is good enough...

  • (unregistered) in reply to Razzie

    Delphi was the first language we were taught in Dutch school. With good reason, if you ask me, you can't ask students who might be new to programming to learn about pointers and buffers of char (C) just to simply output a 'hello world' to the screen. Hmz it just struck me I never made a Hello World in C. [:$]

    OTOH, I heard the first thing students in another Dutch school create is a mouse driver for the Linux kernel...

  • (unregistered) in reply to

    just a silly idea:

    begin wtf

    /*conventional flow control is for wussies! */

    public class Result extends Throwable {
      ...
    }

    try {
      SomeThread st = new SomeThread();
      st.start();
    }
    catch(Result r) {
      ...
    }

    end wtf

  • (cs) in reply to
    :

    Delphi was the first language we were taught in Dutch school. With good reason, if you ask me, you can't ask students who might be new to programming to learn about pointers and buffers of char (C) just to simply output a 'hello world' to the screen. Hmz it just struck me I never made a Hello World in C. Embarrassed

    OTOH, I heard the first thing students in another Dutch school create is a mouse driver for the Linux kernel...

    Let's see. When I was at the TUe (University in Eindhoven) we 'learned' programming is something called 'Guarded Command Language', which you had to write on paper. Yuck.

    In the Hogeschool (one step lower than university, yes I dropped out of university for being so boring and theoretical) I did 68000 asm (on custom 68000 'computers'), Pascal, and C (both on DOS machines), and some visual C++ in Windows. The people a year after me got Deplhi instead of Pascal.

    But that was about 5 years ago, after which I quit studying altoghether and just went to work as a Software Engineer.

    Drak

  • (cs) in reply to
    :

    Delphi was the first language we were taught in Dutch school. With good reason, if you ask me, you can't ask students who might be new to programming to learn about pointers and buffers of char (C) just to simply output a 'hello world' to the screen. Hmz it just struck me I never made a Hello World in C. Embarrassed

    OTOH, I heard the first thing students in another Dutch school create is a mouse driver for the Linux kernel...

    Yeah, Linux... Learning a bit about that too. Trouble is, Delphi doesn't run on Linux and I've never managed to install Kylix succesfully either on a Linux-box. Never had much success with Linux itself either. I might dislike Windows so far, but at least I understand Windows a lot better... [;)]

  • (cs) in reply to Katja
    Katja:
    [image] andyandy wrote:

    [image] Katja wrote:
    Ehm, Delphi is Pascal, thus Delphi.NET IS Pascal.net...

    And there are several other languages converted to .NET too. I even heard of an ASM.NET which you can use to write .NET applications in, that's right, Assembler code...Embarrassed

    You're thinking of this "ASP.NET: ASM to IL compiler"? Read about it some months ago, but haven't used it yet. Maybe I will use it for the next ASP.NET project :)

    List of (most?) .NET languages. Note that there are four Pascal variants listed.

    Of course Pascal is a favorite .NET language. It combines the easy syntax of Basic with the power of C++. And if I understood correctly, whole operating systems have been written in Pascal before some developer decided that the cryptic C language might be a better option.

  • (cs) in reply to aapopfriets

    I forgot to copy that extremely long message to clipboard. Alex, I call upon thee, get some other forum software.

  • (cs) in reply to Katja

    Katja:
    And if I understood correctly, whole operating systems have been written in Pascal before some developer decided that the cryptic C language might be a better option.

    Well, actually, just one OS, known as the UCSD Pascal System, and that was in 1977, a couple years after UNIX had been written in C.

    It was largely an experiment in p-code (basically the same as Java's bytecode).  It was popular as a teaching system at colleges ("UCSD" = "University of California at San Diego") because in that environment being cheap & portable was much more important than being fast & powerful.

    I'd also challenge the idea that C as any more or less cryptic that Pascal.  Pascal is a bit more verbose, but unless you already know how the read the  language, both are equally incomprehensible.  The fact that with just a few #defines, one can write C code which looks a lot like Pascal indicates that they are pretty much the same language with different keywords.

  • (cs) in reply to Katja
    Katja:
    Never had much success with Linux itself either. I might dislike Windows so far, but at least I understand Windows a lot better...

    Well, the problem with Linux is that it's essentially a command-line based OS, that has, tacked on to it, a GUI, written by people who prefer command-line systems. (Look at any hard-core Unix/Linux user --- that only things they will have open in their GUI session is a clock & multiple command-line windows.

  • (cs) in reply to JamesCurran
    JamesCurran:
    [image] Katja wrote:
    Never had much success with Linux itself either. I might dislike Windows so far, but at least I understand Windows a lot better...

    Well, the problem with Linux is that it's essentially a command-line based OS, that has, tacked on to it, a GUI, written by people who prefer command-line systems. (Look at any hard-core Unix/Linux user --- that only things they will have open in their GUI session is a clock & multiple command-line windows.



    Really?  I'd say it's had about a dozen GUIs tacked on.  And I doubt there's anything you can't do in KDE (the most Windows-like and bloated (sorry, I repeat myself) GUI) that you've done in Windows.  What hard-core users do with Linux is their business... it can handle soft-core and any other-core users just fine.


    Alex, maybe you should limit comments to one page... we don't seem to stay on topic past that. [:$]

  • (cs) in reply to JamesCurran
    JamesCurran:

    [image] Katja wrote:
    And if I understood correctly, whole operating systems have been written in Pascal before some developer decided that the cryptic C language might be a better option.

    Well, actually, just one OS, known as the UCSD Pascal System, and that was in 1977, a couple years after UNIX had been written in C.

    It was largely an experiment in p-code (basically the same as Java's bytecode).  It was popular as a teaching system at colleges ("UCSD" = "University of California at San Diego") because in that environment being cheap & portable was much more important than being fast & powerful.

    I'd also challenge the idea that C as any more or less cryptic that Pascal.  Pascal is a bit more verbose, but unless you already know how the read the  language, both are equally incomprehensible.  The fact that with just a few #defines, one can write C code which looks a lot like Pascal indicates that they are pretty much the same language with different keywords.

    Only one OS created in Pascal? I could have sworn there were more. And I didn't know C already existed in 1977. Let's see. A book I have says Unix started in the beginning of the 70ties by Bell Laboratories, written in the language B, which was based upon BCPL but didn't contain any data types. They added data types to it, later, and renamed the language C for whatever reason. That was in 1973... [8-|]

    Pascal was described in 1971 by Niklaus Wirth so about back then the language was born. But if you compare C and Pascal then you'll notice that C was more created for practical, commercial purposes while Pascal is more for scientific and educational purposes.

    But in my opinion it is quite easy to write a C application that is completely cryptic. The macro's allow you do define all kinds of shortcuts and redefine all kinds of stuff and the amount of symbols used in it is enormous, compared to Pascal. Pascal is a bit closer to normal written language. And of course you could write a C application in a human-readable way, but to obfuscate a Pascal application in a similar way as you can do with C is quite challenging.

    Anyway, I was wrong about Pascal being used for operating systems before C was used instead. Pascal did exist 2 years before C did, but was more used as a language on top of some existing operating system. The first C application just was an operating system, named UNIX.

    Which proves that UNIX is really antiquated by now. [:P]

  • CaptainBlueberry (unregistered) in reply to
    :
    just a silly idea: begin wtf /*conventional flow control is for wussies! */ public class Result extends Throwable {  ...} try {  SomeThread st = new SomeThread();  st.start();}catch(Result r) {  ...} end wtf
    Yeah that won't work. Unless you're overwriting the start method and throwing your result directly there (which kinda eliminates the point of your thread in the first place).

Leave a comment on “You Can Never Be Too Cautious”

Log In or post as a guest

Replying to comment #:

« Return to Article