Mike's Technology Blog

Wednesday, December 29, 2004

.NET naming


I was playing with C# a bit, but its variable naming is driving me insane - I have to use capital letters so much, for example, when I want get the value of some text field I have to write the following:

string someValue = someTextBox.Text;

Note the capital letter in 'Text', personally, I love Java accessor:

String someValue = someTextBox.getText();

But guy from Microsoft decided to make coders life 'easier', the invented their own properties that cause this naming confuse:

class Person {
private string name;
public string Name {
get {
return name;
set {
name = value;

Wednesday, December 15, 2004

Nice finding...

While going through the SitePoint forums I came across the thing - phpBeans.

I assume you can guess what it is by just looking at their URL, so I don't have to explains that it's yet another attempt to make PHP closer to .....of course, Java.

phpBeans is being discussed here.