Here is another vote:
4 spaces for .java, .[dlrs]+
2 spaces for anything starting with ___
rules-dev mailing list
rules-dev@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Downloaded Drools Javadocs from http://www.jboss.org/drools/downloads.html.
BAD: The javadoc for drools-server, starting at
javadoc/unstable/drools-server/index.html, is completely broken.
BAD: javadoc/unstable/drools-dataloaders-jaxb/index.html and
javadoc/unstable/drools-dataloaders-smooks/inde
On 07/09/2010 00:48, Diego López León wrote:
> What do you think about using 2 spaces for XMLs?
true in XML 4 can look too much, I think in the past I've hand indented
with 3...
I'll let geoffrey decide if he wants 2 or 3 :)
4 for java code I think is fine
Mark
> I think maven guys use this c
What do you think about using 2 spaces for XMLs?
I think maven guys use this convention and it looks nice
On Mon, Sep 6, 2010 at 7:36 PM, Michael Neale wrote:
> 4 spaces makes sense. Tabs would be a mistake and misconfigured IDE.
> I have heard that for "dense" languages - people like 2 space in
4 spaces makes sense. Tabs would be a mistake and misconfigured IDE.
I have heard that for "dense" languages - people like 2 space indents (its
recommended in scala - which I spend most of my time).
But I think DRL would look a bit funny with 2 spaces - 4 does make sense, as
DRL lines aren't very
yes it should be 4 spaces.
Mark
On 06/09/2010 14:20, Geoffrey De Smet wrote:
> Hi guys,
>
> Looks like we have different ways of indent our files.
> I 've seen these occurrences for a single indentation on drools trunk:
> - java files:
> -- 4 spaces
> -- 1 tab
> - xml files:
> -- 4 spaces
> -- 3
Hi guys,
Looks like we have different ways of indent our files.
I 've seen these occurrences for a single indentation on drools trunk:
- java files:
-- 4 spaces
-- 1 tab
- xml files:
-- 4 spaces
-- 3 spaces
-- 2 spaces
-- 1 tab
- drl files:
-- 4 spaces
-- 2 spaces
-- 1 tab
I've seen different type