decoration decoration
Stories

GROKLAW
When you want to know more...
decoration
For layout only
Home
Archives
Site Map
Search
About Groklaw
Awards
Legal Research
Timelines
ApplevSamsung
ApplevSamsung p.2
ArchiveExplorer
Autozone
Bilski
Cases
Cast: Lawyers
Comes v. MS
Contracts/Documents
Courts
DRM
Gordon v MS
GPL
Grokdoc
HTML How To
IPI v RH
IV v. Google
Legal Docs
Lodsys
MS Litigations
MSvB&N
News Picks
Novell v. MS
Novell-MS Deal
ODF/OOXML
OOXML Appeals
OraclevGoogle
Patents
ProjectMonterey
Psystar
Quote Database
Red Hat v SCO
Salus Book
SCEA v Hotz
SCO Appeals
SCO Bankruptcy
SCO Financials
SCO Overview
SCO v IBM
SCO v Novell
SCO:Soup2Nuts
SCOsource
Sean Daly
Software Patents
Switch to Linux
Transcripts
Unix Books

Gear

Groklaw Gear

Click here to send an email to the editor of this weblog.


You won't find me on Facebook


Donate

Donate Paypal


No Legal Advice

The information on Groklaw is not intended to constitute legal advice. While Mark is a lawyer and he has asked other lawyers and law students to contribute articles, all of these articles are offered to help educate, not to provide specific legal advice. They are not your lawyers.

Here's Groklaw's comments policy.


What's New

STORIES
No new stories

COMMENTS last 48 hrs
No new comments


Sponsors

Hosting:
hosted by ibiblio

On servers donated to ibiblio by AMD.

Webmaster
Ruffled feathers | 178 comments | Create New Account
Comments belong to whoever posts them. Please notify us of inappropriate comments.
So, Oracle -> Oinkle ? (n/t)
Authored by: hardmath on Friday, April 20 2012 @ 12:22 PM EDT
.

---
Do the arithmetic or be doomed to talk nonsense. -- John McCarthy (1927-2011)

[ Reply to This | Parent | # ]

So Java Language can be compatible with Android
Authored by: Anonymous on Friday, April 20 2012 @ 04:09 PM EDT


just want to clarify that.

Android is not compatible with Java, nor does it need to be.

Thanks Googles work effort, Java the Language is compatible with Android.

That's two different things.

[ Reply to This | Parent | # ]

To Be Contrary...
Authored by: Anonymous on Friday, April 20 2012 @ 08:21 PM EDT

One could argue that java the language was very influenced by SmallTalk and Objective-C. Yes, when writing a language the tasks that are necessary do have to be done, and the language is easier to learn when it looks similar to other established languages.

But let's think about our inString method. Maybe we want to start somewhere within the string. Do we write inString(in startPoint, str string, str matchPatter). Are we allowing overloading? Or do we create inStringBeginningAt(str matchString, str string, int startPoint) because unique symbols are easier for us but harder for programmers, as they have to remember two symbols and parameter signatures. Is the indexing 0 or 1?

What about standard perl matching patterns. Do we overload inString and consider an exact match a simple regular expression and parse for escaped characters in order to understand the regular expression code? Oh, but what if the clients want to search for an exact match of a regular expression phrase. Maybe we should create a RegularExpression object, overload toString and have inString(str targetString, RegularExpression regex). Also, inString(str targetString, RegularExpression, int beginningAt).

What about substrings, so we look for matches in between position i and k.

What's the best api for the RegularExpression class? String constructors, meaning parsing, and the creation of a grammar to distinguish between any match on a pattern of any length (*) and a match on the asterisk. Aren't regular expressions hard to read? Should we simplify what regular expressions we accept or maybe subclass RegularExpressions and have SimpleRegularExpressions. The superclass will take standard perl, the the subclass will take our own simplified grammar.

Every option comes with five forks: what do I want now, what will I want later, what do the clients want, what will the clients want in the future, and what do we have time to accomplish?

I will concede this point: the latter question leads language designers who are using C- style syntax to have solutions that look kinda the same. The Objective-C designers chose to avoid overrides The python folks didn't like all those curly braces. Seems to me people use a different adjective (Object-Oriented languages) (or verb (imperative, functional languages) when working with regular expressions.

[ Reply to This | Parent | # ]

Ruffled feathers
Authored by: Anonymous on Saturday, April 21 2012 @ 12:13 AM EDT
I was just conjouring the courtroom scene in fast-forward being set to the music
of the famous game where feathered friends launch themselves at some haughty
hogs, and now I can't get the picture out of my mind.Gah!

WS (not signed-in)

[ Reply to This | Parent | # ]

Groklaw © Copyright 2003-2013 Pamela Jones.
All trademarks and copyrights on this page are owned by their respective owners.
Comments are owned by the individual posters.

PJ's articles are licensed under a Creative Commons License. ( Details )