Jump to content
IGNORED

Is Java any benefit to programming for the 2600?


Fr0st

Recommended Posts

I have a School near me that's doing evening courses for computer programming in the Java language.

 

I have absolutely no knowledge when it comes to programming.

 

Would this course in any way benefit me in learning more about eventually programming for the Atari 2600?

 

Thanks for any advise anyone can offer.

Link to comment
Share on other sites

I have a School near me that's doing evening courses for computer programming in the Java language.

 

I have absolutely no knowledge when it comes to programming.

 

Would this course in any way benefit me in learning more about eventually programming for the Atari 2600?

 

Thanks for any advise anyone can offer.

 

You will never program the 2600 in Java of course, but learning Java will teach you concepts that many other languages use, so it will definitely help

Link to comment
Share on other sites

Well, there was a Java project to make a VCS Binary a while ago.

 

https://www.mikekohn.net/micro/atari2600_java.php

 

The author made a couple demos and a complete game from it.

 

I'd say stick with bAtari BASIC or ASM, but still a cool wacky thing.

 

Isn't there also a C project in the works?

Edited by Jinroh
  • Like 2
Link to comment
Share on other sites

Not a good language. If you don't have any programming language background I would suggest to go for Batari or directly 6502 using the tutorials.

 

Sincerely, I get what you mean. My problem is, I am illiterate when it comes to programming anything.

I live in a rural area in Ireland, there aren't a wealth of night classes available to me, so at least if I give this Java thing a bash, it may help me better to understand programming/coding in general, would you think?

At least if I do it then I may have a better understanding of the tutorials you mention above, no?

 

It's only ten classes, plus it will help keep me out of the pub on a thursday :)

 

I'm going to sign up and see how it goes, and will be back in ten odd weeks!

  • Like 1
Link to comment
Share on other sites

Well, there was a Java project to make a VCS Binary a while ago.

 

https://www.mikekohn.net/micro/atari2600_java.php

 

The author made a couple demos and a complete game from it.

 

I'd say stick with bAtari BASIC or ASM, but still a cool wacky thing.

 

Isn't there also a C project in the works?

 

Wow, that's awesome to see Java running on the VCS! :) I remember being impressed with the Java compiler running on the C64.

 

Agree with NanoChess that asm or BASIC is better suited to the VCS given the limitations of the hardware and memory constraints.

 

Fr0st, there are two new BASIC's linked in my signature you may like that are easy to setup on Windows 10 with enhanced graphics capabilities.

  • Like 1
Link to comment
Share on other sites

 

Sincerely, I get what you mean. My problem is, I am illiterate when it comes to programming anything.

I live in a rural area in Ireland, there aren't a wealth of night classes available to me, so at least if I give this Java thing a bash, it may help me better to understand programming/coding in general, would you think?

At least if I do it then I may have a better understanding of the tutorials you mention above, no?

 

It's only ten classes, plus it will help keep me out of the pub on a thursday :)

 

I'm going to sign up and see how it goes, and will be back in ten odd weeks!

 

Well, Java is a fine language in general, but it is not applicable hardly at all to 2600 programming. As was mentioned, the very basic rock-bottom concepts like data, if/then,looping, etc. are able to be learned in any language.

If that's the only course you have, then sure give it a shot, but keep in mind that Java is NOT an introductory language, no matter what the colleges seem to think. It is an advanced subject, so if you find yourself baffled and overwhelmed it does not mean that you have some kid of problem understanding, it means that even basic Java it really hard without any prior experience programming. Or, maybe you have a knack for it and you'll do great, I don't know, but I expect you'll have some trouble. I do have some other suggestions for you:

1. Google for online courses. There are probably some free ones even, like 'introduction to programming' on you-tube or whatever.

2. Learn BASIC instead. BASIC was created to be easy to learn ( Beginners All-purpose Symbolic Instruction Code). If you have an actual 8-bit Atari, you can use that, or you can grab the Altirra emulator and use that.

3. You can grab tons of different kinds of BASICS for use on your home computer. This, for instance : http://www.nicholson.com/rhn/basic/. Assuming you're on Windows, you could even download the free Visual Basic Express stuff (which I think is now called 'Visual Studio Community' or something dumb like that). Tons of on-line course material on all of the BASICs.

 

I would not try Batari first unless you are a genius. The language is fine, but that 2600 machine is so bizarre and restricted and low-level it's like trying to program a toaster.

Edited by danwinslow
  • Like 1
Link to comment
Share on other sites

 

Wow, that's awesome to see Java running on the VCS! :) I remember being impressed with the Java compiler running on the C64.

 

