r/dailyprogrammer • u/Coder_d00d 1 3 • Sep 09 '14
[Weekly #10] The Future
Weekly Topic:
Read enough blogs or forums and you can see the future. What trends or topics are coming down the line? Is it a new language? New design? New way to engineer software?
Last Week:
[Weekly #9] (http://www.reddit.com/r/dailyprogrammer/comments/2f6mo2/weekly_9_binary_trees/)
54
Upvotes
View all comments
Show parent comment
2
u/Laremere 1 0 Sep 11 '14
Merging non-plain text actually has the potential to be much more powerful than current merging. Say in one branch a coder changes the name of a function, and in another branch someone else uses the function by its old name. In a current merge, that could easily go unnoticed, and at best is a messy fix. In a non-plain text solution, the person who changed the function name would have only changed the name field on the function object, and the person who used the function would only have a reference to the function object. The merge would proceed flawlessly and the code would work correctly. It would require a custom merge program, but that's only one example of what is possible. (Of course, that might be possible in some current languages, however many languages have syntax and interpretation so decoupled that it would be hard if not impossible.)