PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.lang.cplus > Re: Boost Logging Lib, v2 - added documentation
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
Re: Boost Logging Lib, v2 - added documentation

Réponse
 
LinkBack Outils de la discussion
Vieux 15/10/2007, 10h52   #1 (permalink)
jtorjo2007@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Boost Logging Lib, v2 - added documentation

Hi Roland,

>
> IMO, the age of 'boosted' libraries is gone. A library may be


This seems quite biased.

> configurable in some way as long as it provides reasonable defaults


Well, that's the plan - to provide reasonable defaults.

> ('convention over configuration'). But configuration via policy
> template parameters introduces high, unnecessary complexity that
> hardly any real-world user is willing to accept.
>


It all depends on ease of use. I will definitely provide defaults and
easy configuration for different scenarios.

Best,
John


--
http://John.Torjo.com -- C++ expert
.... call me only if you want things done right


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

  Réponse avec citation
Vieux 16/10/2007, 01h04   #2 (permalink)
Roland Pibinger
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Boost Logging Lib, v2 - added documentation

On Mon, 15 Oct 2007 03:52:23 CST, jtorjo2007@yahoo.com wrote:
>> configurable in some way as long as it provides reasonable defaults

>
>Well, that's the plan - to provide reasonable defaults.
>
>> ('convention over configuration'). But configuration via policy
>> template parameters introduces high, unnecessary complexity that
>> hardly any real-world user is willing to accept.

>
>It all depends on ease of use. I will definitely provide defaults and
>easy configuration for different scenarios.


The problem with policy template parameters is that they are an
unavoidable part of the user interface and e.g. pop up in compiler
error messages.


--
Roland Pibinger
"The best software is simple, elegant, and full of drama" - Grady Booch

[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

  Réponse avec citation
Vieux 16/10/2007, 13h44   #3 (permalink)
jtorjo2007@yahoo.com
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Boost Logging Lib, v2 - added documentation

> >It all depends on ease of use. I will definitely provide defaults and
> >easy configuration for different scenarios.

>
> The problem with policy template parameters is that they are an
> unavoidable part of the user interface and e.g. pop up in compiler
> error messages.
>


Then all I have to do is make sure there won't be any compile
errors :P
That is, initializing the lib will be just a few lines of code.

Best,
John


--
http://John.Torjo.com -- C++ expert
.... call me only if you want things done right


[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

  Réponse avec citation
Vieux 17/10/2007, 01h11   #4 (permalink)
Neal E. Coombes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Boost Logging Lib, v2 - added documentation

On Oct 15, 7:04 pm, rpbg...@yahoo.com (Roland Pibinger) wrote:
>
> The problem with policy template parameters is that they are an
> unavoidable part of the user interface and e.g. pop up in compiler
> error messages.


I agree, but care can be taken to make the error messages at least
readable. I use the boost concept checking library to ensure that the
template parameters passed in meet the requirements, this should
produce much shorter and more immediate error messages when something
is wrong with a policy. It will be improved even more with C++0x with
concepts being built right into the language.

Neal


--
[ See http://www.gotw.ca/resources/clcm.htm for info about ]
[ comp.lang.c++.moderated. First time posters: Do this! ]

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 11h23.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,11599 seconds with 12 queries