Coding in business school

A place to discuss anything not related to the game.
twirlimp
Posts: 204
Joined: Wed Dec 30, 2015 8:00 am
android_version: 4.3

Coding in business school

Post by twirlimp » Fri Jan 01, 2016 4:16 pm

Voom wrote:I like it. I wish I had your ability for coding. I go to business school and will most likely learn only a very limited amount. I attempted mapmaking and completed several area blocks, they were awesome, but my brother started deleting unnecessary programs and defragging the computer and deleted everything, even Tiled! After that I was just angry and never attempted again.

Anyway, you could do far more than I could...for now. Keep it up.
I'm in business school too!

I learned coding on my own and decided to keep it as a hobby instead of majoring in it (long story).
ideas plox

User avatar
Voom
Posts: 466
Joined: Sat Dec 19, 2015 5:24 pm
android_version: 4.4
Location: Fort Lauderdale, FL

Re: Github Fork: Attacked Monsters Follow Player when he Flees, Mons Flee when low HP, Basic Ranged Attacks Support

Post by Voom » Sat Jan 02, 2016 10:33 am

twirlimp wrote:
I'm in business school too!

I learned coding on my own and decided to keep it as a hobby instead of majoring in it (long story).
Oh great, but how did you learn to code? Which language? Where? I used code academy to learn HTML & CSS, but is for web design... not to get off topic.
Voomster Lvl 23 |HP 52 |AC 173% |AD 17-52 |ECC 20% |CM 3.0 |BC 61% |DR 2 Build 2/3221/0

Voomboy Retired at 41 and is reading The Fey of Feygard
Voom Retired at 46 and took up translating

twirlimp
Posts: 204
Joined: Wed Dec 30, 2015 8:00 am
android_version: 4.3

Re: Github Fork: Attacked Monsters Follow Player when he Flees, Mons Flee when low HP, Basic Ranged Attacks Support

Post by twirlimp » Sat Jan 02, 2016 10:37 am

Voom wrote:
twirlimp wrote:
I'm in business school too!

I learned coding on my own and decided to keep it as a hobby instead of majoring in it (long story).
Oh great, but how did you learn to code? Which language? Where? I used code academy to learn HTML & CSS, but is for web design... not to get off topic.
Originally I tried with C++ but it was just too irritating for a beginner.

So I stopped when I reached the chapter about pointers.
It's really a bad language to work with when starting out.

Then I learnt Python and that's when everything just clicked.

Then I learnt Java (because I had to in my first CompSci semester before I transferred) and discovered that it doesn't have all the really irritating things in C.
ideas plox

Zukero
Lead Developer
Posts: 1455
Joined: Thu Jul 21, 2011 9:56 am
android_version: 7.1

Re: Coding in business school

Post by Zukero » Sat Jan 02, 2016 7:02 pm

Understanding how pointers work is rather important whichever language you use, especially Java. Mastering them for use in C/C++ is another matter though ;)
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2

User avatar
Voom
Posts: 466
Joined: Sat Dec 19, 2015 5:24 pm
android_version: 4.4
Location: Fort Lauderdale, FL

Re: Coding in business school

Post by Voom » Sat Jan 02, 2016 9:16 pm

Ok. For instance, what language would be good in the case for coding AT script? I assume Java, right? My brother is learning Python and he manages...
Voomster Lvl 23 |HP 52 |AC 173% |AD 17-52 |ECC 20% |CM 3.0 |BC 61% |DR 2 Build 2/3221/0

Voomboy Retired at 41 and is reading The Fey of Feygard
Voom Retired at 46 and took up translating

Zukero
Lead Developer
Posts: 1455
Joined: Thu Jul 21, 2011 9:56 am
android_version: 7.1

Re: Coding in business school

Post by Zukero » Sat Jan 02, 2016 9:21 pm

