Programmers' Corner

Nerevar

Sonata Dusk
Staff member
Aug 27, 2005
10,637
179
63
Equestria
#1
I've recently been getting into programming. I spent the last month teaching myself Javascript. Now I'm leaning Python (for my introduction to programming class). Later I want to mess with Java so I can mod Minecraft. <3

Anyway, I figured a thread for coders would be fun, presuming there's any others here. We can discuss and help each other on any projects or languages, or maybe do challenges if we have enough people. Personally, I could use help with python if anyone's willing.
 
Last edited:

Ixion

Ultimate Veteran
Nov 29, 2005
20,455
209
0
28
New York
#2
What a coincidence! I'm trying to learn Java. I started about a week ago.

I mainly want to learn Java because it's very similar to APEX, which is the coding language of Salesforce. Most of my job involves administrating Salesforce for our company, and learning the coding language behind it will really help me do some cool things. Salesforce developers recommend learning Java first.

I'm using a tightly edited 4-hour video to teach me the basics. You can watch the first hour for free:

[video=youtube;3u1fu6f8Hto]http://www.youtube.com/watch?v=3u1fu6f8Hto[/video]


Anyway, I just started messing around with some actual coding earlier today. I'm using Eclipse and making some simple programs. I actually took three programming classes in college, including a Java class, but I didn't retain anything. lol

I definitely heard that Python is the best language for beginners though, so it sounds like you're on the right path. I would do the same if APEX wasn't 95% like Java. Besides, at least Java is better for beginners than C++ apparently.
 

John Willaford

Dedicated Member
Feb 28, 2013
1,050
17
0
Owings Mills, MD
#3
Java is 'better' for beginners than C++ because you have
A: Standardized non proprietary GUI libraries to learn on.
B: Automatic Garbage Collection, for better or worse. You can mess with the JVM GC a little bit by setting variables, particularly large objects, to null after your SURE they don't need reuse. I once had an object that was just TOOOOO big and needed it to go away, the JVM wasn't necessarily ontop of it, so, I set it to null after it was outside of scope (sadly, nested big loops were just necessary for this operation, it was a brute force Game Of Life program for a class, nothing as elegant as Hashlife, but not so bad, using an array of BitSet objects for the rows (the array was the row, each element of the array the column, each element of the screen delineated from it's on screen position into an array position, each position written into a Position type queue which was then exported to array and analysed. Not a math nut's version but quite fast and better than the rest of what was going on in class). null does work alot, i'd already noticed before.
Don't get stuck in a rut
. work with interfaces and threads and processes. It never dawns on you what you can really do till you learn the big picture parts of the language.
 

Nerevar

Sonata Dusk
Staff member
Aug 27, 2005
10,637
179
63
Equestria
#4
[QUOTE="Ixion, post: 6290126]Anyway, I just started messing around with some actual coding earlier today.[/QUOTE]

What have you made? I literally started messing with python a few hours ago. I have a few basic scripts set up:

1) A 'tax-adder'. You put in the base cost of the item, it asks for the tax rate, and it spits out the total amount due.
2) Temperature conversion between Fahrenheit and Celsius. The user can choose which they're converting to, then put in the temperature, and it will tell the other half.
3) A cipher. You put in a word and it encrypts it. Surprisingly useful; I may start using it for my site passwords.

All of these are usually recommended for beginners, but I'm really happy with the progress so far. I thought about making a short text adventure game for fun next.
 

Shingo

Forum Guru
Dec 21, 2011
3,635
42
48
#5
I am a software engineer, coding with Java for 5 years. If you have any questions, I may give some help. Stackoverflow is my favorite place tho :D
 

Abdou23

