Is AGK script language beautiful?

Started by medi71, April 06, 2023, 16:08:46

Previous topic - Next topic

medi71

I think AGK Script is a beautiful BASIC script.
x is integer, you don't need to write "x as integer."
Float is x#. String is x$.
Using user types is easy: type ... endtype.
Functions are easy: function ... endfunction. Return doesn't need "Return" statement.
User Type in user type is allowed.
Its array is also list, something like python.
It has "inc" and "dec" like ++ or -- in C languages.
Including file is easy: #include "...".
Has #option_explicit
For comments you can use the C easy commenting: // or /* .. */
It has select (switch), python doesn't have one.
It is not Object Oriented, so writing macaroni code is less possible.
I would eliminate Gosub. I don't like Global either. But both are tolerable and optional.
--
AGK's 2D and 3D commands are beautiful too.
They are not as beautiful as Blitz3D's. But still enjoyable to use.
--
If we accept that AGK Script is what it is, a script for game programming, not application programming,
then, there is no reason not to love it.
--
I like to know if there is any reason not to love it?
Is any programming language that is more beautiful than AGK Script?
What do I mean by beautiful?
Needs less typing, is easy to read, is close to human language, is less math like or symbol like.


 

Naughty Alien


steve_ancell


Amon


medi71

Yes, I should write spaghetti code. This was a bug. Actually I tried to find the right word in English, I couldn't at that time. I was looking for Labyrinth. Let's see what I get to go to the next level.

medi71


Alienhead

#6
But back to the point.... yes AGK Script is very elegant, not as much so as LUA but still it's very clean.

Pfaber11

Yes I think so and easy to read . It's also the best language for me ( the others promised great things and did not deliver ) . 
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz
HP Desktop AMD 3700 16GB ram 2 GB graphics card windows 10

medi71

Good to know that there are other people who think the way I think about it. Thanks for the input guys.

Pfaber11

#9
@ naughty alien . What language have to chosen to use ? Just curious . I have recently shelved PB and returned to AGK. OGRE is just old and knackered and needs replacing .
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz
HP Desktop AMD 3700 16GB ram 2 GB graphics card windows 10

Naughty Alien

Quote from: steve_ancell on April 07, 2023, 05:54:43@Naughty Alien
Like spaghetti code but shorter.  :))
;D

@Pfaber11
..I do like PB, but currently, when im messing with 3D things, its Unity. Reason for that, i was able to convert my old levels(40 fully completed levels) with textures without much trouble and get really nice results..other than that, ill take anything that delivers what i need, on easiest way available to me..

3DzForMe

#11
Just installed AGK Studio on a new refurbed laptop. Needed to goto Microsoft to install DirectX AINPUT_3.dll. Running fine now.

Had it installed on a previous laptop with no installation issues. Is this Microsoft leaving stuff outa updates that peeps are still using?
BLitz3D, IDEal, AGK Studio, BMax, Java Code, Cerberus
Recent Hardware: Dell Laptop
Oldest Hardware: Commodore Amiga 1200 with 1084S Monitor & Blitz Basic 2.1

Pfaber11

I don't know but it would not surprise me . I'm running AGK S 12,12,2022 but will check for update
HP 15s i3 1.2 upto 3.4 ghz 128 gb ssd 16 gb ram 15.6 inch screen. Windows 11 home edition .  2Tb external hard drive dedicated to Linux Mint .
  PureBasic 6 and AppGameKit studio
ASUS Vivo book 15 16gb ram 256gb storage  cpu upto 4.1 ghz
HP Desktop AMD 3700 16GB ram 2 GB graphics card windows 10

Alienhead

#13
Quote from: 3DzForMe on April 10, 2023, 07:43:28Just installed AGK Studio on a new refurbed laptop. Needed to goto Microsoft to install DirectX AINPUT_3.dll. Running fine now.
Had it installed on a previous laptop with no installation issues. Is this Microsoft leaving stuff outa updates that peeps are still using?

Hmmm isn't agk studio vulkan powered anyways? and wth is AINPUT_3.dll.

Alienhead