I'd be comfortable with your AST diff with git, but not VCSs that
store differences rather than snapshots of files.  The power of plain
text is difficult to overstate.

--
Skype: ricky_clarkson
UK phone (forwards to Skype): 0161 408 5260



On Thu, May 26, 2011 at 3:03 PM, Casper Bang <[email protected]> wrote:
>> I think this is a bad idea because it only fixes the problem in one tool
>> (the IDE) while source code is viewed in many, many other places (browsers,
>> terminal windows, GUI tools such as GitX or tkdiff, emacs, vi, notepad,
>> email, etc...).
>
> Yeah but that's dangerous reasoning that can keep us stuck in legacy -
> enough of that already in the Java space I think. Ideally we need a
> universal AST format, where diffs etc. were truly on the nodes. I
> seems like the obvious next step, IDE's like NetBeans does lexing and
> parsing constantly anyway.
>
>> If you hide the real content of the file from users, it's pretty much
>> guaranteed that the source code will look absolutely terrible in any viewer
>> that doesn't support smart reformatting.
>
> That sounds like Lombok, which is a completely different matter than
> simply soft wrapping according to width of the viewport.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "The Java Posse" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to 
> [email protected].
> For more options, visit this group at 
> http://groups.google.com/group/javaposse?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups "The 
Java Posse" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/javaposse?hl=en.

Reply via email to