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

Category 50 posts

Programming

Writing about Programming.

Aphorisms11 Oct 2006

Why you shouldn't be concerned about optimization

When you were at university or taking a programming course, you—like me—were probably taught about the importance of optimization. In the real world, though, you should strive to write good…

Read article ↗
Java10 Oct 2006

How to select any character across multiple lines in Java

You can do that using the following pattern in the static compile method of the java.util.regex.Pattern class. The pattern is (.|n|r)? which means: any character (the .) or (the |) n or r.…

Read article ↗
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 ↗
← Newer posts
Page 9 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