Forum Elder
Sep 16, 2008
2,757
10
0
Egypt
#6
[QUOTE="Shingo, post: 6290140]I am a software engineer, coding with Java for 5 years. If you have any questions, I may give some help. Stackoverflow is my favorite place tho :D[/QUOTE]

With very basic Java knowledge ( from some youtube tutorials ) what is the best way to learn Android developing ?!
 

Christopher

Community and Technical Manager
Staff member
Jun 1, 2007
11,903
93
48
47
Newnan, GA
#7
[QUOTE="Shingo, post: 6290140]I am a software engineer, coding with Java for 5 years. If you have any questions, I may give some help. Stackoverflow is my favorite place tho :D[/QUOTE]

Fellow SE man! I haven't done much Java since grad school. I've been programming C# professionally for almost 12 years. Here, obviously, I'm programming PHP.

Yeah, Stackoverflow is awesome. Glad to see this thread though.

[QUOTE="Abdou23, post: 6290168]With very basic Java knowledge ( from some youtube tutorials ) what is the best way to learn Android developing ?![/QUOTE]

Yep....Java.
 

Christopher

Community and Technical Manager
Staff member
Jun 1, 2007
11,903
93
48
47
Newnan, GA
#9
[QUOTE="F34R, post: 6290234]C#, PHP, Java, Obj. C, Lua, C.

I've been involved in a lot of things since the release of the PSP. :)[/QUOTE]

I've programmed with all those except Lua. I remember you talking about your Lua apps on the PSP forums. You still writing stuff?
 
Feb 11, 2008
40,316
430
83
South Carolina
#10
[QUOTE="Christopher, post: 6290236]I've programmed with all those except Lua. I remember you talking about your Lua apps on the PSP forums. You still writing stuff?[/QUOTE]

I think my hardcore programming days are over. I would love to continue where I left off two years ago, but I don't think that will ever be possible in the same scope as it used to be.
I can handle basic things still, and have done a few things I'd rather not admit to here. :snicker
 

Shingo

Forum Guru
Dec 21, 2011
3,635
42
48
#12
[QUOTE="Christopher, post: 6290173]Fellow SE man! I haven't done much Java since grad school. I've been programming C# professionally for almost 12 years. Here, obviously, I'm programming PHP.

Yeah, Stackoverflow is awesome. Glad to see this thread though.

Yep....Java.[/QUOTE]
Glad to see some colleague here! I do get every kind of language back in the uni days , yet I only use lots of Java and a little bit C# now , because of my companies policies.

@Abdou23
If you wish to build simple apps, Java is enough, I am currently building some now, don't know a thing about game apps.
 

Abdou23

Forum Elder
Sep 16, 2008
2,757
10
0
Egypt
#13
[QUOTE="Christopher, post: 6290173]


Yep....Java.[/QUOTE]

Any good online tutorials ?! I know there are hundreds but the problem is those people aren't very good at caring for their learners, when i get stuck i ask the question and most likely i will not be getting an answer, or to be specific a solution.
 

Christopher

Community and Technical Manager
Staff member
Jun 1, 2007
11,903
93
48
47
Newnan, GA
#14
[QUOTE="Abdou23, post: 6290458]Any good online tutorials ?! I know there are hundreds but the problem is those people aren't very good at caring for their learners, when i get stuck i ask the question and most likely i will not be getting an answer, or to be specific a solution.[/QUOTE]

Tutorials are not good places to go to try and solve problems. They just get you started. When I have a problem that isn't just a basic syntax issue or something simple like that, I just google the problem as descriptive as I can. That may seem obvious, but I have found that 9 times out of 10, whatever issue I have had someone else has had it as well. Remember, errors are your friend. Sometimes I just copy and paste the error into google and find a solution.

Stackoverflow.com was mentioned. Excellent resource. I would create an account there. If your problem has already been posted then post it yourself.

But post it here as well. Maybe we can help you figure it out.
 

mistercrow

Ultimate Veteran
Nov 10, 2007
24,742
238
0
Texas
#18
[QUOTE="Ghost, post: 6290270]I am pretty good with HTML bitches! Also got into a bit of CSS. :snicker[/QUOTE] I got into quite a bit of LSD when I was younger. lol
 

ex nihilo7

Master Poster
Nov 13, 2006
3,373
10
38
#19
I have a bachelors and masters degree in computer science and am a software developer. I started off learning with C++ then took a java class. Now I program using java and some other languages almost every day at work.
 

Christopher

Community and Technical Manager
Staff member
Jun 1, 2007
11,903
93
48
47
Newnan, GA
#20
[QUOTE="ex nihilo7, post: 6292261]I have a bachelors and masters degree in computer science and am a software developer. I started off learning with C++ then took a java class. Now I program using java and some other languages almost every day at work.[/QUOTE]

Cool. My Masters is in CS....bachelors in English Lit. Yeah.....I had to take a ton of bridge classes to get into the Masters program as you can imagine.
 

ex nihilo7

Master Poster
Nov 13, 2006
3,373
10
38
#21
[QUOTE="Christopher, post: 6292267]Cool. My Masters is in CS....bachelors in English Lit. Yeah.....I had to take a ton of bridge classes to get into the Masters program as you can imagine.[/QUOTE]

Yeah way different programs haha. My masters pretty much felt like a continuation from my undergrad.
 

Christopher

Community and Technical Manager
Staff member
Jun 1, 2007
11,903
93
48
47
Newnan, GA
#22
[QUOTE="ex nihilo7, post: 6292272]Yeah way different programs haha. My masters pretty much felt like a continuation from my undergrad.[/QUOTE]

I had worked in the industry for almost 10 years prior to going to grad school so it wasn't entirely foreign. Once I got over discrete math and algorithm analysis, I was good. :cool:

Where did you go to school? I went to Auburn for undergrad. DePaul for grad.
 

ex nihilo7

Master Poster
Nov 13, 2006
3,373
10
38
#24
[QUOTE="Christopher, post: 6292470]I had worked in the industry for almost 10 years prior to going to grad school so it wasn't entirely foreign. Once I got over discrete math and algorithm analysis, I was good. :cool:

Where did you go to school? I went to Auburn for undergrad. DePaul for grad.[/QUOTE]

I went to Michigan for both degrees. I am glad I'm done with school. :)
 

Vulgotha

Power Member
Jan 6, 2007
15,776
148
0
28
#25
I hate Java lol.

I know PHP, Coldfusion, Javascript, HTML(5), CSS(3) some CMS specific stuff..
 
Last edited:

Christopher

Community and Technical Manager
Staff member
Jun 1, 2007
11,903
93
48
47
Newnan, GA
#26
[QUOTE="ex nihilo7, post: 6292889]I went to Michigan for both degrees. I am glad I'm done with school. :)[/QUOTE]

As am I brother!
 

Christopher

Community and Technical Manager
Staff member
Jun 1, 2007
11,903
93
48
47
Newnan, GA
#28
[QUOTE="F34R, post: 6292897]I no has a degree. :([/QUOTE]

I work with a number of professional programmers who don't either. Some of them are better programmers than me. Biggest difference? My student loan. sigh
 

Itachi

Forum Sage
Nov 13, 2010
8,246
110
0
Winterfell
#29
I know C++ and Java mostly due to school.

What's funny is as I'm typing this, I'm procrastinating on a assignment of programming a microcontroller board because I have no idea how this proprietary software works. Only had one class before and my group mates aren't much help either
 
Feb 11, 2008
40,316
430
83
South Carolina
#30
[QUOTE="Christopher, post: 6292901]I work with a number of professional programmers who don't either. Some of them are better programmers than me. Biggest difference? My student loan. sigh[/QUOTE]

That's encouraging. :snicker

I did some work that I won't admit I did, nor will my name be tagged along with it. :snicker