Computer Science Canada turing to java conversion pdf |
Author: | mdmichael [ Sat Feb 05, 2011 10:14 pm ] |
Post subject: | turing to java conversion pdf |
does anyone have a link to the pdf for turing to java conversion guide, the old link is broken |
Author: | Ultrahex [ Tue Feb 08, 2011 8:31 pm ] |
Post subject: | Re: turing to java conversion pdf |
I am surprised such a thing exists, just a heads up, it is probably a better learning experience to embrace what Java gives you instead of trying to "port". |
Author: | ProgrammingFun [ Tue Feb 08, 2011 8:53 pm ] |
Post subject: | RE:turing to java conversion pdf |
I would agree with Ultrahex, this will give you a much better program than a port. If you have requisite knowledge in programming and logical problem solving, syntax shouldn't be a problem. You can read any into guide/Java docs to get the basics of coding in Java (and the syntax). This will help you much more than just porting. |
Author: | TokenHerbz [ Tue Feb 08, 2011 9:34 pm ] |
Post subject: | RE:turing to java conversion pdf |
java syntax is aweful, i absolutly hate it. Plus I cant even launch 2D programs like a basic PONG in netbeans and don't have access to the executable program thinggy I used in school. But i tell you, that program made java so much easier to use. same codeing, but at least it worked when i ran the freaking code. |
Author: | DemonWasp [ Wed Feb 09, 2011 1:53 am ] |
Post subject: | RE:turing to java conversion pdf |
Of all the things to complain about in Java, you chose its syntax? It's nearly the same syntax as C, which is pretty well the golden standard for imperative language syntax. If you can't launch 2D programs from NetBeans that is your fault; not NetBeans', and not Java's. I'm pretty sure that NetBeans can have embedded 3D components, as I know Eclipse can. |
Author: | TokenHerbz [ Wed Feb 09, 2011 2:21 am ] |
Post subject: | RE:turing to java conversion pdf |
maybe, I looked threw some of net beans forums and stuff but the closes thing i had found was the java swing which isn't what i want, if thats what it was, it was like freaking Visual Basic GUI. draw your application out and stuff, was bleh'. |
Author: | Zren [ Wed Feb 09, 2011 2:40 am ] |
Post subject: | RE:turing to java conversion pdf |
Turing makes graphics so easy to do, that you seriously want to hurt someone when you try to do it in another language. Took me a bit to understand what you were talking about too. http://compsci.ca/v3/viewtopic.php?t=6647 Looks like it only had some basics to compare the two. I do suggest you look at tackling a Hello World example first before tackling the things you knew in Turing. http://web.archive.org/web/20071004125122/http://www.holtsoft.com/java/resources/turing_to_java.pdf If you ever need to find something from the past, chances are the WayBack Machine from archive.org will have it, along with all its past versions. http://web.archive.org/web/*/http://www.holtsoft.com/java/resources/turing_to_java.pdf |
Author: | DemonWasp [ Wed Feb 09, 2011 8:58 am ] |
Post subject: | RE:turing to java conversion pdf |
@Token: http://download.oracle.com/javase/1.4.2/docs/api/java/awt/Graphics2D.html That's the first Google result for "draw in Java". The second is the SUN (now Oracle) tutorial of same: http://download.oracle.com/javase/tutorial/2d/geometry/primitives.html This is, at worst, slightly more complex than Turing. It's also considerably more flexible. |
Author: | TokenHerbz [ Wed Feb 09, 2011 3:37 pm ] |
Post subject: | RE:turing to java conversion pdf |
the problem lies in launching the program using the IDE i currently have. But maybe i just don't know how to do it... but i could never get it working. being able to code a circle and being able to run it to see it, execute it, thats the problem the last part. |
Author: | DemonWasp [ Wed Feb 09, 2011 5:15 pm ] | ||
Post subject: | RE:turing to java conversion pdf | ||
Then consider reading: http://netbeans.org/kb/docs/java/quickstart.html Java code to draw a circle, minimalist edition:
Admittedly not as short as the corresponding Turing code, but it actually does a lot of things that can't really be done in Turing. This is, more or less, the first result for "java draw a circle". Edit: Keep in mind that by using NetBeans or Eclipse you are specifically using a tool that is built for professional programmers who have to build and debug ridiculously complex projects. These tools are built to simplify things when you have a HUGE project on hand, not necessarily to make it simple to get started. For simple-to-get-started, try JCreator or Dr Java. |
Author: | Ultrahex [ Wed Feb 09, 2011 8:13 pm ] |
Post subject: | Re: turing to java conversion pdf |
but if graphics is really your thing, and you are more interested in drawing stuff... why not use: http://processing.org lot of examples, and tutorials are available http://processing.org/learning/3d/lights2.html =) And just for future reference C and Java have very different syntax, mainly do to excess object orientated approach instead of writing concise code statements. Java design problems are overly complicated for one, and there is a lot of boiler code for small applications. Scala fixes some of these issues and still uses the JVM which is nice. |
Author: | TokenHerbz [ Wed Feb 09, 2011 10:41 pm ] |
Post subject: | RE:turing to java conversion pdf |
jCreator looks pretty good but theres not a free version minus the trail, I'll take a look at the other one too. havn't read that netbeans page yet to but will do that ASAP here to. thx for that link ultrahex! |
Author: | TokenHerbz [ Wed Feb 09, 2011 11:20 pm ] |
Post subject: | RE:turing to java conversion pdf |
actually damn JCreator reminds me of what i used in school basically, i really dig it, A++ for that. |