21 August 2024, 12:48 | #101 | |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,924
|
Quote:
Beginners ask informative questions. Why do you need to declare the return as void? What, it will return an integer by default if I don't specify? Why? If I don't declare any parameters that means what? Oh, I have to put void to say it takes no parameter, otherwise I am asking the compiler to play guessy games based on the first invocation? There's all sorts of odd fruity behaviours in C that we again avoid by muscle memory. I also think that many of us will have had some sort of assembler experience before C which preps you for concepts like different integer types, pointers and linear arrays just being a continuous span of memory locations and what not, but I can imagine (even if not recall) how they seem in isolation to beginners without that experience. Last edited by Karlos; 21 August 2024 at 13:02. |
|
21 August 2024, 12:57 | #102 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,924
|
|
21 August 2024, 17:01 | #103 | |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,179
|
Quote:
https://spectrumcomputing.co.uk/alt/...ics-Book_Three https://spectrumcomputing.co.uk/alt/...hics-Book_Four You can find the PDFs of those on those links. Last edited by TCD; 21 August 2024 at 17:14. Reason: Fixed the quote |
|
21 August 2024, 17:14 | #104 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,924
|
Damn! Nostalgia overload.
|
21 August 2024, 19:23 | #105 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,964
|
These are available for the C64 as well.
|
21 August 2024, 20:13 | #106 |
Registered User
Join Date: Aug 2006
Location: Scunthorpe/United Kingdom
Posts: 2,179
|
|
22 August 2024, 08:29 | #107 |
Computer Nerd
Join Date: Sep 2007
Location: Rotterdam/Netherlands
Age: 48
Posts: 3,964
|
|
22 August 2024, 10:36 | #108 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,924
|
I had books 3 and 4. I have no idea what happened to them. I still have a ZX Spectrum owners manual though, the original ringbound one with the strange floating cityscape at sunset/sunrise cover.
|
22 August 2024, 12:57 | #109 |
Moderator
Join Date: Nov 2004
Location: Eksjö / Sweden
Posts: 5,759
|
I think any language helps, but your first language(s) should be 1) simple and 2) educational. BASIC was, in the 1970s.
Simple can mean 3 things: a) limited, b) not limited but low-level (write all the code), c) not limited and written code available, but you must learn a bunch of custom libs which will break and change. a keeps the language simple and easy to learn, while b and c keeps the language simple and hard to learn, and c means you have only custom knowledge about opaque functions, knowledge which is worth nothing and useless to learn. Early languages also had to be limited to be small in size and leave enough RAM for programs. Some limitations like line numbers also came from something like this; to make the editor smaller and faster. BASIC is BASIC even without line numbers, and most BASICs did have functions of a sort. I would say languages classed as educational would be a better start; this excludes the C family but includes languages like the Pascal family, Lingo, etc. But BASIC wasn't bad for the 1970s and early 80s. You could do a lot. Some dialects were bad tho, like the C64 BASIC. |
22 August 2024, 13:51 | #110 |
Alien Bleed
Join Date: Aug 2022
Location: UK
Posts: 4,924
|
I would suggest that Python fills the gap of simplicity and ease of learning, except that it's not really an option for learning to program on the Amiga.
I think Blitz Basic is probably an OK dialect though, it does support things that prepare you for moving on, like scalar types, structures and pointers and what not and it's not too much of a word salad. |
22 August 2024, 20:01 | #111 |
Registered User
Join Date: Jun 2009
Location: Dublin, then Glasgow
Posts: 6,416
|
Also, to an extent it will depend on whatever reading material and / or tutorials you have. Even BASIC is a steep learning curve if all you have is a blank screen with a blinking cursor. The Usborne BASIC books in the '80s were wonderful learning material and taught me basic, despite the dialect used by my Atari being unsupported and thus incompatible with 80% of the material.
But I also had (and still have) an extremely dry book that does its best to put any aspiring coder off learning even BASIC. It's called Programming Your Atari Computer by Mark Thompson (viewable here), and spends 85 pages lecturing on computer theory, boolean algebra, binary arithmetic and so on before introducing a single command. As a kid, it might have put me off coding if I didn't also have access to the Usborne books in the library. |
22 August 2024, 20:40 | #112 |
Registered User
Join Date: Jul 2014
Location: Finland
Posts: 1,210
|
This again something that Python actually does quite well. It's entirely possible to learn basic (hah!) programming with nothing but the default Python documentation included with the language.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Trying to find variant of this song | Flow Res. Kenny | Amiga scene | 1 | 11 August 2023 21:58 |
A1200 case, desktop variant? | Malakie | Amiga scene | 6 | 11 December 2021 18:12 |
Preferred Falcon variant | eXeler0 | Retrogaming General Discussion | 19 | 20 November 2020 00:40 |
How to specify the game variant used in Arcade Mode? | ketschak | support.FS-UAE | 2 | 07 March 2014 14:31 |
|
|