Skip to content
Alessandro Lacava
  • Home
  • Blog
  • Articles
  • Talks

Writing 52 posts

The blog

Notes on programming, software design, and the occasional unexpected discovery.

JavaScript22 Sept 2006

How to include a .js file (a JavaScript file) within another .js file

Actually, there is no function you can call to include a JavaScript file within another one. That's the bad news. The good news is that you can use a trick to accomplish this task. Suppose…

Read article ↗
Java13 Sept 2006

Java passes EVERYTHING by value!

It's a common misconception—and sometimes even taught—that, in Java, primitives are passed by value and objects by reference. Actually, everything in Java is passed by value, including…

Read article ↗
Java13 Sept 2006

What happens if you write something like a = a++ in Java?

I've often seen discussions about this topic. Basically, here is the question. If you have code like this: What does it print? More than 50% of the programmers will answer 1, some of the…

Read article ↗
Oracle6 Sept 2006

Using dynamic SQL statements from PL/SQL

Sometimes you need to execute dynamic SQL statements. Starting with Oracle8i, you can accomplish this task using the EXECUTE IMMEDIATE statement. Here are three examples of how you can take…

Read article ↗
← Newer posts
Page 10 of 13
Older posts →
Alessandro Lacava

Software, words, and the ideas in between.

GitHub ↗LinkedIn ↗X / Twitter ↗Email ↗
© 2026 Alessandro Lacava
RSS feedPrivacy and cookies