Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!

Piotr Kalinowski

Greenhorn
+ Follow
since Feb 09, 2011
Piotr likes ...
Eclipse IDE Java Linux
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
3
Received in last 30 days
0
Total given
1
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Piotr Kalinowski

Hello,

I have a general question for Kenneth van Wyk, Mark Graff, Dan Peters, and Diana Burley (of course other security experts' comments are also welcome): how has the general level of security changed over time? Is it getting better? Is it getting worse? Is it possible to make such a summary?

Thanks,
Piotr Kalinowski
5 years ago
Yes, there is very big difference. Procedural programming means that you break programs into smaller pieces - procedures. Computations are made, generally, in sequence, with control structures like conditional instructions, iterations etc. In functional programming, main computations are made by calling functions which return values. And as in functions in mathematics, generally you don't care, what happens inside the function - only the result is important - there are no side effects.
I think the key differences are immutability and recursion instead of iteration.
(This is an informal explanation. For more strict definition see wikipedia: http://en.wikipedia.org/wiki/Functional_programming).
5 years ago
When I was learning for my exam a few years ago, I used books and mock exams. In my opinion training with mock exams is the fastest method of learning when you have basics.

Craig Walls wrote:You can certainly replace XML or JavaConfig with Groovy. In fact, that's what the Groovy configuration stuff from Grails does. I've also seen other similar efforts to configure Spring in other languages, including one awhile back called Springy that let you configure it in Ruby.
(...)



Thank you very much for the answer. I am a novice in Spring. I am working on my first project that uses this framework and still learning it. Groovy and Grails seem to be quite interesting - I hope I will have time to learn them, too.
9 years ago
Dear Author,

In a sample chapter of your book one can read that it is possible to reduce XML size by using annotations or Java-based configuration. My question is: what about other languages, especially those running on JVM? Is it possible to configure Spring with such languages, e.g. Groovy? Is it possible to completely replace XML with some scripting language? Do you think it would be a good idea, or just an alternative for "XML-haters"?

Thanks,
Piotr
9 years ago