danfickle / neoflyingsaucer

[Deprecated - Please use openhtmltopdf at link] An attempt to modernize flyingsaucer, the HTML and CSS 2.1 renderer in pure Java
https://github.com/danfickle/openhtmltopdf
Other
38 stars 12 forks source link

Proposed cleanups #9

Closed hrj closed 10 years ago

hrj commented 10 years ago

@danfickle What do you think of these proposals:

If you are fine with it, I will attempt them myself.

danfickle commented 10 years ago

I enthusiastically agree. Go for it!

hrj commented 10 years ago

Added one more idea for final.

(Not sure if github sends notifications for edits.)

danfickle commented 10 years ago

I'm not a big fan of using final everywhere. I think it adds a lot of verbosity for little benefit.

hrj commented 10 years ago

Hmm, I am very fond of keeping immutable state wherever possible. Yes final is very verbose compared to alternative languages like Haskell / Scala, but final is what we have in Java.

Are you strongly opposed to it? In that case I won't bother making a PR for it.

danfickle commented 10 years ago

No, I'm not strongly opposed. If you wish to do the work, I'll certainly merge it. Thanks again for your work on this project. I hope to do some work of my own on the project in the near future. If you have any priority areas for me feel free to file an issue or comment.

hrj commented 10 years ago

cool; I am working on the final changes now.

About the future, I am still trying to find my bearings with the project. Will let you know as soon as I figure out. Thanks!