Skip to main content

All Questions

0 votes
1 answer
130 views

Simple but frequently throwing vs reasonable but rarely throwing vs complex but never throwing [duplicate]

A lot of code that's designed to convert or parse some data of type Foo into a Bar is written with the assumption that one wouldn't intentionally pass it invalid inputs. As such, it assumes that ...
BambooleanLogic's user avatar
8 votes
6 answers
80k views

How to create multiline strings for sql queries that are readable, maintainable and fast in Java

I have some SQL commands that I am trying to figure out the best way to have them in code so that: 1. They are very readable 2. They would be easy to update 3. They won't be performance overhead due ...
Jim's user avatar
  • 316