Page 1 of 3 123 LastLast
Results 1 to 10 of 22

Thread: Coding

  1. #1
    Join Date
    Mar 2007
    Location
    Scotland
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default Coding

    Ok, so i have been dabbling in a little bit of coding here and there. Html, Python, Basic but nothing really major. And I was wondering if anyone has any advice on where to start when becoming a serious coder?

  2. #2
    Join Date
    Jul 2006
    Location
    Antwerp, Belgium (Europe)
    Posts
    927
    Thanks
    121
    Thanked 2 Times in 2 Posts

    Default

    Practise, look and learn, look at codes in other sites and try to remake them. Read the threads on the forum, and see if they make sense to you. If they don't, then read more about it.

  3. #3
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Python's pretty major. If you know Python well, you've already started
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  4. #4
    Join Date
    Mar 2007
    Location
    Scotland
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    Python Command Line [v2.5].
    Its really crap, like you type:-

    Example:
    PRINT "Hello my name is Bob"
    Hello my name is Bob
    6+5
    11

    -:which is really boring. I want to step up. I am very fluent in COMAL but that too is very basic.

    I want to move onto maybe, PHP or MySQL. Maybe even Javascript.

  5. #5
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    which is really boring. I want to step up.
    How about you learn to write proper programs in Python rather than just fiddling with the command line, then? If you're already familar with Python, I suggest you take that to the next level rather than starting a whole new language. Python isn't basic at all, once you know what to do with it; it's a fully-featured language, considerably more powerful than PHP or Javascript (although obviously if you're going to be doing web development you'll want Javascript for client-side scripting; Mozilla are planning to introduce client-side Python scripting for Firefox 3, but I expect it will take a while to catch on).
    If you already know Python, there's really little need to learn PHP as well; with a framework like Django, it's easy to use Python for server-side scripting, and your code ends up being a lot nicer than the equivalent in PHP, too.
    Python Command Line [v2.5].
    Its really crap, like you type:-

    Example:
    PRINT "Hello my name is Bob"
    Hello my name is Bob
    6+5
    11

    -:which is really boring.
    Try installing wxPython and doing:
    Code:
    >>> import wx
    >>> a = wx.App()
    >>> f  = wx.Frame(None, title="My First wxPython App")
    >>> a.SetTopWindow(f)
    >>> wx.StaticText(a, label="Hello, world, this is my first GUI app!")
    >>> f.Show()
    >>> a.MainLoop()
    Last edited by Twey; 04-02-2007 at 04:56 PM.
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  6. #6
    Join Date
    Mar 2007
    Location
    Scotland
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default

    How to I convert Python to "program-writing" mode then?

  7. #7
    Join Date
    Jun 2005
    Location
    英国
    Posts
    11,876
    Thanks
    1
    Thanked 180 Times in 172 Posts
    Blog Entries
    2

    Default

    Uh, I don't think you really have a solid understanding of Python (or interpreted languages in general, actually). Put your program in a file, then run the Python interpreter against it:
    Code:
    twey@peordh /home/twey $ python sample.py
    Twey | I understand English | 日本語が分かります | mi jimpe fi le jbobau | mi esperanton komprenas | je comprends français | entiendo español | tôi ít hiểu tiếng Việt | ich verstehe ein bisschen Deutsch | beware XHTML | common coding mistakes | tutorials | various stuff | argh PHP!

  8. #8
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    How to I convert Python to "program-writing" mode then?
    I think we are straying away from the idea: it's basically the "programming" (not web-programming) aspect of Python.
    If you're looking for some languages to look in, here are some:

    Server-side - deals with forms, data, database management
    PHP
    ASP

    Client-side - not as important, has to do with dynamic content
    JavaScript
    AJAX (extension of JavaScript)
    CSS
    Last edited by mburt; 04-02-2007 at 06:31 PM.
    - Mike

  9. #9
    Join Date
    Jun 2006
    Location
    Acton Ontario Canada.
    Posts
    677
    Thanks
    0
    Thanked 1 Time in 1 Post

    Default

    Quote Originally Posted by mburt View Post
    Server-side - deals with forms, data, database management
    PHP
    ASP
    Client-side - not as important, has to do with dynamic content
    JavaScript (functionality/behavior)
    AJAX (extension of JavaScript)
    CSS (looks)
    Fixed...
    You mixed them up, mburt... Try not to confuse the new ones.
    - Ryan "Boxxertrumps" Trumpa
    Come back once it validates: HTML, CSS, JS.

  10. #10
    Join Date
    Jul 2006
    Location
    Canada
    Posts
    2,581
    Thanks
    13
    Thanked 28 Times in 28 Posts

    Default

    Oops... I definitely mixed them up, but I do know which from which.
    It makes sense:
    Client - literally the client's computer
    Server - from the webserver

    I don't normally mix them up
    - Mike

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
  •