Google Go Language

For everything that's not in any way related to PureBasic. General chat etc...
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5500
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Google Go Language

Post by Kwai chang caine »

Hello DANILO :D

Justly since yesterday, i try it :wink:
It's a little bit what i search, but i have found some some problem

1/ It's OOP, and i love the procedural like PB
2/ It's very expensive in the time, you must buy each new release (Just 2 month free by buy)
3/ The IDE missing numerous functions against PB IDE (Drag/Drop new code, IncludeFile preprocessing,, .....)

This is just the first problem i have see, since 2 days

So i must recognize, he works very well, the APK install and run correctly
And the WSYSIWYG editor is magical :shock:
For creating GUI in some second, really amazing 8)

Apparently it exist since 10 years, i don't know if the community is also great than PB community ?
And have also numerous big and strong brain like you all 8)

Because KCC need to all a forum of MASTERS, for just create a button and a text field :lol:
ImageThe happiness is a road...
Not a destination
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Google Go Language

Post by Danilo »

Kwai chang caine wrote:2/ It's very expensive in the time, you must buy each new release (Just 2 month free by buy)
The Enterprise version includes 2 years of free upgrades and is $119.
That's round about $5/€5 per month. ;)
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5500
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Google Go Language

Post by Kwai chang caine »

Yes, in fact is not really the main problem...but the OOP :oops:

Really, i know nearly how that works, since all the time everybody explain to me, and also what i read...
But i have always not understand what is the interest :?
Perhaps for big software, with several devellopers, but since 10 years i use nearly 10h/day PB, never one time i say to me that i want PB is OOP.

With procedural, i can all do, all what i want, never one time someone say it's impossible, always friends help me, and finally i have what i whant.

Since i want do the same thing on ANDROID, it's exactely the contrary, nerver i have what i want :lol: always a problem.. :|
The first day i use OOP JAVA, i want have global variable like in procedural..and i read "It's impossible in JAVA, like in procedural" :shock:

I want after IncludeFile, and JAVAMAN say to me, "It's impossible in JAVA" :shock: :shock: i love this "splendid" language :mrgreen:
So EREL the creator of B4A have created in his language, a folder shared, for adding this function very useful missing in JAVA 8)
It's not also good than an includefile, but if you put a file into this sharedFolder the compilator search inside it, if it not found the function in another place.
Personnally, i prefer the include file with a preprocessor, more flexible ... but it's better than JAVA :evil:
ImageThe happiness is a road...
Not a destination
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Google Go Language

Post by Danilo »

Kwai chang caine wrote:Yes, in fact is not really the main problem...but the OOP :oops:
That's a problem, indeed. Nearly all modern APIs/Frameworks are object-oriented.
Objective-C/Swift on MacOS/iOS. Java/C++ on Android. C#/C++.net/VB.net/.NET Framework/WindowsRuntime on Windows.

Don't know how I could help you if that's such a big problem for you... sorry. :cry:
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5500
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Google Go Language

Post by Kwai chang caine »

You have right, they are less and less procedural programming language :cry:
Fortunately, PB and FRED fight all the day against this wave :D

So it's a pity that nobody had the same fight for android :cry:
Mainly for not use JAVA, the worst language i have never seen, but also for programming simply...

Since several years i try to understand OOP, already i have always not understand the interest for a little application, but event if i ubnderstand a little bit when that works, i found it's more hard to code in OOP than procedural.

So yesterday, it's not christmas, but a little miracle come, i believe i have a little bit understand OOP thanks to B4A
In B4A not use fully OOP, for exampler EXTEND not exist really.
But for begining, i a half OOP is already more for KCC :lol:

Like you know GO, believe you it's possible to create button, Fields, etc ... so GUI with it ?
ImageThe happiness is a road...
Not a destination
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Google Go Language

Post by Danilo »

