Page 9 of 9 FirstFirst ... 789
Results 81 to 89 of 89

Thread: How to start programming - guides and links for many languages

  1. #81
    Join Date
    Jan 2010
    Beans
    6
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Gambas - BASIC for Linux

    GAMBAS
    Brings BASIC to Linux

    Gambas is an object oriented programming language very similar to VB6. Most people who have programmed in Visual Basic should be able to learn it very quickly.
    With Gambas, you can quickly design your program GUI with QT or GTK+, access MySQL, PostgreSQL, Firebird, ODBC and SQLite databases, pilot KDE applications with DCOP, translate your program into any language, create network applications easily, make 3D OpenGL applications, make CGI web applications, and so on...

    More info here:
    http://gambas.sourceforge.net/en/main.html

    Documentation here:
    http://gambasdoc.org/help/

    A Beginners Guide here:
    http://vectorlinux.osuosl.org/Uelsk8...nner-guide.pdf

    An active forum to have your Gambas questions answered can be found here:
    http://www.gambasforum.com/

  2. #82
    Join Date
    Dec 2009
    Location
    Buenos Aires, Argentina
    Beans
    132
    Distro
    Ubuntu Budgie 18.04 Bionic Beaver

    Question Re: Master Programming Tutorial Thread

    Quote Originally Posted by pmasiar View Post
    You can try Python from LiveCD, If you cannot, check Try Python website - please be considerate and don't abuse it!
    Hello. First of all thank you for giving us such valuable informatio. Second, I don`t know if I should reply to this thread without posting any new info about any programming. It is just to reply that this link http://www.mired.org/home/mwm/try_python/ is broken. It jumps to a non found page.

    Thank you.
    Follow me on Twitter or LinkedIn.

  3. #83
    Join Date
    Mar 2011
    Beans
    3
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: How to start programming - guides and links for many languages

    Turing
    what is it?
    turing is a very basic programming language, intended to be used to teach the beginnings of programming.

    wikipedia article: http://en.wikipedia.org/wiki/Turing_...ng_language%29
    main page: http://www.holtsoft.com/
    you will find a free book and IDE there, but it is a .exe file. it runs fine under WINE though.

  4. #84
    Join Date
    Jul 2010
    Location
    Cairo, Egypt
    Beans
    13
    Distro
    Ubuntu

    Re: How to start programming - guides and links for many languages

    Programming is not dependent on the language programming is a concept!
    You can learn these concepts with languages like C++, Python, Java.
    C++ and Python are amazing I prefer C++, Java is also a very good language but it is a little bit slow but has much more built in functions from C++ and it does not contain non stranded libraries as C++. If you learn the concept of Object oriented programming how to use functions how to build a GUI and so the concept is nearly the same in the rest of all the programming languages with slight differences which you can Google easily the syntax.

  5. #85
    Join Date
    May 2011
    Beans
    20

    Re: How to start programming - guides and links for many languages

    This thread (or a new sticky) should mention:

    developer.ubuntu.com as a good starting point for a variety of languages.
    www.stackoverflow.com as a fantastic site for programming Q&A.

  6. #86
    Join Date
    Jan 2010
    Location
    West Virginia, USA
    Beans
    38
    Distro
    Lubuntu 16.04 Xenial Xerus

    Re: How to start programming - guides and links for many languages

    (message "Thank you for pointing the way. Started learning a bit of Lisp a while back, sidetracked. As often the case in Linux / Unix seas of documentation exist. Like CLISP here, Gnu variety, of course elisp as well.")

  7. #87
    Join Date
    Oct 2007
    Beans
    10

    Re: How to start programming - guides and links for many languages

    Don't forget TCL. Things written in TCL will quite often work on other platforms with little or no mods.
    TCL Developer site
    Visual TCL (think Visual Basic like IDE).

  8. #88
    Join Date
    Jun 2006
    Location
    UK
    Beans
    Hidden!
    Distro
    Ubuntu 22.04 Jammy Jellyfish

    Re: How to start programming - guides and links for many languages

    Test bump
    Ubuntu 20.04 Desktop Guide - Ubuntu 22.04 Desktop Guide - Forum Guide to BBCode - Using BBCode code tags

    Member: Not Canonical Team

    If you need help with your forum account, such as SSO login issues, username changes, etc, the correct place to contact an admin is here. Please do not PM me about these matters unless you have been asked to - unsolicited PMs concerning forum accounts will be ignored.

  9. #89
    Join Date
    Jun 2011
    Location
    Paris
    Beans
    55

    Talking Re: How to start programming - guides and links for many languages

    I'd like to do one for each of the three most-popular jvm languages, but since I know Scala best I'll stick to that for now:



    Scala is a strong, statically-typed imperative/object oriented/functional language for the JVM. It was originally created by Martin Odersky, one of the creators of java's generics, as an experiment in fusing the object-oriented and functional programming paradigms. It has recently left the academic sphere and is now in use by the likes of Twitter, Foursquare, Sony, and others.

    Why use Scala?

    • Scala is fast! - Scala is on par with java in most benchmarks
    • Scala has type inferencing - Scala is more strongly typed than Java, but its type inferencing means you only need to manually write types a fraction of the time.
    • Scala is expressive - type classes, macros, for comprehensions, pattern matching, mixins and more
    • Scala easily interfaces with java libraries - nearly all java libraries work in scala without any effort.
    • Scala can be run on Android and other JVMs - Dalvik, OpenJDK, Oracle's JVM, and others can all run scala bytecode since scala compiles to standard jvm bytecode.


    What are the downsides to Scala?
    • Scala bytecode compatibility is brittle - Compared to Java, Scala bytecode is brittle. If you are using scala 2.10, you will have to use libraries compiled with scala 2.10. Right now brittleness only shows on major version changes (2.x changes).
    • Scala is complex - Scala has many many many many features. So many in fact that I still learn new ones on a regular basis after using Scala for 2 years.
    • Scala is as slow as C++ to compile - This is being worked on, and there are ways to work around the slow build times, but Scala takes around 2-3x as long to compile as Java.


    How can I get Scala?



    What IDEs are available?


    Build Systems?


    Where to start?


    Example Code:

    A quick hello world example in Scala:

    Code:
    object Main extends App {
        println("hello world!!")
    }
    Classes compared to java:
    Code:
    //Scala
    
    class Dog(name: String, legs: Int) { //Constructor
       var homeAddress = "7 villa condorcet"
       private var _age = 0
    
       def run = println("the dog ran")
       
       def age = _age //getter
       def age_=(years: Int) { _age = years } //setter
    }
    
    //Java
    
    class Dog {
    
       public String homeAddress = "7 villa condorcet";
       private int age = 0;
       final public String name;
       final public int legs;
       
       public Dog(String name, int legs) {
          this.name = name;
          this.legs = legs;
       }
       
       void run() {
           System.out.println("the dog ran");
       }
      
       int getAge() {
           return age;
       }
     
       void setAge(int years) {
           age = years;
       }
    }
    A memoized fibonacci example:
    Code:
    object Memo extends App {
    
        def memoize[A,B](fn: A => B) = {
            val dict = new HashMap[A,B]
            ((x: A) => (dict get x) getOrElse {
                val res = fn(x)
                dict(x) = res
                res
            })
        }
    
        val fib: BigInt => BigInt = memoize ( _ match { case n if n < 2 => n; case n => fib(n-1) + fib(n-2) } )
        
        fib(1000) // 43466557686937456435688527675040625802564660517371780402481729089536555417949051890403879840079255169295922593080322634775209689623239873322471161642996440906533187938298969649928516003704476137795166849228875
    }
    Bonus - Scala Job Listings: http://www.scalajobz.com/
    Last edited by Leuchten; May 24th, 2013 at 04:07 AM.

Page 9 of 9 FirstFirst ... 789

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
  •