Agree with NanoChess that asm or BASIC is better suited to the VCS given the limitations of the hardware and memory constraints.

 

Fr0st, there are two new BASIC's linked in my signature you may like that are easy to setup on Windows 10 with enhanced graphics capabilities.

 

Ugh sorry Mr SQL, I was so tired I forgot to mention your awesome BASIC flavours. >_<

  • Like 1
Link to comment
Share on other sites

 

Well, Java is a fine language in general, but it is not applicable hardly at all to 2600 programming. As was mentioned, the very basic rock-bottom concepts like data, if/then,looping, etc. are able to be learned in any language.

If that's the only course you have, then sure give it a shot, but keep in mind that Java is NOT an introductory language, no matter what the colleges seem to think. It is an advanced subject, so if you find yourself baffled and overwhelmed it does not mean that you have some kid of problem understanding, it means that even basic Java it really hard without any prior experience programming. Or, maybe you have a knack for it and you'll do great, I don't know, but I expect you'll have some trouble. I do have some other suggestions for you:

 

I don't see why Java can't be an introductory language. You can easily steer clear of advanced topics, and stick with basic hello.world type programs. Knowing Java, it's easier to jump to other widely-used languages like C, C++, C# ( for .NET programming), Objective-C (for iOS apps)

 

Basic isn't all that popular anymore. Especially not the line-number centric Basic interpreters of the 70s and 80s. If you learn on those old Basics, it's easy to fall to the temptation of writing spaghetti code full of goto's. If you learn on a modern language, you will learn to code without the 'goto crutch', and that will help you write better code if you go back and learn basic.

Link to comment
Share on other sites

Yeah, I expected someone to say this. You're not wrong in fact, but I personally feel like Java and the other OO languages can put a burden of extra complexity in when all you are doing is just to try and learn programming basics, especially when your stated target is 2600 programming. I figured BASIC would be a good way to prepare for Batari. BASIC has this rep for 'spaghetti code' but let me assure you you can freely create pasta in any language, and people often do. Using a language that doesn't prevent you from doing it in fact is a good way to learn the importance of certain hygienic programming practices. Use of goto is not in and of itself bad, and there are situations even in modern languages where it is an appropriate choice.

 

Actually, I always recommend plan ANSI C as the proper introductory language for a serious computer education. If you learn C well, you will learn everything you'll ever need to know and stuff that most people don't ever know, and you will appreciate the modern languages much better.

  • Like 2
Link to comment
Share on other sites

Yeah, I expected someone to say this. You're not wrong in fact, but I personally feel like Java and the other OO languages can put a burden of extra complexity in when all you are doing is just to try and learn programming basics, especially when your stated target is 2600 programming. I figured BASIC would be a good way to prepare for Batari. BASIC has this rep for 'spaghetti code' but let me assure you you can freely create pasta in any language, and people often do. Using a language that doesn't prevent you from doing it in fact is a good way to learn the importance of certain hygienic programming practices. Use of goto is not in and of itself bad, and there are situations even in modern languages where it is an appropriate choice.

 

Actually, I always recommend plan ANSI C as the proper introductory language for a serious computer education. If you learn C well, you will learn everything you'll ever need to know and stuff that most people don't ever know, and you will appreciate the modern languages much better.

 

C is worse as a beginner language than Java in that C will give you a gun and let you shoot yourself in the foot and not give you much indication what you did wrong other than "segmentation fault" or some such error. Plus if you want to work with strings.. Java is much easier there.

 

I like and use C a lot. It is powerful, but the price of that is it will not hold your hand in any way.

 

Yes Java is OO, but when you are just learning, you can put everything in a single class and it will behave similarly to a non-OO language.

Edited by zzip
  • Like 1
Link to comment
Share on other sites

 

C is worse as a beginner language than Java in that C will give you a gun and let you shoot yourself in the foot and not give you much indication what you did wrong other than "segmentation fault" or some such error. Plus if you want to work with strings.. Java is much easier there.

 

I like and use C a lot. It is powerful, but the price of that is it will not hold your hand in any way.

 

Yes Java is OO, but when you are just learning, you can put everything in a single class and it will behave similarly to a non-OO language.

 

All good points zzip, but a lot of that power was added later to the RUNTIME and not specific to Java, though it's certainly elegant for calling the runtime.

 

I remember Corel rewrote WordPerfect in Java and immediately folded, realizing there was no way to print with the immature runtime.

 

I also remember the AWT - abstract windowing toolkit, a runtime GUI that looked like it was drawn with crayons.

 

