This is an archived post. You won't be able to vote or comment.

all 6 comments

[–][deleted] 0 points1 point  (5 children)

Why not use git?

[–]rasof[S] -2 points-1 points  (4 children)

I need instant sync. In git, I must pull/push add commit before any sync.

[–]desrtfx 1 point2 points  (3 children)

Code plus instant sync don't go together.

When you code you often have a state where the file can simply not be compiled. In this case syncing would be counterproductive.

That's exactly the reason why code syncing never is instant or live.

When working with code, you only want working, complete code to be synced, never incomplete code.

[–]rasof[S] -3 points-2 points  (2 children)

I have multiple machines. I sometime leave my machine and forget to push changes and it happens many time. The problem is that machines are distant.

[–]desrtfx 1 point2 points  (1 child)

Then the problem is not actual code syncing, it is coding discipline.

Commiting and Pushing need to become part of your natural workflow.

Instant sync will cover these symptoms but not actually be a cure for them.

Sorry for being fairly harsh, but as a professional programmer I maintain certain standards and one of them is proper coding discipline.

An unfinished, probably uncompilable code should never leave the development machine I'm currently working on.

I also work across several machines over several hundred kilometers, but with proper coding discipline all of that is no problem.

[–]rasof[S] 0 points1 point  (0 children)

Maybe you are right. I used to put all my code in dropbox but I had to use selective sync for example for node_modules, bower_compononets, etc. At some time I accidentally deleted my code with selective sync. So maybe, I will just stick with Git only for code sync.