This is painful use of OOP (actual code from an Android app):
Camera.Parameters params = mCamera.getParameters();
params.setRotation(90);
mCamera.setParameters(params);
This would be NICE use of OOP: mCamera.setRotation(90);
OR mCamera.setParameters({"rotation": 90});
This is painful use of OOP: BitmapFactory.Options opts = new BitmapFactory.Options();
opts.inSampleSize = 4;
Bitmap bmp = BitmapFactory.decodeByteArray(data, 0, data.length, opts);
mImageView.setImageBitmap(bmp);
This would be nice use of OOP: mImageView.setImage(new Bitmap(data = data, sampleSize = 4));