Frank Bennett <[email protected]> writes:

> I've implemented incremental application of disambiguate="true" in
> citeproc-js (release 1.0.451). There is a test for it here:
>
>  
> https://bitbucket.org/bdarcus/citeproc-test/src/tip/processor-tests/humans/disambiguate_IncrementalExtraText.txt?at=default


Actually I'm not sure I like this approach because I find it a bit
confusing. If "disambiguate" is "true" then it should always evaluate to
"true" and so both the title and the edition should be printed. The
example is not confusing because all the disambiguate conditionals are
grouped together. When coded in macros their order of occurrence may be
more difficult to understand and predict, thus becoming a source of
possible bugs.

I understand that my perception may be due to different coding cultures
-- Haskell is a purely functional language and the value of a variable
is not going to change depending on the context --, still I wanted to
share my perspective.

Andrea

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
xbiblio-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xbiblio-devel

Reply via email to