Kwai chang caine wrote:So yesterday, it's not christmas, but a little miracle come, i believe i have a little bit understand OOP thanks to B4A
Good to see KCC is able to learn something new. Don't give up! ;)
Kwai chang caine wrote:Like you know GO, believe you it's possible to create button, Fields, etc ... so GUI with it ?
Actually I didn't know about GOMOBILE. The Wiki already says it's still experimental/incomplete.
I have no problem with OOP (I like and prefer it), so I'm fine with B4X, MX, Haxe for mobile development.

Xojo is the only other thing that comes to mind for mobile dev, but I don't have any personal experience with it.
I still like native cross-platform Apps. Something like PB for Android and iOS, and with support for object-oriented programming, preferably.
Unfortunately such a 'Best' thing doesn't exist, yet.
User avatar
the.weavster
Addict
Addict
Posts: 1581
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: Google Go Language

Post by the.weavster »

Danilo wrote:Xojo is the only other thing that comes to mind for mobile dev, but I don't have any personal experience with it.
The only mobile target for Xojo is iOS.
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Google Go Language

Post by Danilo »

the.weavster wrote:
Danilo wrote:Xojo is the only other thing that comes to mind for mobile dev, but I don't have any personal experience with it.
The only mobile target for Xojo is iOS.
The only really super-cross-platform tools are Haxe and MonkeyX(2), anyway. And maybe (expensive) WinDev /WebDev - and of course Qt.

See my rant/remark (#15) at http://www.monkey-x.com/Community/posts ... ost=113382
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5500
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Google Go Language

Post by Kwai chang caine »

Danilo wrote:I have no problem with OOP (I like and prefer it),
Yes, but you are the great DANILO 8) , it's another thing for little KCC :mrgreen:

I have take a look to MX and Haxe, but i'm not sure even if it's OOP, it is what i search.
The problem for me, it's even when it's writen it's simple to use, that's not works for me :oops:
I have also try to run QT with necessitas, but i have just can run the IDE :oops:

Furthermore, apparently the only language able to use ANDROID API, it's the C# and it's surely not simple to create GUI with it, and they are not enough example on the WEB :|

For the moment since one month i try numerous things, except RFO-Basic and B4A, i have not found something really simple like PB, to use :|
ImageThe happiness is a road...
Not a destination
User avatar
the.weavster
Addict
Addict
Posts: 1581
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: Google Go Language

Post by the.weavster »

Kwai chang caine wrote:For the moment since one month i try numerous things, except RFO-Basic and B4A, i have not found something really simple like PB, to use :|
For creating Android apps I still don't think there's anything easier than DroidScript.

Here's a sample from their website to demonstrate how simple it is (your app always starts with the OnStart() function):

Code: Select all

    //This demos creating dialog boxes.  You can add
    //any type of control to a dialog box.  Here we
    //just adding a list control.
     
    //Called when application is started.
    function OnStart()
    {
    	//Create a layout with objects vertically centered.
    	lay = app.CreateLayout( "linear", "VCenter,FillXY" );	
     
    	//Create a button to launch the dialog.
    	btn = app.CreateButton( "Show Dialog Box", 0.6, 0.1 );
    	btn.SetOnTouch( btn_OnTouch );
    	lay.AddChild( btn );
     
    	//Add layout to app.	
    	app.AddLayout( lay );
    }
     
    //Called when user touches our button.
    function btn_OnTouch()
    {
        //Create dialog window.
        dlgTxt = app.CreateDialog( "Choose a Fruit" );
     
        //Create a layout for dialog.
        layDlg = app.CreateLayout( "linear", "vertical,fillxy,left" );
        layDlg.SetPadding( 0.02, 0, 0.02, 0.02 );
        dlgTxt.AddLayout( layDlg );
     
        //Create a list control.
        var list = "Apples,Oranges,Bananas,Cheese,Milk,Eggs,Flour";
        lstDlg = app.CreateList( list, 0.8, 0.3 );
        lstDlg.SetTextSize( 22 );
        lstDlg.SetTextColor( "#dddddd" );
        lstDlg.SetOnTouch( lst_OnTouch );
        layDlg.AddChild( lstDlg );
     
        //Show dialog.
        dlgTxt.Show();
    }
     
    //Handle list item selection.
    function lst_OnTouch( item )
    {
        //Hide the dialog window.
        dlgTxt.Hide();
     
        //Show which fruit the user chose.
        app.ShowPopup( "You chose " + item, "Short" );
    }

DroidScript includes an IDE. Your Android device and PC need to be on the same LAN, you start the IDE on your Android device and it displays an IP address, you direct the browser on your PC to that IP address et voila, there's the IDE.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5500
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Google Go Language

Post by Kwai chang caine »

Thanks for your tips 8)

But if it's for use a script, rfo-basic is again more simple.
The same basic of the years 80..

Furthermore rfo basic, can create apk for distribute.
It's a fake of apk, because it embeded the rfo prg in the apk and instal it before run, but for the user it's transparent..
ImageThe happiness is a road...
Not a destination
User avatar
Danilo
Addict
Addict
Posts: 3036
Joined: Sat Apr 26, 2003 8:26 am
Location: Planet Earth

Re: Google Go Language

Post by Danilo »

Kwai chang caine wrote:For the moment since one month i try numerous things, except RFO-Basic and B4A, i have not found something really simple like PB, to use :|
You are not alone, KCC. Installing and configuring Java, Android SDK/NDK and the required
SDK version numbers, sometimes additional build tools like Ant, Flash SDK, MinGW
or Visual Studio, etc. is a lot of work and not so easy if you do it the first time.
Especially if something goes wrong and doesn't work.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5500
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Google Go Language

Post by Kwai chang caine »

Thanks DANILO you cheers me 8)
Because if someone like you found not really easy all the world of ANDROID.... imagine me :oops:

I fight all the days, for just try to do a little applications,

Image

and i say to me it's when even a world, it's forced to do all that for just manage a little processor.
When you think the PC have big processor, and very more hard devices, and finally it's not so hard to do whant we want :D

At the begining, i believe WINDOWS is bad OS, but now, after knowing ANDROID i found, perhaps it's cool it was free, but we pay at the end with time and problem :?
When you think that under this cheat of JAVA they are a LINUX, and my dream of C..... but it is jailed by GOOGLE :twisted:

Image

Perhaps a day, a super hero or better.... a team of super heroes, open the door of the C, with a simple IDE and a simple compilator.....without big library ... 8)
ANDROID is too young for the moment, LINUX have not try to tolen the place of WINDOWS in the firts years....
I believe it's necessary to wait again a little bit, for see the supers heroes come :mrgreen:

And why not with crowdfunding ???? the title ?????

Hey !!! you want a simple language, without installator, portable on usb, procedural or not, creating APK and library...
In one word....you want a PB for ANDROID ????
So give me dollars, i found an army of programmers, for create the most simple language for ANDROID never seen !!!!


In the TEAM ...KCC can sweep
Image
And bring coffee at the big MASTER of programmation :mrgreen:
Image
ImageThe happiness is a road...
Not a destination
User avatar
the.weavster
Addict
Addict
Posts: 1581
Joined: Thu Jul 03, 2003 6:53 pm
Location: England

Re: Google Go Language

Post by the.weavster »

Kwai chang caine wrote:But if it's for use a script, rfo-basic is again more simple.
The same basic of the years 80..
If you try both I think you'll change your mind. Besides DroidScript uses V8 so there's no interpreter.
Kwai chang caine wrote:Furthermore rfo basic, can create apk for distribute.
It's a fake of apk, because it embeded the rfo prg in the apk and instal it before run, but for the user it's transparent..
For a small fee you can buy a plugin for DroidScript that will create an apk from your script.
User avatar
Kwai chang caine
Always Here
Always Here
Posts: 5500
Joined: Sun Nov 05, 2006 11:42 pm
Location: Lyon - France

Re: Google Go Language

Post by Kwai chang caine »

Excuse me the.weavster, but after at less 10 languages, several weeks to search and not found what i want, i'm little bit tired to try, try, try again and always be disapointed of something :oops:

But you have good arguments
Well ....i return take one eye to your "DroidScript " :wink:

Thanks a lot for your advice 8)
ImageThe happiness is a road...
Not a destination
Post Reply