aspose file tools*
The moose likes Agile and Other Processes and the fly likes learning PSP and a suitable IDE Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » Agile and Other Processes
Bookmark "learning PSP and a suitable IDE" Watch "learning PSP and a suitable IDE" New topic
Author

learning PSP and a suitable IDE

carlos ramos
Greenhorn

Joined: Aug 30, 2005
Posts: 4
I'm learning PSP right now, and I wanted to know what a good IDE is for applying the PSP principles. I've been thinking about BlueJ for its simplicity.

I've used IDE's such as NetBeans and Eclipse prior to this but Eclipse bypasses the compile stage which is needed in PSP and NetBeans, as Eclipse does, notifies you if there is a mistake with the red underlines so it kind of takes away from the defect recording process because one is tempted to correct the defect right away. Any suggestions?
Lasse Koskela
author
Sheriff

Joined: Jan 23, 2002
Posts: 11962
    
    5
Well, there's hardly an IDE these days that would not display compilation errors on the fly (while typing). I suspect it would make more sense to adapt PSP instead of using inferior tools just so you can count compilation errors.


Author of Test Driven (2007) and Effective Unit Testing (2013) [Blog] [HowToAskQuestionsOnJavaRanch]
Ilja Preuss
author
Sheriff

Joined: Jul 11, 2001
Posts: 14112
You should be able to configure Eclipse in the way you need it. In the workbench preferences you should be able to disable auto builds, and in the Java editor's there should be an option to disable the "squiggles".

I would be interested in hearing about your experience with PSP. I can hardly imagine using it - it just sounds too painfull to me...


The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
Scott Ambler
author
Ranch Hand

Joined: Dec 12, 2003
Posts: 608
Why are you learning PSP? Are you in a university course and a professor is inflicting it on you? Are you working for an organization that thinks that CMMI is a good idea (if so, you'd better start looking for another job because they'll likely outsource you once the org hits level 3)?

It would be interesting to hear back regarding your experiences with PSP.

BTW, I'd like to apologize for the "PSP/TSP is agile CMMI" article that Software Development published a few months back. I need to write a rebuttal, sigh.

- Scott


<a href="http://www-306.ibm.com/software/rational/bios/ambler.html" target="_blank" rel="nofollow">Scott W. Ambler</a><br />Practice Leader Agile Development, IBM Rational<br /> <br />Now available: <a href="http://www.ambysoft.com/books/refactoringDatabases.html" target="_blank" rel="nofollow">Refactoring Databases: Evolutionary Database Design</a>
carlos ramos
Greenhorn

Joined: Aug 30, 2005
Posts: 4
The PSP course is part of my university studies. I'm looking forward to learning it, and that's why I wnat to get the most out of it by choosing the right tools for the job. Later on, when I get into industry, I'm sure I'll use very robust tools.

For now however, I'm curious to see where I stand right now as far as programming, and how I will improve once I see the data from PSP.

I'll look at those things in Eclpise that were recommended, thanks for the help everyone.
carlos ramos
Greenhorn

Joined: Aug 30, 2005
Posts: 4
I went ahead with BlueJ as an IDE. The IDE is very basic and provides syntax highlighting but does not have advanced features such as those pop-up windows with all the functions when you type syntax on the fly.

The IDE has a compilation feature that stops at the first error, this enables me to record one defect at a time, eliminate it rather than getting a large list of errors. I can then continue on (a good thing for the PSP documentation).

My first program went very well and my estimates were very close to reality. I am also using a UML tool (EA Architect, desktop edition) so that I can practice design skills and UML. There is no code generation so that I can focus on learning UML, and of course, good software engineering practice. Of course out in industry, there will be code generation.

The good thing I have noticed is that in this first program I have been very focused. I thought the design very well. I coded carefully, and thought about each line on the fly. I noticed that during all phases, I took advantage of the time, and setting time estimates really helped keep me motivated. Also, during coding, I liked the fact that I had to really watch my syntax because the IDE wasn't going to look out for that. This analogous to the spell-checking in word processing programs where one just types and lets the spell checker fix it later.
Scott Ambler
author
Ranch Hand

Joined: Dec 12, 2003
Posts: 608
My first program went very well and my estimates were very close to reality. I am also using a UML tool (EA Architect, desktop edition) so that I can practice design skills and UML. There is no code generation so that I can focus on learning UML, and of course, good software engineering practice. Of course out in industry, there will be code generation.


How do you know if you're learning UML properly? Are you modeling with a UML expert that you can pick up good skills from? Is someone reviewing the diagrams after the fact? Which is the better approach?

How do you know if you're actually following good SE practice? Is good SE practice to create some documentation before you write your code? Is it to model a bit, code a bit test a bit, model a bit, ... and so on? Perhaps it depends on the context?

In industry many companies still use tools that don't generate code, and they think that this is an effective way to work. Hard to imagine, but it's true.

- Scott
carlos ramos
Greenhorn

Joined: Aug 30, 2005
Posts: 4
Good point Scott. Just the other day I was asking a colleauge if he could take a look at a UML diagram of mine, because it's true, I'm really not sure if I'm drawing the diagrams correctly. I've had this one book called "Fundamentasl fo Object-Oriented Design in UML" that has helped, but I'm thinking about getting hte book UML distilled. It seems like a good reference, but I would still like for othe people to look at the diagram to see if it's correct.

In any case, I think I'm going overboard with the UML for these smaller programs, but on the other hand, it does help me think out the design.
Scott Ambler
author
Ranch Hand

Joined: Dec 12, 2003
Posts: 608
Poke around the Agile Modeling site a bit before you spend more money on a book. The site should help you to improve your modeling efforts.

- Scott
 
jQuery in Action, 2nd edition
 
subject: learning PSP and a suitable IDE