I have seen people are using prefix o
a lot when developing ui5 application.
var oRowsModel = new sap.ui.model.json.JSONModel();
oValueHelpDialog.getTable().setModel(oRowsModel);
if (oValueHelpDialog.getTable().bindRows){
oValueHelpDialog.getTable().bindRows("/");
}
this.getView().setModel(oModel);
var oSelectedItem = oEvent.getParameter("selectedItem"),
oTimeline = this.getView().byId("ActivityTimeline"),
oTimelineBinding = oTimeline.getBinding("content");
Does it help somehow ? Is it a best practice ? What is the advantage?
I think that a lot of things are objects and specifying o
does not help much.
Why then to use it?