Author Topic: Programming 101  (Read 6998 times)

0 Members and 1 Guest are viewing this topic.

Offline Stogi

  • The Stratos You Should All Try To Be Like
  • Score: 18
    • View Profile
Programming 101
« on: October 24, 2014, 12:09:39 AM »
I'm learning how to program because like Chinese, it's the language of the future.


Gonna start with xcode so I can mess around building stupid little apps. I was wondering if anyone here programs for a living or as a hobby and would like to share any tips and tricks they've learned along the way. Anything at all would be appreciated.


That said, maybe I should start the discussion about programming in general. What language or software do you use and why?
black fairy tales are better at sports

Re: Programming 101
« Reply #1 on: October 24, 2014, 12:31:20 AM »
I have some very limited experience in C++ JAVA, and BASIC plus some HTML. I haven't gotten very far in any language and I have been out of it for a while. My interests are mostly curiosity. I studied C++ around the same time I was learning Japanese and unfortunately neither of them stuck worth a damn.
Trying to be a better person, honest.

Offline azeke

  • He's ruining Splatfest for the rest of us
  • Score: 11
    • View Profile
Re: Programming 101
« Reply #2 on: October 24, 2014, 12:32:45 AM »
I've been programming for a living for almost a decade now.

Languages, development platforms -- it all blends together after a while. But it's usually not a big problem for me to learn a new language as long as documentaion is there. Assembler, C, C++, Java, Lotus, web platforms, .Net -- give me docs and few working examples and i'll crack it open.

In my student years i've spent a lot of time studying exotic programming languages so mainstream stuff is nothing for me now.

The big thing about our profession is that technologies come and go all the time and you have to keep learning 24/7 and once you feel you've mastered it -- it becomes obsolete as new shiny new technology comes.

I've spent 2 years coding on C# for government projects in 2011–2012, and forgot a lot of stuff. Good (bad) thing that i don't have relearn it all over again -- lots of it has gone obsolete by now.
Winners don't hate and W101 rocks

Offline Stogi

  • The Stratos You Should All Try To Be Like
  • Score: 18
    • View Profile
Re: Programming 101
« Reply #3 on: October 24, 2014, 12:43:35 AM »
Well in that sense of things becoming obsolete, where do you suggest I begin?
black fairy tales are better at sports

Offline ShyGuy

  • Fight Me!
  • *
  • Score: -9660
    • View Profile
Re: Programming 101
« Reply #4 on: October 24, 2014, 01:08:52 AM »
Start with BASIC.

10 PRINT "HELLO WORLD"
20 GOTO 10
RUN

Offline Khushrenada

  • is an Untrustworthy Liar
  • NWR Junior Ranger
  • Score: 40
    • View Profile
Re: Programming 101
« Reply #5 on: October 24, 2014, 01:56:58 AM »
I wouldn't recommend programming.

The government has a secret system: a machine that spies on you every hour of every day. I know, because I built it.

I designed the machine to detect acts of terror, but it sees everything. Violent crimes involving ordinary people; people like you. Crimes the government considered 'irrelevant'. They wouldn't act, so I decided I would. Hunted by the authorities, I know have to work in secret. I even had to fake my own death.

It's a tough and lonely life being a genius programmer.
Whoever said, "Cheaters never win" must've never met Khushrenada.

Offline Ceric

  • Once killed four Deviljho in one hunt
  • Score: 0
    • View Profile
Re: Programming 101
« Reply #6 on: October 24, 2014, 09:25:13 AM »
...
I've spent 2 years coding on C# for government projects in 2011–2012, and forgot a lot of stuff. Good (bad) thing that i don't have relearn it all over again -- lots of it has gone obsolete by now.
I'll have to disagree with  you there Azeke.  I found that the true pace of change in programming has slown down in the last few years.  Unless your working in Fringe areas are allowed to work at the true cutting edge doing edge case stuff that it hasn't changed that much.

Yes there is new technology all the time but, obsolete is a strong word now.


Though for a lot of people I would recommend learning SQL over programming.  It just come in handy more day to day in more fields.
« Last Edit: October 24, 2014, 09:26:51 AM by Ceric »
Need a Personal NonCitizen-Magical-Elf-Boy-Child-Game-Abused-King-Kratos-Play-Thing Crimm Unmaker-of-Worlds-Hunter-Of-Boxes
so, I don't have to edit as Much.

Offline azeke

  • He's ruining Splatfest for the rest of us
  • Score: 11
    • View Profile
Re: Programming 101
« Reply #7 on: October 24, 2014, 01:37:19 PM »
Well in that sense of things becoming obsolete, where do you suggest I begin?
Technologies.
Four-three years ago Silverlight was the hottest ****, and it was pushed by Microsoft as the next big thing. Cue to two years and it's dead. But we still have an old legacy project on Silverlight that we have to maintain and update somehow.

When i worked on our country's "e-government" project we used ORM (library that simplifies access to databases) called NHibernate and for web-interface we used js library called Ext JS (that later restructurized into Sencha, and we lost lots of documentation in the process becuse they made it paid access only).

When i wanted to write a new system on ASP.Net i ditched NHibernate and used Microsoft's own Entity Framework. That was a year and half ago. I have a crawling suspicion that it's also became obsolete by now (i ditched that project and picked completely different development platform).

If it sound complicated -- well, it is.

It doesn't really matter what you're going to start with if you want to be employed -- each time you will be learning entirely new stuff.

