Jump to content
juunhoad

Derek Banas Java tutorial help

Recommended Posts

Hey,

I'm willing to learn scripting, but first I wanna watch and do the java tutorial from Derek Banas. What I would like to know is: until which part should I watch the tutorial to have a decent understanding for scripting? Like which parts are essential and which are like kinda useless to watch for understanding scripting for tribot or any other bot site. 

Greetings.

 

EDIT: I guess this needed to be posted in scripting help section!

Edited by juunhoad

Share this post


Link to post
Share on other sites

I would recommend starting with my tutorials here. They will help you grasp the concepts that Derek will be going over in his tutorials more easily.

As for when you will understand scripting, that depends. I would highly recommend staying away from scripting until you believe you have a firm understanding of Java. That said, most people on this website do not do that, and jump into scripting at a point that I believe to be far too early. That choice, however, is entirely up to you. Scripting is much easier than most Java programming, so you will be able to script with limited knowledge of Java (but again, I wouldn't recommend it).

  • Like 2

Share this post


Link to post
Share on other sites
39 minutes ago, TacoManStan said:

I would recommend starting with my tutorials here. They will help you grasp the concepts that Derek will be going over in his tutorials more easily.

As for when you will understand scripting, that depends. I would highly recommend staying away from scripting until you believe you have a firm understanding of Java. That said, most people on this website do not do that, and jump into scripting at a point that I believe to be far too early. That choice, however, is entirely up to you. Scripting is much easier than most Java programming, so you will be able to script with limited knowledge of Java (but again, I wouldn't recommend it).

Why wouldn't you recommend to jump in scripting a bit to early? Don't you learn alot by trial and error. Like making very basic scripts and looking at other open-source scrips and just trying things out.

Share this post


Link to post
Share on other sites
2 minutes ago, juunhoad said:

Why wouldn't you recommend to jump in scripting a bit to early? Don't you learn alot by trial and error. Like making very basic scripts and looking at other open-source scrips and just trying things out.

Scripting teaches you poor Java practices. If you don't care about that, then there really isn't a downside to it other than making sub-par scripts.

Share this post


Link to post
Share on other sites
15 minutes ago, TacoManStan said:

Scripting teaches you poor Java practices. If you don't care about that, then there really isn't a downside to it other than making sub-par scripts.

Well the poor java practices will prob go away, if me or some other basic scriptwriter would teach it the real way right. Like with a java programming course or education for a year or 2.

Edited by juunhoad

Share this post


Link to post
Share on other sites
13 minutes ago, juunhoad said:

Well the poor java practices will prob go away, if me or some other basic scriptwriter would teach it the real way right. Like with a java programming course or education for a year or 2.

I started the same way of scripting by using very basic java, you need to actively attempt to erase poor practices, which is what I've had to spend a lot of my time fulfilling.

It's easier to learn something properly the first time, rather than attempting to execute something improperly and trying to repair broken knowledge; invest the additional time into programming, it's not even about the end goal of scripts, it's a mindset to be applied to a lot of outside subjects.

Who knows, you may enjoy it, it's not always about the end product you are thinking about.

  • Like 1

Share this post


Link to post
Share on other sites
3 minutes ago, Liam. said:

I started the same way of scripting by using very basic java, you need to actively attempt to erase poor practices, which is what I've had to spend a lot of my time fulfilling.

It's easier to learn something properly the first time, rather than attempting to execute something improperly and trying to repair broken knowledge; invest the additional time into programming, it's not even about the end goal of scripts, it's a mindset to be applied to a lot of outside subjects.

Who knows, you may enjoy it, it's not always about the end product you are thinking about.

Ya I get what you are saying, that's why I first wanted to watch a tutorial before I get into scripting at all and hopefully get a decent grasp at it. But I will prob dive into it way to early :P

Share this post


Link to post
Share on other sites
3 minutes ago, juunhoad said:

Ya I get what you are saying, that's why I first wanted to watch a tutorial before I get into scripting at all and hopefully get a decent grasp at it. But I will prob dive into it way to early :P

Everyone does, it's about building yourself up and problem solving in your own manner; rather than following a tutorial and copy and pasting code and learning how to make it work. You don't want to know how to tweak something to make it kind of work as a programmer, you want to build something that will work to the best standard. Problem solving is your creativeness and the code is your art, take pride ;p.

  • Like 1

Share this post


Link to post
Share on other sites

Before viewing the Derek Banas java tutorials I read the book "Beginning Programming with Java For Dummies 3rd Edition 2012". This book offers a very simplistic view of basic development concepts and techniques with Java which carries onto Derek Banas's tutorial quite well as a perfect extension. Before viewing his tutorials I had a rudimentary understanding to everything he talked about. One thing I would advise you to do is not power drill through Java, before going onto new concepts its important that you fully understand the prior one. 

Share this post


Link to post
Share on other sites

Learning by scripting doesn't just promote bad practices but it also limits your scope of learning. If you start with scripting and learn java along the way you'll develop bad coding practices stated previously but it's not JUST that. You'll also limit you capabilities of knowledge and what you can actually do. Because of this it will limit not only your programming skills but the potential your scripts can reach in the future. From reading through the comments it seems you are the very beginner just starting since you don't know the difference between Javascript and Java. In the coding world design means a LOT so these coding practices aren't something to be taken lightly. 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now


  • Recently Browsing   0 members

    No registered users viewing this page.

×