[AccessD] Learning .Net -- PHP Instead?

Max Wanadoo max.wanadoo at gmail.com
Tue Jun 23 15:51:15 CDT 2009


Of course it didn't, I am typing into a laptop using outlook and my fingers.
It is not structured.  It is not copied.

Just lil 'ol me!

Max



-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan
Sent: 23 June 2009 20:49
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Learning .Net -- PHP Instead?

Max,

Your examples don't use indentation which is the key to readable code.  
I find the second example below much more logical and easy to follow that
the first. 
   
1.
If <condition> then
    Do something
    Goto exithere
Endif
Do something else
Do something else
Do something else
Do something else
Do something else
Do something else
Do something else
Do something else
Exithere:
Do some more
Do some more
Do some more

2.
If <condition> then
      Do something
Else
     Do something else 
     Do something else 
     Do something else 
     Do something else 
     Do something else 
     Do something else 
     Do something else 
     Do something else 
     Do something else 
Endif
Do some more
Do some more
Do some more



On 23 Jun 2009 at 16:31, Max Wanadoo wrote:

> I use GOTO all the time, as in..
> 
> If <condition> then
> Do something
> Goto exithere
> Endif
> Code
> Code
> Exithere:
> Wind up and exit
> Errhandler:
> Etc
> 
> Much easier to read then..
> 
> If <condition> then
> Do something
> Else
> Do something else which is the main coding and stretched on and on.
> Endif
> 
> 
> Dont much care about standards, care more about what works for me...
> 
> Max
> 
> 
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust
> Sent: 23 June 2009 16:03
> To: Access Developers discussion and problem solving
> Subject: Re: [AccessD] Learning .Net -- PHP Instead?
> 
> There are always nostalga buffs out there ... LOL
> 
> Charlotte 
> 
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence
> Sent: Monday, June 22, 2009 10:06 PM
> To: 'Access Developers discussion and problem solving'
> Subject: Re: [AccessD] Learning .Net -- PHP Instead?
> 
> I thought GOTO and GOSUB functions were a thing of the past. |-P
> 
> Jim
> 
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro
> Sent: Monday, June 22, 2009 7:17 PM
> To: 'Access Developers discussion and problem solving'
> Subject: Re: [AccessD] Learning .Net -- PHP Instead?
> 
> Quite frankly I don't see the addition of a GOTO feature to be something
> to look forward to in any programming language. 
> 
> -----Original Message-----
> 
> 
> On Mon, Jun 22, 2009 at 12:37 PM, Kenneth Ismert <kismert at gmail.com>
> wrote:
> 
> > If you are interested in Web programming, I would suggest PHP. Per 
> > unit of effort, I think most VBA programmers would get further with 
> > PHP than with ASPX, especially if you are starting out from scratch.
> >
> <snipped the rest>
> 
> > Python or Ruby, and make it a much more expressive language than VBA.
> > * There is an enormous ecosystem of open-source libraries, IDEs, CMS 
> > sytems, and MVC frameworks to choose from.
> > * Projects developed under Windows/IIS should work with little or no 
> > changes under Linux/Apache.
> >
> > PHP Drawbacks:
> >
> > * PHP is a web-specific language. If you want something 
> > general-purpose, use something else.
> > * PHP's libraries are extensive and rapidly improving, but it doesn't 
> > have the monolithic library integration that .NET enjoys with the CLR.
> > * Comprehensive, transparent support for Unicode is still lacking, as 
> > it is with most scripting languages. PHP 6 will rectify this.
> >
> > -Ken
> > aseadvisors.com <http://www.databaseadvisors.com>
> >
> 
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
> 
> -- 
> AccessD mailing list
> AccessD at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com


-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list