Author Topic: Suggestion for simplifying the API  (Read 1934 times)

0 Members and 1 Guest are viewing this topic.

Herodes

  • Guest
Suggestion for simplifying the API
« on: 04 March, 2006, 17:06:38 »
Why do we need to have two functions like
Code: [Select]
frmHub:Get<SettingName>();
frmHub:Set<SettingName>( value );
where it could be just
Code: [Select]
fmrHub:SettingName( [value] )?

Does it make Ptx work faster or simply to make it all look pragmatic ?

PtokaX forum

Suggestion for simplifying the API
« on: 04 March, 2006, 17:06:38 »

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 730
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
Re: Suggestion for simplifying the API
« Reply #1 on: 04 March, 2006, 17:11:57 »
Already requested, has been rejected cause it would slow the C part down. I was not strong enough to convince PPK.  :-[
Everything could have been anything else and it would have just as much meaning.

Herodes

  • Guest
Re: Suggestion for simplifying the API
« Reply #2 on: 04 March, 2006, 17:15:13 »
Already requested, has been rejected cause it would slow the C part down. I was not strong enough to convince PPK.  :-[
Can you recall the title of the thread that you requested it ?

Offline bastya_elvtars

  • Forum God
  • ****
  • Posts: 3 730
  • Karma: +173/-7
  • The rock n' roll doctor
    • The FreshStuff3 Site
Re: Suggestion for simplifying the API
« Reply #3 on: 04 March, 2006, 20:06:48 »
I requested it through IM, as far as I can remember.
Everything could have been anything else and it would have just as much meaning.

PtokaX forum

Re: Suggestion for simplifying the API
« Reply #3 on: 04 March, 2006, 20:06:48 »