--H8ygTp4AXg6deix2
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

* Josef 'Jupp' Schugt (jupp / gmx.de) wrote:
[snipped]
> C# is quite portable=20

*cough*

> and is no programming language for braindeath.
> It comes with some cute features I don't expect to see in a
> braindeath's program. Just to mention two: accessors and regex.
>=20
> Slightly modified example from Programming Ruby:
>=20
> class Mod
>   def size
>     @size
>   end
>   def size=3D(val)
>     @size =3D val
>   end
> end

I think the following code is a bit more realistic:

class Mod
  attr_accessor :size
end

> C# equivalent:
>=20
> class Mod {
>   int Size;
>=20
>   public int size {
>     get { return(Size); }
>     set { Size =3D value; }
> }
>=20
> Different approach but same feature.
[snipped]
> Josef 'Jupp' Schugt

--=20
Paul Duncan <pabs / pablotron.org>        pabs in #gah (OPN IRC)
http://www.pablotron.org/               OpenPGP Key ID: 0x82C29562

--H8ygTp4AXg6deix2
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+nIOwzdlT34LClWIRAiXcAJ9URxpxHTX5OhBEh4XfTzWqHmQITgCfZ1Wf
sq5c2xnpUzYpx7A3B9wsVYY=
=bbZZ
-----END PGP SIGNATURE-----

--H8ygTp4AXg6deix2--

* Josef 'Jupp' Schugt (jupp / gmx.de) wrote:
[snipped]
> C# is quite portable=20

*cough*

> and is no programming language for braindeath.
> It comes with some cute features I don't expect to see in a
> braindeath's program. Just to mention two: accessors and regex.
>=20
> Slightly modified example from Programming Ruby:
>=20
> class Mod
>   def size
>     @size
>   end
>   def size=3D(val)
>     @size =3D val
>   end
> end

I think the following code is a bit more realistic:

class Mod
  attr_accessor :size
end

> C# equivalent:
>=20
> class Mod {
>   int Size;
>=20
>   public int size {
>     get { return(Size); }
>     set { Size =3D value; }
> }
>=20
> Different approach but same feature.
[snipped]
> Josef 'Jupp' Schugt

--=20
Paul Duncan <pabs / pablotron.org>        pabs in #gah (OPN IRC)
http://www.pablotron.org/               OpenPGP Key ID: 0x82C29562
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE+nIOwzdlT34LClWIRAiXcAJ9URxpxHTX5OhBEh4XfTzWqHmQITgCfZ1Wf
sq5c2xnpUzYpx7A3B9wsVYY=
=bbZZ
-----END PGP SIGNATURE-----