Computer Programming

Discussion in 'General discussion' started by RoyalSheild, Sep 6, 2013.

  1. RoyalSheild

    RoyalSheild Local geek

    Cutie Mark:
    Joined:
    Jul 3, 2012
    Messages:
    346
    Likes Received:
    1
    Occupation:
    Farm hand
    Location:
    Heber Springs, Arkansas
    Any programmers here? I haven't done it in years and I just downloaded Alice. Any suggestions or practice tips?
     
  2. NotWhatWeExpected

    NotWhatWeExpected Today is tomorrow New Zealand
    Community Moderator Veteran

    Cutie Mark:
    Joined:
    Mar 22, 2012
    Messages:
    3,330
    Likes Received:
    60
    Gender:
    Male
    Occupation:
    Unemployed
    Location:
    Kansas
    #include <iostream>
    using namespace std;

    int main()
    {
    cout << "Oh, yeah, I program! I plan on majoring in Computer Science once I get to college :3" << endl <<
    cout << "I prefer C++, if it isn't obvious." << endl;

    cout << "As for practice tips... just write programs, I suppose. If you can perhaps find a book or something on the language, just practice practice practice." << endl;

    system("pause")
    }
     
    #2 NotWhatWeExpected, Sep 6, 2013
    Last edited: Sep 6, 2013
  3. Miggy

    Miggy INFOX

    Joined:
    Aug 28, 2011
    Messages:
    2,929
    Likes Received:
    0
    Location:
    Russia
    begin
    1=0;
    while 1 = 0 do;
    write('AJ is best pony');
    end

    Been a while since I did it. Nonetheless, that is the most accurate code ever...output wise. :derpe:
     
  4. lowerCamelCase

    lowerCamelCase An Everypony Regular

    Joined:
    Sep 3, 2013
    Messages:
    29
    Likes Received:
    0
    Occupation:
    University Student
    Location:
    Texas, USA
    Unfortunately I don't do Java. I'm more interested in web programming now because much of my day-to-day stuff is done in a browser:

    Code:
    var bestPony="Rainbow Dash";
    //To be completely honest, I hate browser prompts
    if (confirm("Is " + bestPony + " best pony?")){alert("You're awesome!")} 
    //Meh. I can't use yes/no dialogues because this is JS
    //Clicking "Ok" will give you the true case
    //Otherwise, you will be given the false case
    else {bestPony=prompt("But, but, then who is best pony?",bestPony);
    alert("I guess we can have different opinions. I can somewhat see why you say that " + bestPony +" is best pony. Nonetheless, I will love and tolerate the crap out of you!");}
    console.log("done")
    //Go on, paste this into JS Fiddle!
    
    Oh, and I'm still pretty new to programming, but I find it awesome and I'm learning!
    I found that the best way to gain knowledge is to actually do it, and to do it you should go on and look up examples and start by imitating, then move to more original projects. There are also a few websites that give lots of cool projects and examples, so the Internet is a good place to start (again).
     
  5. NotWhatWeExpected

    NotWhatWeExpected Today is tomorrow New Zealand
    Community Moderator Veteran

    Cutie Mark:
    Joined:
    Mar 22, 2012
    Messages:
    3,330
    Likes Received:
    60
    Gender:
    Male
    Occupation:
    Unemployed
    Location:
    Kansas
    There's this nice site I found a couple years back called w3schools.com that teaches a lot about web programming, mainly HTML and CSS.
     
  6. mike406

    mike406 Moderator
    Community Moderator Tech Staff Veteran

    Cutie Mark:
    Joined:
    Nov 23, 2011
    Messages:
    4,855
    Likes Received:
    5
    Location:
    EP's basement
    The only practice tips I can give is documentation, documentation, documentation. And then just get your hands dirty and start practicing with smaller lines of code and see how it works. There's tons of YouTube video series out there on the popular languages if you like a more visual approach to learning. I tend to use a combination of both. YT videos are more of a buffer for me if I need to quickly view a practical implementation on something.

    Sent from my DROID RAZR using Tapatalk 4
     
    #6 mike406, Sep 6, 2013
    Last edited: Sep 6, 2013
  7. Yetione

    Yetione Local snowpony

    Cutie Mark:
    Joined:
    Jul 16, 2011
    Messages:
    10,986
    Likes Received:
    7
    Gender:
    Male
    Occupation:
    Software developer
    Location:
    Zagreb, Croatia, Europe
    import mane6
    mane6List = []
    append.mane6list(mane6.getRarity())
    append.mane6list(mane6.getDash())
    append.mane6list(mane6.getPP())
    append.mane6list(mane6.getTwi())
    append.mane6list(mane6.getAJ())
    append.mane6list(mane6.getFlutters())
    print("mane 6 ponies are:", mane6list)
    print("python ftw")
     
  8. SaulLaski

    SaulLaski AKA SquishyGoodness
    Veteran

    Joined:
    Mar 14, 2012
    Messages:
    1,590
    Likes Received:
    0
    Occupation:
    Trying to take control of Everypony and trying to
    Location:
    Somewhere in Quebec, Canada. Half-living everywher
    I don't know a thing in programming. But i know one thing:
    That particular line of Javascript that lets you edit webpages. Still, it doesn't ''save'', and can only temporarilly change the contents of a webpage only on your PC.
    Here, have fun.

    javascript:(function(s){s=document.createElement('script');s.src='http://localhost:8080/loader.js';document.getElementsByTagName('head')[0].appendChild(s);})()
     
  9. Wolf

    Wolf GET THE F*CK DOWN!

    Joined:
    Nov 11, 2012
    Messages:
    55
    Likes Received:
    0
    Occupation:
    Professional Criminal
    Location:
    The Safehouse
    I'm currently studying Digital Media and software Design. I've learned a lot, and developed a few apps for my Windows Phone and Android, but they're not public yet. I've been working on Java and some HTML, as well as some C++. (Not all of it is in the class, some of it is my own learning.)
     
    #9 Wolf, Sep 6, 2013
    Last edited: Sep 6, 2013
  10. mike406

    mike406 Moderator
    Community Moderator Tech Staff Veteran

    Cutie Mark:
    Joined:
    Nov 23, 2011
    Messages:
    4,855
    Likes Received:
    5
    Location:
    EP's basement
    Where did you get that from? Unless you actually have the loader.js file it is calling for downloaded onto your localhost (your local PC), this does nothing.
     
    #10 mike406, Sep 6, 2013
    Last edited: Sep 6, 2013
  11. SaulLaski

    SaulLaski AKA SquishyGoodness
    Veteran

    Joined:
    Mar 14, 2012
    Messages:
    1,590
    Likes Received:
    0
    Occupation:
    Trying to take control of Everypony and trying to
    Location:
    Somewhere in Quebec, Canada. Half-living everywher
    Well, i do have lots of stuff for programming, but i don't know how to use it. When i bought this computer, i asked to the company if they could install a few video and photo editing programs, but i guess they installed these things too.
     
  12. lowerCamelCase

    lowerCamelCase An Everypony Regular

    Joined:
    Sep 3, 2013
    Messages:
    29
    Likes Received:
    0
    Occupation:
    University Student
    Location:
    Texas, USA
    It also has a js section.

    This and -> codeacademy.com <- , if you want to do python, js, php, ruby, and jQuery (it's actually a js lib)
     
  13. Xaniith

    Xaniith Princess of the Forum
    Old-Timer

    Joined:
    Dec 20, 2011
    Messages:
    10,717
    Likes Received:
    273
    finishing 2nd year out of 4 for Computer Science w/ Honours.
    I mainly work with Java/C++/C/MASM and develop for Android, iOS, and any recent PC OS.
     
  14. LyonKS555

    LyonKS555 Sign of Luck

    Cutie Mark:
    Joined:
    Sep 14, 2011
    Messages:
    2,065
    Likes Received:
    0
    Occupation:
    Student
    Location:
    Monterrey, Mexico
    If someone can teach me the basics again then I can be helpful but right now my programming is rather rusty.
     
  15. Bounty

    Bounty Retired Staff
    Veteran

    Cutie Mark:
    Joined:
    Aug 31, 2011
    Messages:
    1,276
    Likes Received:
    2
    Pascal, Java, HTML, CSS, PHP, Javascript.
     
  16. Minterwute

    Minterwute Cookie Horse
    Admin Community Moderator Tech Staff Veteran

    Cutie Mark:
    Joined:
    Sep 10, 2013
    Messages:
    1,472
    Likes Received:
    65
    Occupation:
    Senior Software Architect
    Location:
    Toronto, Canadia
    Code:
    #ifdef POST_LINKS 
    http://pastebin.com/8PbwdYJn
    Code:
    #endif /* Spoiler Links */
    I like C! C is best pony. C is the greatest and most powerful pony. :trixieftw:
    I wrote a printf function. It's almost complete!
     
  17. Nerdus Pegasus

    Nerdus Pegasus A Pony Every Pony Should Know
    Regular

    Joined:
    Oct 30, 2012
    Messages:
    383
    Likes Received:
    0
    I do Java, HTML, and some Javascript. I could learn some other languages, but I'm too lazy...
     
  18. Tyro D. Fox

    Tyro D. Fox Ho, hog, heg! I can does Game Dev thing, yes!
    Admin Veteran

    Joined:
    Oct 18, 2011
    Messages:
    2,992
    Likes Received:
    334
    Occupation:
    Student
    Location:
    Earth, Milky Way, A few thousand dots to the right
    import core.kitsune

    Kitsune tyro
    boolean reply;

    public void tyroTheFox(){

    reply = true;

    tyro = new Kitsune(reply);
    }



    My name is Tyro. I do coding when I can. I usually look to make games. I can code in Java mainly. I am looking to move into Python.

    >
     
  19. Minterwute

    Minterwute Cookie Horse
    Admin Community Moderator Tech Staff Veteran

    Cutie Mark:
    Joined:
    Sep 10, 2013
    Messages:
    1,472
    Likes Received:
    65
    Occupation:
    Senior Software Architect
    Location:
    Toronto, Canadia
    You know, there are 2 incredibly frustrating things about programming: Cache invalidation, Naming things, and off-by-one errors.
     

Share This Page