Page 8 of 12 FirstFirst ... 678910 ... LastLast
Results 71 to 80 of 115

Thread: The programming language of future!!!

  1. #71
    Join Date
    Dec 2006
    Location
    out of scope
    Beans
    265
    Distro
    Ubuntu 6.10 Edgy

    Re: The programming language of future!!!

    you have to allocate and destroy all the memory yourself.
    you have to declare var at beginning of the block. ( i would rather die than do this )
    global var and func exsist ( in a world of OOP this is like hell )
    when you include a file you must make sure that you don't include it again
    you have to write two files, by convetion ( Class.h Class.cpp ) one for declaration one for definition
    there isn't a tree of packages like in Java, isn't it easier to
    Code:
    import java.util.Random;
    than to find all the *.h files neccecery to construct a random number using time seed.
    Vataju se naslage THC na zube!

  2. #72
    Join Date
    Dec 2006
    Location
    out of scope
    Beans
    265
    Distro
    Ubuntu 6.10 Edgy

    Re: The programming language of future!!!

    bugs like :
    exsistance of #define and const.
    exsistance of *pointers and &refrences.
    possibility to not return anything from a function :
    Code:
    main () {
    }
    also there isn't a class hierarchy in C++, you have to make your own.

    I was a C++ fan once, until i realized the power of Java.
    Vataju se naslage THC na zube!

  3. #73
    Join Date
    Dec 2006
    Location
    Sacramento, CA
    Beans
    284
    Distro
    Ubuntu 6.10 Edgy

    Re: The programming language of future!!!

    Quote Originally Posted by Sasa_Ivanovic View Post
    bugs like :
    exsistance of #define and const.
    exsistance of *pointers and &refrences.
    possibility to not return anything from a function :
    Code:
    main () {
    }
    also there isn't a class hierarchy in C++, you have to make your own.

    I was a C++ fan once, until i realized the power of Java.
    You can declare variables anywhere in a block in C++. That statement is just wrong. Anway, when I write Java code, I still define my vars at the head of a block. It's just easier to read. It's such a pain trying to track down declarations scattered about like breadcrumbs, even with a decent search function.

    Why is the existance of #define/const a bug?
    Why are pointers and reference a bug?
    When you write "main () {}" there is an implicit "void". Void functions are possible in Java as well.
    The "class hierarchy" that you speak of is simply a bunch of pre-written Java code. If you use a standard library like glib, you get functionality like containers and random number generators as well.

    I agree that having to track down header files is a pain, but I've had just as many times tracking down the right java library to import.

  4. #74
    Join Date
    Dec 2006
    Location
    out of scope
    Beans
    265
    Distro
    Ubuntu 6.10 Edgy

    Re: The programming language of future!!!

    i promissed to stop promoting Java. so don't expect any more awnsers from me regarding Java.
    Vataju se naslage THC na zube!

  5. #75
    Join Date
    Dec 2006
    Location
    Sacramento, CA
    Beans
    284
    Distro
    Ubuntu 6.10 Edgy

    Re: The programming language of future!!!

    Quote Originally Posted by Sasa_Ivanovic View Post
    i promissed to stop promoting Java. so don't expect any more awnsers from me regarding Java.
    But I wasn't trying to claim that Java is a poor language, or that it shouldn't be used! I was simply pointing out the flaws in most of your arguments, and pointing out that it's not the ultimate solution to programming as we know it!
    Last edited by jblebrun; January 10th, 2007 at 09:08 PM.

  6. #76
    Join Date
    May 2006
    Location
    The Netherlands
    Beans
    395
    Distro
    Ubuntu Development Release

    Re: The programming language of future!!!

    Ok, maybe it is better to create a new treat but here I go:

    What will be the best language of the future to programs GUI's
    It must be fast in execution low cpu and low memory print
    Fast speed to market time.
    Fast compilation time.
    Good integration with hardware.
    Must be GNU free software

    I have these languages:
    C, C++, D, C#, Python, Obj-C, Java, Pascal

    I think I vote for D and Python or C++ next. but the licensing is not GPL

  7. #77
    Join Date
    Oct 2006
    Beans
    152
    Distro
    Ubuntu 6.10 Edgy

    Red face Re: The programming language of future!!!

    Quote Originally Posted by TuxCrafter View Post
    Ok, maybe it is better to create a new treat but here I go:

    What will be the best language of the future to programs GUI's
    It must be fast in execution low cpu and low memory print
    Fast speed to market time.
    Fast compilation time.
    Good integration with hardware.
    Must be GNU free software

    I have these languages:
    C, C++, D, C#, Python, Obj-C, Java, Pascal

    I think I vote for D and Python or C++ next. but the licensing is not GPL
    I bet for C, D and Python. Everything else will die

    C, because a lot of programs are in already written in C and you can't fast replace all these with D.

    D because it's a better C++, C#, Java whatever.

    And Python because it is easy, human readable, smarter Syntax then Ruby and so on.
    (hopefully mostly for prototyping, all these new Python-Applets for Gnome scare me, hopefully they will be replaced with a C or D version).
    Edgy Eft Packages: Glade-3 3.1.4, Geany 0.10, Banshee 0.11.3, Inkscape 0.45, [] Geom - interactive geometry []
    Any questions? Send me a PM, as I don't subscribe to every thread.
    Mark Shuttleworth...

  8. #78
    Join Date
    Jan 2006
    Beans
    961

    Re: The programming language of future!!!

    Quote Originally Posted by TuxCrafter View Post
    Ok, maybe it is better to create a new treat but here I go:

    What will be the best language of the future to programs GUI's
    Any "modern" language will do;

    * Python
    * Lisp
    * Ruby
    * etc .. (see my previous post in this thread though)

    ..but the most "futuristic" thing will be a switch to more dataflow-based programming-style _regardless_ of language (well, almost):
    http://en.wikipedia.org/wiki/Dataflow

    ..and/or combined with declarative programming of both static and as much dynamic stuff (using dataflow-ideas from above) as possible.

    Once you understand how this work it'll blow your mind while at the same time being sooo simple it is surprising it's not more widely known. It is particularly excellent for GUI-work, but also suitable for other stuff.

    *goes back to lurking and hacking home-made GTK+ bindings for Common Lisp*

    (note to post by pmasiar two posts below this one: Prolog can be implemented directly in Lisp (but I think you already know this))
    Last edited by lnostdal; January 21st, 2007 at 05:17 AM.

  9. #79
    Join Date
    Jun 2006
    Location
    CT, USA
    Beans
    5,267
    Distro
    Ubuntu 6.10 Edgy

    Re: The programming language of future!!!

    Quote Originally Posted by TuxCrafter View Post
    What will be the best language of the future to programs GUI's
    It must be fast in execution low cpu and low memory print
    Fast speed to market time.
    Fast compilation time.
    Good integration with hardware.
    Must be GNU free software
    IMNSHO you grossly confused theoretical programming in ideal world, and real-life software engineering. Engineering as discipline is search for workable compromises between conflicting and contradictory goals. Obviously none of languages ever will be best in all your categories (including GPL) - so every person, team, company will set their own preferences and compromises.

    Let me add two more quotes for illustration:
    • In theory, there is no difference between theory and practice. In practice, there is.
    • Writing software, which is: within budget, high quality, and on-schedule: pick any two.


    To learn about compromises and planning for change, try to play strategy resource planning games, like Dune2000, UFO, Civilization etc was 10 years ago - are they used anymore? Or you youngsters play only first-person shooters, slash-them-up, and MMURPG? You cannot get all you want - learn to find how to prioritize and compromise. You gain speed-to-market if you are willing to pay in CPU execution time and RAM, and vice versa, etc.

    Or you wanted just to mention important characteristics of such super GUI language? How you feel about adding also:
    • code is simple to profile, test, maintain, and refactor
    • easy to learn, and lots of programmers with valid skills available
    • well paid rare skill which you are safe to use until you retire
    • usable in other important areas of application development, like Web-based apps, and apps embedded in mobile devices (phone, PDA, GPS navigator etc)
    • easy to integrate with other programs on other platforms

  10. #80
    Join Date
    Jun 2006
    Location
    CT, USA
    Beans
    5,267
    Distro
    Ubuntu 6.10 Edgy

    Re: The programming language of future!!!

    Quote Originally Posted by lnostdal View Post
    declarative programming (...)will blow your mind while at the same time being sooo simple it is surprising it's not more widely known.
    Yup. Prolog is 35 years old now, part of Ubuntu, and simply amazing. It was hard to use when 1MB was a lot of memory, but expect it become more popular soon. Today, put 6GB of RAM to workstation, load all knowledgebase into RAM and run inferences *quite* fast. Look at prolog to experience *very* different kind of programming, just as brain exercise

Page 8 of 12 FirstFirst ... 678910 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •