Welcome, Guest. Please login or register.

Author Topic: Reaction vs MUI (as what concerns the API)  (Read 20584 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline jacadcaps

  • Jr. Member
  • **
  • Join Date: Apr 2003
  • Posts: 65
    • Show only replies by jacadcaps
    • http://dreamolers.meanmachine.ch
Re: Reaction vs MUI (as what concerns the API)
« Reply #59 from previous page: February 14, 2011, 01:02:50 PM »
Quote from: nicholas;615470
I prefer C++ to Obj-C.  Cocoa provides a very nice set of classes but Obj-C is from the devil.


You puked at Cocoa, not Obj-C.

Then again, Obj-C's method invocation is actually pretty close to BOOPSI - just replace [] with DoMethod and use : to separate arguments rather than , :) That makes it easy to switch to Obj-C/Cocoa when you're a MUI programmer. At least it took me far less time to learn Obj-C & Cocoa than to learn C++ with its imho obscure GUI toolkits like Qt or MFC.

Quote from: nicholas;615470

I type this from my 17" Macbook Pro 4,1 (and looking over my shoulder at the 3 Cocoa and 2 Obj-C books on my shelves.)
It's easy to bash someone you know nothing about.


Wrong:
http://dreamolers.binaryriot.org/fuhquake/
http://iconsole.pl
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Reaction vs MUI (as what concerns the API)
« Reply #60 on: February 14, 2011, 01:16:26 PM »
Quote from: nicholas;615470
I prefer C++ to Obj-C.  Cocoa provides a very nice set of classes but Obj-C is from the devil.


For me it's all about the right tool for the job... When doing low-level microcontroller work, I want C++... When doing high-level application development I love Obj-C, though I admit that over 60% of Obj-C's appeal comes from the maturity and elegance of Cocoa (really OpenStep).

Due to the rigid enforcement of design patterns in Cocoa and Obj-C programs can still be understood if the code has been ignored for nearly a year!
C++ offers too much freedom, I look back on a project written in C++ and spend a good deal oftime trying to figure out what I did and why, the comments only help so far :-/ (this is my limitation not C++).

The Amiga misses a tool as powerful as Interface Builder, also I don't know if any of the Amiga toolkits have a common inheritance from a single UIview class like cocoa does... That is a very important design advantage!

Quote

I type this from my 17" Macbook Pro 4,1 (and looking over my shoulder at the 3 Cocoa and 2 Obj-C books on my shelves.)


I really need to get a Cocoa book, I rely too much on learning from examples, often I'll not realise there is already a class/protocol/method that does what I want :)

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Reaction vs MUI (as what concerns the API)
« Reply #61 on: February 14, 2011, 01:48:25 PM »
Quote from: kolla;615447
Yes, isn't that what you want?


Users still have to run their existing software so no, it isn't. However the goal is that users don't have to depend on 3d party classes but everything you need is in the OS.

Quote

In this context, that saying makes no sense - MUI and MorphOS too are very much in the slow lane.


It is still better than Reaction which hasnt got any progress since Hack & Patch OS 3.5.
My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Reaction vs MUI (as what concerns the API)
« Reply #62 on: February 14, 2011, 02:54:35 PM »
Quote from: kolla;615448
... when browsing the web, perhaps.

You make it sound as if web browsing is the only task you'd use the computer for, but then... why on earth bother with an amiga system in the first place?

Hmm... actually you are right there, (apart from coding for fun) I dont see any other use for computers than web browsing. And of course gaming.

Quote
And you do know that you can run Miami without _any_ GUI engine? :)

Not Miami 1.x I had in 1995 or so. Miami 3.x or Miami Deluxe offered chance to run without GUI but I don't think I ever used that version. But why bother when you had 16 MB fast ram which was more than you ever would need on Amiga? :-) In 90s you could run MacOS on Shapeshifter at the same time while browsing the web.

And why really bother when 90% of quality software for Amiga used MUI. Not just good old IBrowse 1.22 I was using but AmIRC, AmFTP and AmTelnet to mention few classics from the 90s.

But maybe you should point out what you can do with Amigas. I even have got an Amiga you can use for demonstration. My Amiga 500 has got only Kickstart 1.3 on it but I can upgrade Kickstart to version 3.1. CPU or memory upgrade is not obviously needed because ClassAct is so efficient (there is 512kB memory expansion already). I guess I should download ClassAct 2.2 from Aminet first. I don't have a hard disk but I know how to split OS into several disks so it is not really issue here. Now, where is that cool application I can run on my Amiga?
My Amigas: A500, Mac Mini and PowerBook
 

Offline lsmart

  • Sr. Member
  • ****
  • Join Date: Jun 2009
  • Posts: 433
    • Show only replies by lsmart
Re: Reaction vs MUI (as what concerns the API)
« Reply #63 on: February 14, 2011, 05:31:34 PM »
Quote from: itix;615416
Let me guess: your GadTools applications have one big eventloop where you control all possible events using switch/case construct?

No, the event loop just gathers enough information to continue. The rest is done elsewhere. But you are obviously thinking that I have written Amiga software after 1995. But I did most of my Amiga development before that. And much of it wasn´t in C.

Quote from: itix;615416

And let me guess more: you copy/paste your GUI engine from your previous projects because you can not get arsed to write all that code again and again?

I never copy/paste code in bigger chunks. I tend write software modules for re-use.

Quote from: itix;615416
You probably dont support snapshotting or iconifying your windows, either. And of course you dont offer localization option because localized strings probably would exceed allocated space and you can't be arsed to TextLength() every UI string when calculating your UI layout. You do calculate your UI layout runtime, don't you?

I do adapt to language and font-size. Iconify wasn´t useful in my software and frankly I don´t know what snappshotting means in an Amiga application context. But I do know that there are a million great Amiga programms that don´t use MUI or Reaction.
 

Offline nicholas

Re: Reaction vs MUI (as what concerns the API)
« Reply #64 on: February 14, 2011, 05:48:38 PM »
Quote from: jacadcaps;615473
You puked at Cocoa, not Obj-C.


Hence the wink.  Matt knows I like to tease him about his passion for coding for Cocoa in ObjC, you apparently don't.

Quote

Then again, Obj-C's method invocation is actually pretty close to BOOPSI - just replace [] with DoMethod and use : to separate arguments rather than , :) That makes it easy to switch to Obj-C/Cocoa when you're a MUI programmer. At least it took me far less time to learn Obj-C & Cocoa than to learn C++ with its imho obscure GUI toolkits like Qt or MFC.



Wrong:
http://dreamolers.binaryriot.org/fuhquake/
http://iconsole.pl


That has *what* exactly to do with you bashing me despite knowing nothing about me?????
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline nicholas

Re: Reaction vs MUI (as what concerns the API)
« Reply #65 on: February 14, 2011, 05:57:36 PM »
Quote from: bloodline;615475
For me it's all about the right tool for the job... When doing low-level microcontroller work, I want C++... When doing high-level application development I love Obj-C, though I admit that over 60% of Obj-C's appeal comes from the maturity and elegance of Cocoa (really OpenStep).

Due to the rigid enforcement of design patterns in Cocoa and Obj-C programs can still be understood if the code has been ignored for nearly a year!
C++ offers too much freedom, I look back on a project written in C++ and spend a good deal oftime trying to figure out what I did and why, the comments only help so far :-/ (this is my limitation not C++).

The Amiga misses a tool as powerful as Interface Builder, also I don't know if any of the Amiga toolkits have a common inheritance from a single UIview class like cocoa does... That is a very important design advantage!



I really need to get a Cocoa book, I rely too much on learning from examples, often I'll not realise there is already a class/protocol/method that does what I want :)


When doing high level application development I use very expensive proprietary tools. As you say, each job requires a different tool.

For good Cocoa books you could do worse than these http://www.bignerdranch.com/books
Very well written and informative they are.
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline kolla

Re: Reaction vs MUI (as what concerns the API)
« Reply #66 on: February 14, 2011, 06:36:10 PM »
Quote from: itix;615498
Now, where is that cool application I can run on my Amiga?


http://aminet.net/package/dev/misc/AWNP_2-54 and you're all set.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline kolla

Re: Reaction vs MUI (as what concerns the API)
« Reply #67 on: February 14, 2011, 06:38:44 PM »
Quote from: lsmart;615530
frankly I don´t know what snappshotting means in an Amiga application context


Snapshotting the window location and size.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Reaction vs MUI (as what concerns the API)
« Reply #68 on: February 14, 2011, 06:40:05 PM »
Quote from: lsmart;615530
No, the event loop just gathers enough information to continue. The rest is done elsewhere. But you are obviously thinking that I have written Amiga software after 1995. But I did most of my Amiga development before that. And much of it wasn´t in C.


Then it changes quite lot.

Quote
I do adapt to language and font-size. Iconify wasn´t useful in my software and frankly I don´t know what snappshotting means in an Amiga application context. But I do know that there are a million great Amiga programms that don´t use MUI or Reaction.


Sure there are and I dont want to mockup that old software. Programmers did their best with tools they had available. But this was almost 20 years ago!
My Amigas: A500, Mac Mini and PowerBook
 

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Reaction vs MUI (as what concerns the API)
« Reply #69 on: February 14, 2011, 06:41:30 PM »
Quote from: kolla;615544
http://aminet.net/package/dev/misc/AWNP_2-54 and you're all set.


Great, so I can install multifunction pipe on my Amiga 500. What now?
My Amigas: A500, Mac Mini and PowerBook
 

Offline kolla

Re: Reaction vs MUI (as what concerns the API)
« Reply #70 on: February 14, 2011, 06:44:25 PM »
Quote from: itix;615551
Great, so I can install multifunction pipe on my Amiga 500. What now?


Now you pass data through that pipe, to build GUIs and do whatever you like.
B5D6A1D019D5D45BCC56F4782AC220D8B3E2A6CC
---
A3000/060CSPPC+CVPPC/128MB + 256MB BigRAM/Deneb USB
A4000/CS060/Mediator4000Di/Voodoo5/128MB
A1200/Blz1260/IndyAGA/192MB
A1200/Blz1260/64MB
A1200/Blz1230III/32MB
A1200/ACA1221
A600/V600v2/Subway USB
A600/Apollo630/32MB
A600/A6095
CD32/SX32/32MB/Plipbox
CD32/TF328
A500/V500v2
A500/MTec520
CDTV
MiSTer, MiST, FleaFPGAs and original Minimig
Peg1, SAM440 and Mac minis with MorphOS
 

Offline bloodline

  • Master Sock Abuser
  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 12113
    • Show only replies by bloodline
    • http://www.troubled-mind.com
Re: Reaction vs MUI (as what concerns the API)
« Reply #71 on: February 14, 2011, 06:52:12 PM »
Quote from: nicholas;615535
When doing high level application development I use very expensive proprietary tools. As you say, each job requires a different tool.

For good Cocoa books you could do worse than these http://www.bignerdranch.com/books
Very well written and informative they are.
The very same books recommended to me by my (rather more successful) iPhone developer friend :)

Offline itix

  • Hero Member
  • *****
  • Join Date: Oct 2002
  • Posts: 2380
    • Show only replies by itix
Re: Reaction vs MUI (as what concerns the API)
« Reply #72 on: February 14, 2011, 07:15:20 PM »
Quote from: kolla;615553
Now you pass data through that pipe, to build GUIs and do whatever you like.


So, it seems ClassAct is not much use at all.
My Amigas: A500, Mac Mini and PowerBook
 

Offline nicholas

Re: Reaction vs MUI (as what concerns the API)
« Reply #73 on: February 14, 2011, 09:38:08 PM »
Quote from: bloodline;615557
The very same books recommended to me by my (rather more successful) iPhone developer friend :)


I have two of them and they are a joy to read, I just feel "uncomfortable" writing ObjC.  To me it similar to blonde hair and white skin on a woman, does nothing for me.

Ain't choice great? :D
“Een rezhim-i eshghalgar-i Quds bayad az sahneh-i ruzgar mahv shaved.” - Imam Ayatollah Sayyed  Ruhollah Khomeini
 

Offline Crumb

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1786
  • Country: 00
    • Show only replies by Crumb
    • http://cuaz.sourceforge.net
Re: Reaction vs MUI (as what concerns the API)
« Reply #74 on: February 14, 2011, 09:49:43 PM »
Quote from: bloodline;615475
When doing low-level microcontroller work, I want C++

Assembly is usually better suited for that.
The only spanish amiga news web page/club: Club de Usuarios de Amiga de Zaragoza (CUAZ)