I guess Java is as good starting point as any. I really like Python -- mainly beuase it looks so noob friendly (but i haven't actually used it much). Javascript is a cool language, though by now it has become more of platform itself for big frameworks like Dojo or jQuery that evolved into quasi languages themselves.
Winners don't hate and W101 rocks

Offline BranDonk Kong

  • Eat your f'ing cat!
  • Score: 10131
    • View Profile
Re: Programming 101
« Reply #8 on: October 24, 2014, 01:57:20 PM »
xcode is an IDE, not a language. I wouldn't recommend start with Objective C, but then again I've never written Objective C. Java is pretty simple to start with.
I think it says on the box, 'No Hispanics' " - Jeff Green of EA

Offline Ceric

  • Once killed four Deviljho in one hunt
  • Score: 0
    • View Profile
Re: Programming 101
« Reply #9 on: October 24, 2014, 03:28:11 PM »
Honestly Java or C# would be good starting points.  They both are C-Style programming that trickle into a lot of places.

Yeah, Entity Framework I know is hot in its own way but a lot like Linq for SQL I never saw the point.  The projects I've worked with that have it are a nightmare for me to really maintain compared to just going ahead and doing traditional SQL access.
Need a Personal NonCitizen-Magical-Elf-Boy-Child-Game-Abused-King-Kratos-Play-Thing Crimm Unmaker-of-Worlds-Hunter-Of-Boxes
so, I don't have to edit as Much.

Offline BranDonk Kong

  • Eat your f'ing cat!
  • Score: 10131
    • View Profile
Re: Programming 101
« Reply #10 on: October 24, 2014, 05:37:51 PM »
Didn't even think about Python - that probably would be a great starting point. It's interpreted so you can see mistakes or successes rather easily. It's almost too easy to use as a starting point though. Also it basically has everything you could ever think of, you could probably put like
import videogame
and just print out a game.
I think it says on the box, 'No Hispanics' " - Jeff Green of EA

Offline BranDonk Kong

  • Eat your f'ing cat!
  • Score: 10131
    • View Profile
Re: Programming 101
« Reply #11 on: October 25, 2014, 08:31:27 PM »
Here's a kind of neat C++ program, part of a project for a class I'm taking (Host and Application Security)

#include <fstream>

using namespace std;

int main () {
   ofstream comFile;
   comFile.open("C:\\8086\\test.com");
   unsigned char bytes[] = { 0x0E, 0x1F, 0xBA, 0x0E, 0x01, 0xB4, 0x09, 0xCD, 0x21, 0xB8, 0x01, 0x4C, 0xCD, 0x21, 0x48, 0x65, 0x6C, 0x6C, 0x6F, 0x20, 0x57, 0x6F, 0x72, 0x6C, 0x64, 0x21, 0x0D, 0x0D, 0x24 };
   comFile << bytes;
   comFile.close();
   return 0;
}


Run the .COM file it outputs in DOS...
I think it says on the box, 'No Hispanics' " - Jeff Green of EA

Offline BranDonk Kong

  • Eat your f'ing cat!
  • Score: 10131
    • View Profile
Re: Programming 101
« Reply #12 on: October 25, 2014, 09:43:22 PM »
And if anyone wants to help me mutate that array or add some nops (properly) so that it does the same thing, but the file it creates can be changed every time its run...you get $1.
I think it says on the box, 'No Hispanics' " - Jeff Green of EA

Offline Stratos

  • Stale lazy meme pirate
  • Score: 70
    • View Profile
Re: Programming 101
« Reply #13 on: November 02, 2014, 10:24:16 PM »
I have dabbled in programming since high school. I'm taking classes now for a Computer Science/Engineering degree.


Great place to learn is Codecademy. There are free self-pace lessons in programs like Python, which is a great starter language.
My Game Collection
NNID: Chronocast
Switch: SW-6786-5514-9978
3DS Friend Code: 0447-5723-6467
XBL Gamertag: Chronocast

Offline Stogi

  • The Stratos You Should All Try To Be Like
  • Score: 18
    • View Profile
Re: Programming 101
« Reply #14 on: November 03, 2014, 10:45:52 AM »
Thanks for the link, Stratos. That site is legit.
black fairy tales are better at sports

Offline Stratos

  • Stale lazy meme pirate
  • Score: 70
    • View Profile
Re: Programming 101
« Reply #15 on: November 03, 2014, 05:57:00 PM »
Got me a 4.0 in my programming class. Hope it helps you out as well.
My Game Collection
NNID: Chronocast
Switch: SW-6786-5514-9978
3DS Friend Code: 0447-5723-6467
XBL Gamertag: Chronocast

Offline Stogi

  • The Stratos You Should All Try To Be Like
  • Score: 18
    • View Profile
Re: Programming 101
« Reply #16 on: November 04, 2014, 01:10:32 AM »
Not in school anymore, but learning never stops.

I've taken one class so far and it is well put together. I'm actually intrigued about what's going on behind the scenes, so maybe if they teach me well enough, I'll understand it.
black fairy tales are better at sports

Offline BranDonk Kong

  • Eat your f'ing cat!
  • Score: 10131
    • View Profile
Re: Programming 101
« Reply #17 on: November 04, 2014, 09:21:51 AM »
I'm writing a virus right now for one of my classes. Nothing harmful though.
I think it says on the box, 'No Hispanics' " - Jeff Green of EA