Artikel mit Tag c#

myndian.de

Artikel mit Tag c#

Verwandte Tags

groocy java language groovy grails dynamic typing windows enttäuschung book mocks tests ibatis sql maps tutorial test spring framework unittests nice eclipse scala fun literatur disco satire internet explorer video projekt apple safari internet netscape familie firefox web wissenschaft werbung bus & bahn montag tussis framework web development mvc sql optimization antipattern strindtemplate jdbc velocity performance object orientation jsp web-applikationen model driven software development ms sql server configuration database fehlerbehandlung strong typing open source mixins jade composition rpg traits adom

Sonntag, 2. März 2008

POJOs, POGOs und POCOs

Every up-to-date Java developer knows what a ‘plain old java object’ is and its shorthand: POJO. It is a reasonable term from the view of a Java developer and especially of a JEE developer. But there is so much hype around POJOs that other communities are using this term too. So I found articles about ‘plain old CLR/C# objects’ - shortly called POCOs as you may imagin - and a few minutes ago I stumbled upon ‘plain old groovy objects’ or POGOs.

What the hack is old within a ‘POCO’ or a ‘POGO’? Did I miss ‘.Net 2 enterprise edition’ and ‘enterprise groovy beans’? When will there be POROs and POBOs and POPOs and ...?

Perhaps the term ‘simple objects’ does really describe what is meant.
Geschrieben von Jörg in Softwaretechnik um 16:05 | Kommentare (0) | Trackbacks (0)
Tags für diesen Artikel: c#, groocy, java, language

Mittwoch, 31. Oktober 2007

last language war language trolling

Sorry, I could not get around. I had to post this. :-D

(via Ted Newards Blog Ride)
Geschrieben von Jörg in Softwaretechnik um 16:51 | Kommentare (0) | Trackbacks (0)
Tags für diesen Artikel: c#, fun, java, scala

Samstag, 26. November 2005

Scala makes things "just work"

This is our response to Anonymous generic methods making things “just work” using Scala instead of C#. Others had coded solutions in Java or Groovy.

Here’s our code in Scala. Have a look, how simple things can be:

object FindPersonsDemo with Application
{
  case class Person(firstName: String, 
                    lastName: String,
                    age: Int);

  val persons = List(
      Person(“Cathi”, “Gero”, 35),
      Person(“Ted”, “Neward”, 35),
      Person(“Stephanie”, “Gero”, 12),
      Person(“Michael”, “Neward”, 12));
 
  val newards = for (val p <- persons;
                     p.lastName == “Neward”) yield p;
   
  Console.println(newards);
}

The solution in groovy is also very short and nice to read. I was impressed. We had a look at Groovy for some time, because it seems to be a very cool scripting language, with Java roots which makes it very interesting. So we tried to start using it for tests. We tried. With little success. After asking some questions in the user mailing list we got an solution, which did not satisfy us.

Many groovy examples I have read were confusing. There are so much tricks and things you have to know to understand them. A nice example is the map creation syntax, which starts a great discussion in the mailing list. It seems to be very nice:
def map = [name:“Wallace”, likes:“cheese”]
But you can only use Strings as identifier. I had not seen this until some one points this out on the mailing list. This is very ugly, I think.

Let’s get back to the example. I think Scala is much faster and in contrast to a scripting language and it is type save. Yes, it’s really type save, even if you don’t see some type informations in this short piece of code.

I think we will have a look at Groovy again in the future, but Scala seems to be the language of choice at the moment. (beside the standard languages like Java, C#, ...) There’s nother Nice one, but it does not seem to be stable enough for use in real projects.

The first real post in our new blog, by the way. :-)
Geschrieben von Jörg in Softwaretechnik um 20:48 | Kommentar (1) | Trackbacks (0)
Tags für diesen Artikel: c#, groovy, java, nice, scala
(Seite 1 von 1, insgesamt 3 Einträge)

Suche

Inhalt

Startseite
Galerien
Impressum

Kategorien

  • XML Alltag
  • XML Internet
  • XML Musik
  • XML Politik
  • XML Reise
  • XML Softwaretechnik
  • XML Sonstiges
  • XML Visuelles

Alle Kategorien

Archive

Februar 2012
Januar 2012
Dezember 2011
Das Neueste ...
Älteres ...

Blog abonnieren

XML RSS 2.0 feed
ATOM/XML ATOM 1.0 feed
XML RSS 2.0 Kommentare

Login

Verwaltung des Blogs

Login

Aktuelle Einträge

Netzwerkkultur verändert die Gesellschaft
Dienstag, 17. November

Absolute and relative date and time
Sonntag, 18. Oktober

Oren Lavie - Her Morning Elegance
Dienstag, 6. Oktober

Twitter & Blogroll
Samstag, 8. August

Read It Later: Round-Trip-Integration mit Firefox und Google-Reader
Montag, 3. August

Blogroll

* Jörg bei Twitter
* Jens bei Twitter
* Nils bei Twitter

* Beetlebum
* a life less ordinary?
* Martin Fowler's Bliki
* Springify
* BILDblog
* Plazeboalarm
* LawBlog
* ADOM Blog
* Being busy
* Dr. Gero Presser

Links

* Heise
* The Scala Programming Language
Nils' Fotos bei fotocommunity.de
Jogi auf Qype
Get Firefox!
Use OpenOffice.org

Heise News

* Auch Tschechien setzt ACTA-Ratifizierung aus

* Datenschutz-Zertifikat für De-Mail-Lösung von Mentana-Claimsoft

* Brüssel will schärfer gegen Copyrightverstöße im Web vorgehen

* Corning und Samsung wollen gemeinsam OLEDs fertigen

* Cloudyn bietet Dienst zur Überwachung der Kosten in der Cloud

kostenloser Counter