Comments (2)
Yeah - that's a quirky lesson, it needs some polishing I'm afraid. I rewrote some of it to make better sense (ie extension as a form of specialization) this should compile and get it's point across effectively.
Please close this issue if you feel the changes in my issue15 commit a moment ago help. There's certainly room for improvement there, and that I am open to hearing about it. I certainly appreciate the feedback either way, but in larger volumes - pull requests are the most convenient to get through.
from java-koans.
The "oldest" (base) class is Child
, which is extended by Parent
and then extended again by GrandParent
... which is kind of weird. Makes it harder to tell what was intended when you have a line like Object parent = new Child();
... but I guess the intent is to confuse, at least a bit.
No compilation errors though, and I could get all these koans working. The only cleanup I'd really suggest is moving Child
and its interface Sleepable
up from the bottom of the file so that they appear before the classes that extend them. Closing this one.
PS: I've never used git before --- only Subversion, CVS, and RCS --- so I can't make pull requests until I read up on what they are. :) Not a project I can start tonight, I'm afraid.
from java-koans.
Related Issues (20)
- Misleading koan about chars HOT 1
- Source path must actually exist in AboutTryWithResources HOT 17
- Create a JavaKones Organization HOT 5
- netbeans can´t run jInternal frame HOT 2
- AboutPrimitives HOT 2
- Add ANSI colors to terminal output? HOT 2
- Intermediate AboutEquality not behaving as expected. HOT 2
- Run koans in "non-interactive" mode HOT 8
- Run koan on IntelliJ IDEA HOT 2
- FileMonitorPolling error HOT 2
- Should Koan output "give away" the solution? HOT 3
- Misleading comment on shortCircuit koan HOT 1
- assertNotSameInstance a bit unclear HOT 3
- nestedIfsWithoutCurlysAreReallyMisleading doesn't live up to the name HOT 1
- error in instructions for toStringIsTestedForNullWhenInvokedImplicitly HOT 1
- Outdated Gradle version?
- Only display the expected value after student has attempted koan
- IDE support
- Intermediate AboutStreams.java: Duplicate Koan HOT 1
- AboutFileIO Koan basicFileWritingAndReading() line 29 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from java-koans.