c++: dynamic_cast vs reinterpret_cast

John Tsiombikas nuclear at member.fsf.org
Tue Sep 11 16:10:37 EEST 2012


On Mon, Sep 10, 2012 at 03:34:51PM +0300, Theodore Lytras wrote:
> OK, άρα εσύ μου λες να χρησιμοποιήσω C-style casts, τα οποία σε διάφορα C++ 
> tutorials τα αποδοκιμάζουν. Αν είναι πάντως θέμα στυλ, εμένα μ'αρέσουν τα C++ 
> casts, είναι λιγότερο ambiguous και πιο ξεκάθαρα στο μάτι νομίζω.

Nai ayto leo :) Kai nai einai thema styl. Kata ti gnomi mou ta C++ casts
just look fugly.

Kapoioi C++ zealots lene oti "prepei na einai ugly, giati to cast einai
kako pragma ftou kaka klp", alla aytoi einai kai oi idioi pou lene oti
to goto de tha eprepe na yparxei, opote den tous dino simasia, otan
megalosoun tha mathoun.

-- 
John Tsiombikas
http://nuclear.mutantstargoat.com/


More information about the Linux-greek-users mailing list