# Question for all you programmers out there

**URL:** <https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266>\
**Category:** random\
**Created:** [April 12, 2006, 2:31am UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266 "2006-04-12T02:31:22Z")\
**Posts on this page:** 19\
**Page:** 1

<div class="post-metadata">

**Author:** ![darkplanets](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@darkplanets](https://forum.kirupa.com/u/darkplanets)\
**Post date:** [April 12, 2006, 2:31am UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/1 "2006-04-12T02:31:22Z")

</div>

Ok… so this is mainly, or should I say, like 99% a web development, art forum, so I really didnt know where to put this because there isnt a defined location for programming in other languages besides AS.

Ok, so here’s the deal. I have XTools, for those of you who don’t know what that is, its script development software that comes free on 10.3+ that is basically the ultimate developer program. Anyways, I have no programming experience, but I would like to learn Coaca. My goal is to make a simple chat/moderation client for a super oldschool game, Starcraft, compatible with Blizzards [battle.net](http://battle.net). I was was wondering if any of you could post some rescources for learning coaca/C from the start, yet it still itsn’t elementary.

For all you people with XTools, I would like to know how to load different files and get it to change what it shows, ie javascript sytax vs c, carbon, etc.

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 12, 2006, 2:33am UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/2 "2006-04-12T02:33:21Z")

</div>

Cocoa Programming for Mac OS X from Addison Wesley (the publisher), written by Hillegrass (the author). It’s very good, and much better than my older O’Rielly book, surprisingly.

I love it. :love:

---

<div class="post-metadata">

**Author:** ![darkplanets](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@darkplanets](https://forum.kirupa.com/u/darkplanets)\
**Post date:** [April 12, 2006, 7:09pm UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/3 "2006-04-12T19:09:29Z")

</div>

Thanks nokrev, and wow… I love xtools. Create a project directory and it takes care of everything for you. On top of that… interface builder = amazing.

---

<div class="post-metadata">

**Author:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [April 12, 2006, 7:29pm UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/4 "2006-04-12T19:29:30Z")

</div>

I also use a program called XTools but I don’t think it’s the same thing - we use it as an extension with ArcGIS and it does all sorts of spatial functions beautifully. :love:

Aside from that - did you know there is a whole section on web development here? With sub forums in Client and Server Side applications . . . you could post any programming questions there. 😉

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 12, 2006, 9:50pm UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/5 "2006-04-12T21:50:03Z")

</div>

This is for client-side apps (the other, it seems, is for client-side sites, like css problems and such), lunatic, for which we don’t have a forum. 😉

And yes, Xtools is the bomb. I was arguing with my Java teacher about how there were great tools for development on Mac, and he’s like, “No, it is all crap,” and I’m like, “not in this world!” :lol:

---

<div class="post-metadata">

**Author:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [April 12, 2006, 10:03pm UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/6 "2006-04-12T22:03:18Z")

</div>

What? It’s a programming language question right? So why not stick it with all the other programming language questions? Would probably get more attention than sticking it in random.

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 12, 2006, 10:10pm UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/7 "2006-04-12T22:10:07Z")

</div>

Because all those programming questions are about css and web stuff. This is about an **application** that runs on a computer. 😉

---

<div class="post-metadata">

**Author:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [April 12, 2006, 10:15pm UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/8 "2006-04-12T22:15:22Z")

</div>

Suggested topics aren’t required topics. 🙂

If it has something to do with client side then stick it in there.

We’re off topic anyway. darkplanets I hope you got your question answered.

---

<div class="post-metadata">

**Author:** ![simplistik](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/simplistik/32/7747_2.png) [@simplistik](https://forum.kirupa.com/u/simplistik)\
**Post date:** [April 12, 2006, 10:59pm UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/9 "2006-04-12T22:59:47Z")

</div>

i don’t think cocoa though is supported w/ the new intel chip structure… i think they revamped it… well at least not the native language anymore. i seem to think i read that somewhere, or heard it from our apple rep… not really sure.

---

<div class="post-metadata">

**Author:** ![darkplanets](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@darkplanets](https://forum.kirupa.com/u/darkplanets)\
**Post date:** [April 13, 2006, 1:25am UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/10 "2006-04-13T01:25:43Z")

</div>

Hmm… interesting point simp. I need to look into that. Also, because I am new to XTools, and programming applications in general, I have some rediculous questions to ask.

A) Ok nokrev. So I want to open up some one else’s java files to see what they did. (I learn by looking and doing and comparing) How would I do this in Xtools since it isnt an xtools project. If not done in Xtools, can you give me a good program for it?

B) Can we please make a development topic for programming? They are similar languages for the most part.