Databases? Sybase folded their own shop and lived off Microsoft licensing (SQL Server is their codebase) because they tried to build development tools in Java - the string handling was so rigid it rendered the tools completely useless with rediculous workarounds prompting you to use the old version written in C, or at least the parts that you needed.

 

That was all long before WebSphere; it's their runtime lilbraries and middleware making a world of difference.

 

I've been toying with the idea of writing a Java compiler for my Flashback BASIC RUNTIME because it surfaces an object set with a soft blitter chip that would be ideal for Java oriented programmers to marshall.

 

It works fine calling the objects from BASIC or asm for that matter, but it may be less natural for BASIC programmers to write something like the Display list demo where N instances of the camera pan the virtual world through different sections of the screen using inheritance and overloading because the BASIC prograrmmer often has to learn about these concepts while the Java programmer must be familiar with them.

 

otoh, games that create one instance of the camera and other objects are simpler to write and the API's feel more natural to BASIC, I noticed this when I added the DLI API's though they added alot of capabilities.

Link to comment
Share on other sites

 

All good points zzip, but a lot of that power was added later to the RUNTIME and not specific to Java, though it's certainly elegant for calling the runtime.

 

I remember Corel rewrote WordPerfect in Java and immediately folded, realizing there was no way to print with the immature runtime.

 

I also remember the AWT - abstract windowing toolkit, a runtime GUI that looked like it was drawn with crayons.

 

Databases? Sybase folded their own shop and lived off Microsoft licensing (SQL Server is their codebase) because they tried to build development tools in Java - the string handling was so rigid it rendered the tools completely useless with rediculous workarounds prompting you to use the old version written in C, or at least the parts that you needed.

 

 

Right, but a lot of that is ancient history too. I've worked with Java a long time, and I remember clunky AWT interface apps, and buggy, slow JVMs before they had JIT compilers and native threading. At one point, I was filing Java VM bugs with Sun's support on a weekly basis, for my company, and the support engineers knew me by name! It has improved since.

 

Nowadays, most Android apps are written in Java, and Java powers a lot of the apps on the web.

  • Like 1
Link to comment
Share on other sites

 

Right, but a lot of that is ancient history too. I've worked with Java a long time, and I remember clunky AWT interface apps, and buggy, slow JVMs before they had JIT compilers and native threading. At one point, I was filing Java VM bugs with Sun's support on a weekly basis, for my company, and the support engineers knew me by name! It has improved since.

 

Nowadays, most Android apps are written in Java, and Java powers a lot of the apps on the web.

 

Very cool, precipitating teamwork from the field is the best resource (you) the Java team has for making improvements, and the JIT compiler was awesome, agree it made a big difference - I remember Sun fixing bench mark tests before that because of the interpreter.

 

Agree about the prevelance of Java, if you include Microsofts c# Java clone the base is even larger.

 

I really like BASIC dialects because of how rapidly you can express yourself with a minimum of code, the 10 liner contests where people are building incredible games in 10 lines of BASIC are a classic example of what is not possible in Java or c#, or C or C++, those are all awesome fun languages too but you don't have the speed of creative expression to create code that does a lot in a small footprint. That's where BASIC shines, ditto for the BASIC examples in Math and Science texts from the 80's and 90's.

 

I really like PowerShell because we can write BASIC in C and do all the same tricks - single line of code apps that do a lot, single statement apps, tiny footprint code all free form with only the structuring that we define, and all the same problems if we don't define it.

 

Java was a great idea to allow programs to just "run anywhere". However, HTML5 and .NET/mono has pretty much taken center stage.

 

BASIC was the gateway to programming for me. You can focus on expressing yourself rather than baffling hardware nuances or language over-complexity.

^This :)

post-30777-0-22334200-1505534368.jpg

Another interesting programming discussion here

Link to comment
Share on other sites

 

C is worse as a beginner language than Java in that C will give you a gun and let you shoot yourself in the foot and not give you much indication what you did wrong other than "segmentation fault" or some such error. Plus if you want to work with strings.. Java is much easier there.

 

I like and use C a lot. It is powerful, but the price of that is it will not hold your hand in any way.

 

Yes Java is OO, but when you are just learning, you can put everything in a single class and it will behave similarly to a non-OO language.

 

I get it, but I don't agree. It's not about what's easy or safe, it's about understanding. I've been a professional developer for almost 40 years, and this is my opinion.

  • Like 1
Link to comment
Share on other sites

I get it, but I don't agree. It's not about what's easy or safe, it's about understanding. I've been a professional developer for almost 40 years, and this is my opinion.

You only get to know best practices by doing. If the barrier to entry is too high that never happens. I think as eperienced developers we tend to forget that.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...