Sperando di aver fatto cosa gradita, e' finalmente attiva una migliore formattazione del codice tramite il tag [CODE][/CODE]
Qui un esempio:
public class Payment {
private final int price;
private final String spending;
private final String description;
public Payment(int price, String spending, String description) {
this.price = price;
this.spending = spending;
this.description = description;
}
public String spending() {
return spending;
}
public int price() {
return price;
}
}
E per chi volesse attivare il syntax highlighter, rimando al tag gia' presente [XCODE][/XCODE], ed ecco un esempio di codice Java:
public class Payment {
private final int price;
private final String spending;
private final String description;
public Payment(int price, String spending, String description) {
this.price = price;
this.spending = spending;
this.description = description;
}
public String spending() {
return spending;
}
public int price() {
return price;
}
}
Questa e' una modifica che si estende anche alla sezione blog. Fateci sapere cosa ne pensate!