Here’s some code I’m writing for my day-job. I have an iterator of IScoreObjects (basically things that live on a musical score or timeline).I want an iterator of only the Notes. Where Notes are one of the things that implement the IScoreObject interface and can live on the score. Here’s my code. import java.util.Iterator; public …
Tag Archives: java
Quick And Dirty Java Analysis
I needed a quick and dirty way to see the class hierarchy and interface implementation of about 40 to 50 classes / interfaces in a small Java program. I didn’t need proper UML analysis / format or anything fancy. So a quick Python script + Graphviz did the job.
Aaaargh! Quora. No! (Should I learn Clojure for Android programming?)
Having contrasted Quora, positively with StackOverflow, I find that Quora is also starting to play the “word-shaping” game by which either an algorithm or a tone-deaf moderator decides to constrain how you are allowed to express your questions 🙁 No idea why they really feel the need to do this. But it basically has the …
Continue reading “Aaaargh! Quora. No! (Should I learn Clojure for Android programming?)”
I have to write a fucking custom Tuple class in my Java program just to have a function that returns a pair of values?
Someone on Quora asked me to answer a question on my personal history of using Java. It became a kind of autobiographical confession. I’ve never had a good relationship with Java. My first OO experience was with Smalltalk. And that spoiled me for the whole C++ / Java family of strongly typed, compiled OO languages. …
Question : Hey Phil, do you actually do any programming these days? Answer : Yes. Quite a lot at the moment. Though it’s a bit all over the shop. I’m dipping a toe into Android programming. (And, hmmm … Java …. I thought I’d got over my Java hangups by doing a lot of Processing, …
An idea for an Android GUI designer. Interesting to see the state of the art here. It’s an improvement on XML … but still, not as far forward as you’d hope.
The Java.next world