473,387 Members | 1,573 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

java

What computer science concepts can I learn from Java and not from Python?
Jul 18 '05 #1
4 1474
Demo <demobudda <at> yahoo.com> writes:

What computer science concepts can I learn from Java and not from Python?


Mainly, things that derive from static typing:
* Method overloading
* Interface declarations (there are ways to simulate this in Python, but the
effect is not identical)
* Checked exceptions (though I'm not convinced this is really something you
need to learn)

I'm sure there are more, but these're what jumped into my mind. Can't say I
really miss any of them. ;)

Steve

Jul 18 '05 #2
On 2004-09-11, Demo <de*******@yahoo.com> wrote:
What computer science concepts can I learn from Java and not from Python?


Access control (e.g. private, public, protected).

There's also a certain pleasure in actually getting things to work in Java,
somewhat like the pleasure, I imagine, of building ships in bottles.

And I have to say there are some really nice open source Java projects like
Hibernate.

Dave Cook
Jul 18 '05 #3
David Cook wrote:
There's also a certain pleasure in actually getting things to work in Java,
somewhat like the pleasure, I imagine, of building ships in bottles.


+1 QOTW.

-Peter
Jul 18 '05 #4
David Cook wrote:
On 2004-09-11, Demo <de*******@yahoo.com> wrote:
What computer science concepts can I learn from Java and not from Python?
Access control (e.g. private, public, protected).

There's also a certain pleasure in actually getting things to work in

Java, somewhat like the pleasure, I imagine, of building ships in bottles.


Yes, but these bottles are tidy.

Java's inner (sub)classes let you create an object of
another class, with a reference to the current object and
some (normally small) changes.
This allows to keep the definition of the other class tidy,
because there is no need to add features that will be
used in one place only.

And you can have anonymous inner classes, too.

Have fun,
Ype

Jul 18 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Ravi Tallury | last post by:
Hi We are having issues with our application, certain portions of it stop responding while the rest of the application is fine. I am attaching the Java Core dump. If someone can let me know what...
1
by: ptaz | last post by:
Hi I'm trying to run a web page but I get the following error. Ca anyone please tell me a solution to this. Thanks Ptaz HTTP Status 500 - type Exception report
1
by: David Van D | last post by:
Hi there, A few weeks until I begin my journey towards a degree in Computer Science at Canterbury University in New Zealand, Anyway the course tutors are going to be teaching us JAVA wth bluej...
0
oll3i
by: oll3i | last post by:
package library.common; import java.sql.ResultSet; public interface LibraryInterface { public ResultSet getBookByAuthor(String author); public ResultSet getBookByName(String name);
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.