C) For my project, should I make it Cocoa C or Cocoa Java?

D) Is there an easy way to change from Cocoa to Carbon?

E) Ok, so Cocoa is supposed to make app design easier. In interface builder, there is only so much there…

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 13, 2006, 2:06am UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/11 "2006-04-13T02:06:26Z")

</div>

@simp: No. That’s simply wrong. Xcode makes universal binaries, and they’re completely native.

A) Just open them as single files. You will have to compile from the command line (as far as I know…), but that’s really easy. Just use [font=monospace]javac Filename.java[/font] and then run it using [font=monospace]java Filename[/java].

B) Well… _I_ can’t. 😉

C) Cocoa Objective-C… I think you meant this, as Cocoa is a mix of Objective-C and Java. Objective-C files can include any C functions in the same file. (e.g., using srandom() in Objective-C.)

D) Why would you want to go back to an older thing? Cocoa is the new way, and I don’t see any reason to use Carbon.

E) Err… are you kidding me? What can’t you do in Interface Builder? You create the controller object, and then simply create methods, and drag and drop from the components to the instantiated controller class (i.e., the object).

---

<div class="post-metadata">

**Author:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [April 13, 2006, 4:33am UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/12 "2006-04-13T04:33:45Z")

</div>

Okay, last time . . .

See the “etc” after the programs listed in the clientside/serverside subforum descriptions? Guess what that means.

I’m sure if you post a thread saying “need help with XTools for Mac” or something then anyone using the program will check out the post to see if they can answer the question.

No need to create another subforum.

😉

---

<div class="post-metadata">

**Author:** ![Ben\_Smith](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/ben_smith/32/1118_2.png) [@Ben\_Smith](https://forum.kirupa.com/u/Ben_Smith)\
**Post date:** [April 13, 2006, 10:17am UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/13 "2006-04-13T10:17:04Z")

</div>

Hmm. I’m so intimidated by Cocoa. It looks great but seeing as I only made the PC/Mac switch 4 days ago, I think I’ll leave it for a bit.

---

<div class="post-metadata">

**Author:** ![darkplanets](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@darkplanets](https://forum.kirupa.com/u/darkplanets)\
**Post date:** [April 13, 2006, 2:02pm UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/14 "2006-04-13T14:02:57Z")

</div>

Nokrev, I am new to xtools as well as programming non flash related stuff… think you could specify a little more? I find xtools a little confusing.

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 13, 2006, 5:44pm UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/15 "2006-04-13T17:44:28Z")

</div>

Read the book I gave above. :lol:

---

<div class="post-metadata">

**Author:** ![darkplanets](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@darkplanets](https://forum.kirupa.com/u/darkplanets)\
**Post date:** [April 13, 2006, 8:36pm UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/16 "2006-04-13T20:36:48Z")

</div>

What can I say, I’m a poor student. Ill buy it when I get some spare cash… or maybe I can bum some off of my parents haha.

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 14, 2006, 1:54am UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/17 "2006-04-14T01:54:33Z")

</div>

I am too. I am probably younger than you, if that helps you feel better. I convinced my dad to buy it for me. 😜

[whisper]\</bragging\>[/whisper]

I hate talking about my age. 😉

---

<div class="post-metadata">

**Author:** ![darkplanets](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@darkplanets](https://forum.kirupa.com/u/darkplanets)\
**Post date:** [April 14, 2006, 8:50pm UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/18 "2006-04-14T20:50:17Z")

</div>

There is two editions, which one is better? First edition is mucho cheaper 🙂

---

<div class="post-metadata">

**Author:** ![Jeff\_Wheeler](https://avatars.discourse-cdn.com/v4/letter/j/59ef9b/32.png) [@Jeff\_Wheeler](https://forum.kirupa.com/u/Jeff_Wheeler)\
**Post date:** [April 15, 2006, 1:18am UTC](https://forum.kirupa.com/t/question-for-all-you-programmers-out-there/185266/19 "2006-04-15T01:18:41Z")

</div>

Second edition is for older versions… the newer one just incorporates awesome new features (such as bundles).

Get the second one!