There's no scripting per se in AT (yet ?). You either code in java, or use the dialogue system, which is already used for some form of scripting in the game. It is in essence a very simple condition/transition/reward system.
Lvl: 78, XP: 8622632, Gold: 271542, RoLS: 1, ElyR: -, RoL: -, ChaR: 1, GoLF: 1, ShaF: 1, SRoV: 1, VSH: 1, WMC: 1, GoW: 1
HP: 71, AC: 301%, AD: 38-47, AP: 3, ECC: 50%, CM: 3.75, BC: 101%, DR: 2

twirlimp
Posts: 204
Joined: Wed Dec 30, 2015 8:00 am
android_version: 4.3

Re: Coding in business school

Post by twirlimp » Sat Jan 02, 2016 10:01 pm

Zukero wrote:Understanding how pointers work is rather important whichever language you use, especially Java. Mastering them for use in C/C++ is another matter though ;)
Oh since then I've had plenty of work with C :p

I'm just fond of garbage collection, that's all.
Manual de allocation is only necessary in, like, dwarf fortress, crysis, and nasa simulations.
ideas plox

twirlimp
Posts: 204
Joined: Wed Dec 30, 2015 8:00 am
android_version: 4.3

Re: Coding in business school

Post by twirlimp » Sat Jan 02, 2016 10:04 pm

Voom wrote:Ok. For instance, what language would be good in the case for coding AT script? I assume Java, right? My brother is learning Python and he manages...
If he's still learning then he has mistakes he needs to learn and get used to.

Java is not more difficult than Python tbh. Actually not even c is hard, it's just too nit-picky.

Why just today I had a null pointer exception.
(If weapon in hand slot has ID of a bow.... Oops theres no weapon in that slot!)
ideas plox

User avatar
rijackson741
Posts: 1607
Joined: Tue Aug 20, 2013 2:04 am
android_version: 6.0
Location: Somewhere in Dhayavar

Re: Coding in business school

Post by rijackson741 » Sat Jan 02, 2016 10:46 pm

Here's my two cents worth. Over the years I have written code in more than 10 languages, and with the exception of one (C) I didn't choose any of them. I either had them forced upon me by some professor (Fortran: a horrible langauge), or learned them because I inherited legacy code (Algol, and some Pascal), learned them because they were used for scripting in some piece of software (more versions of Basic than I care to think about, Python), or for some other reason. So if you want to learn a programming language, the first thing you have to decide is what you want to do with it. If you want to write code for embedded processors, learn C (which is very different to C++). If you want to do numerical computing, Python is a good choice. If you want to write an app for Windows use one of the .NET languages (I would personally recommend C#; I've not written a lot in it, but it's a good language). If you want to write an app for Android, learn Java (which I have never written even one line of code in!).

It's not that different to choosing a spoken language to learn. Spanish may be a lot easier to learn than Chinese, but it won't do you much good if you are going to live in China ;)
Level: 64, XP: 4734786, HP: 196, AC: 246%, AD: 49-59, AP: 3, ECC: 25%, CM: 3, BC: 127%, DR: 2
Gold: 232355 | RoLS: 1, RoL: 1, GoW: 1
HH: 1, CS: 2, IF: 4, Ev: 3, Re: 2, WP:DA: 1, WP:1S: 1, AP:L: 1, FS:DW: 2, S:DW: 1
SR

User avatar
Voom
Posts: 466
Joined: Sat Dec 19, 2015 5:24 pm
android_version: 4.4
Location: Fort Lauderdale, FL

Re: Coding in business school

Post by Voom » Sun Jan 03, 2016 3:28 am

Python it is. Thanks. That was really helpful. I'm definitely more numerically minded, but if I wanted to code for an Android app, I'll learn Java, just like you said. I will if I have to.
Voomster Lvl 23 |HP 52 |AC 173% |AD 17-52 |ECC 20% |CM 3.0 |BC 61% |DR 2 Build 2/3221/0

Voomboy Retired at 41 and is reading The Fey of Feygard
Voom Retired at 46 and took up translating

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest