Journal Shadow Wrought's Journal: Outthunk by Thinking in Java 10
So this time I decided to read TiJ first, so I would already know why the language was doing what it was doing. That way when I sat down to learn the syntax It would make sense, having already been built in. And, to a certain extant it worked. Loops make a lot more sense now than they used to. But... (you knew there'd be a but;-)
I'm halfway through the chapter on Polymorphism and it has just gone too esoteric for me. I can't follow what's going on in the code anymore, so I'm calling that part off. This should be one of the last dedicated weekends to "house stuff" so, in theory, I should be able to commit an hour a night to learning the syntax. My hope is that when I begin digesting the syntax next week, with this framework already in mind, that the two methods will balance each other and the lessons will make more sense. It'd sure be nice;-)
I might be off on this, but it seems that C++ is a language geared more towards single coders creating a master program to do what's required, whereas Java is geared more towards groups of programmers linking different chunks of code together to deal with issues as they arise.
Learn OOD, then polymorphism will make more sense (Score:2)
Yeah, you really have to have a conceptual understanding of Object Oriented Design to know why you'd want to use polymorphism. And the benefits of OOD and OOP are not something that can be contained in a single post.
I might be off on this, but it seems that C++ is a language geared more towards single coders creating a master program to do what's required, whereas Java is geared more towards groups of programmers
Re: (Score:2)
I guess the difference between C++ and Java would that it seems like C++ has been adapted for that environment, whereas Java is designed for it. Not a dig one way or the other so much as an observation.
Re: (Score:2)
Re:Learn OOD, then polymorphism will make more sen (Score:2)
Another way to look at is is to go as far as you can, but when you hit a wall and find yourself saying "This is stupid. there's gotta be a better way to do it." Then ask what a better way is.
Then you can see both the problem, and how an OOP technique can solve it.
Until you have encountered the
Re: (Score:2)
Although I must say that "fuzzy abstract" remended me of cleaning out the fridge last night...
programming (Score:2)
I tried to learn Perl, got just barely up to "Hello World"... and then got lost.
I installed Red Hat not just once, but three separate times, training wheels firmly in place each time... and then couldn't think of anything to do with it.
Re: (Score:2)
Re: (Score:2)
I'm a systems administrator at a large software company. I've recently been given the responsibility to maintain our Solaris Jumpstart infrastructure. Jumpstart is Sun's name for their automated network-based OS installation process. One thing that's required is to develop profiles that have a complete set of software packages that do not miss any dependencies and support the required
Polymorphism (Score:2)
Re: (Score:2)