Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

do you like the 7 rules i use?

51 views
Skip to first unread message

asetof...@gmail.com

unread,
Oct 23, 2015, 3:28:41 AM10/23/15
to
1) not have fear in use goto
in a function
because from goto born all
2) use return address and never
exceptions
because library has not stop
the program
3) in class use some variable that
says if each element of the class
has the right memory and are ok
as they are born
and use this at start of function
for see if every object of class
is ok (after they are born)
4) use some memory allocator that
find leak and memory errors
5) for portability use fixed size
types as u8 u32 u64 only
6) use some big num class for
signed unsigned, fixed float
limited only from memory
where from float one can say
number of digit ok after the
point
7) use only class, overload, template
and code as C and no other.
use ra2 almost always.



asetof...@gmail.com

unread,
Oct 23, 2015, 3:34:06 AM10/23/15
to
I forget
8) for C like code:
use function for return error
code to the caller

for code use class
can be useful to have one variable
that says that object is or not is
the error object.
(error object is one object
that used for build other object
has as result one error object)

What do you say?

asetof...@gmail.com

unread,
Oct 24, 2015, 3:45:52 AM10/24/15
to
But where are all? To follow
conferences?

Öö Tiib

unread,
Oct 24, 2015, 12:11:58 PM10/24/15
to
On Saturday, 24 October 2015 10:45:52 UTC+3, asetof...@gmail.com wrote:
> But where are all? To follow
> conferences?

Sorry, but your seven rules did look uninteresting trolling that was
perhaps inspired by "Bjarne Stroustrup announces C++ Core Guidelines"
thread and nonsense ramblings of Ramine. Such threads deserve silence
as answer.

Gareth Owen

unread,
Oct 24, 2015, 12:13:08 PM10/24/15
to
Öö Tiib <oot...@hot.ee> writes:

> Such threads deserve silence as answer.

And yet, here you are.

Öö Tiib

unread,
Oct 24, 2015, 12:20:40 PM10/24/15
to
Yes, but his third post was asking a question that I think deserved
an answer.

asetof...@gmail.com

unread,
Oct 24, 2015, 12:31:47 PM10/24/15
to
>Such threads deserve silence
as answer.
Amen
0 new messages