From what I'm able to see, ReSharper is an extension to VS, so wouldn't it have the same disk usage issues as regular VS? If not, I might give the 30 day trial a shot.
The Big Programming Thread - Page 994
| Forum Index > General Forum |
Thread Rules 1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution. 2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20) 3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible. 4. Use [code] tags to format code blocks. | ||
|
Propelled
Denmark184 Posts
From what I'm able to see, ReSharper is an extension to VS, so wouldn't it have the same disk usage issues as regular VS? If not, I might give the 30 day trial a shot. | ||
|
Excludos
Norway8196 Posts
On February 02 2019 21:18 Manit0u wrote: Why not use ReSharper instead? It's much better. https://www.jetbrains.com/resharper/compare/resharper-vs-visual-studio/ Resharper is an extension to VS, not an IDE. It's awesome tho. Only started using it 3/4 year ago and I can't imagine going back. To my knowledge, VS still installs wherever it damn well pleases, across several drives if it wants to. But admittedly I haven't checked lately | ||
|
ShAsTa
Belgium2841 Posts
| ||
|
Excludos
Norway8196 Posts
On February 03 2019 03:35 ShAsTa wrote: If you like Resharper, you could also try the real thing: CLion. Thats for c and c++. For C# you need the VS plugin versjon of intellij, which is Resharper. | ||
|
spinesheath
Germany8679 Posts
I recommend VS community edition + Resharper. If you're doing anything a little more advanced, I'd go straight for ReSharper Ultimate which gets you performance/memory profiling tools too. The added comfort is well worth the money for ReSharper. Can't say anything about disk usage other than it has never been an issue for me. | ||
|
SC-Shield
Bulgaria832 Posts
On February 03 2019 15:47 spinesheath wrote: Jetbrains, the company that makes ReSharper, made a C# IDE of their own, but as far as I know it's not as good as Visual Studio + ReSharper yet. VS has been copying more and more features of ReSharper, but standalone it still isn't as good as the combination yet either. I recommend VS community edition + Resharper. If you're doing anything a little more advanced, I'd go straight for ReSharper Ultimate which gets you performance/memory profiling tools too. The added comfort is well worth the money for ReSharper. Can't say anything about disk usage other than it has never been an issue for me. Don't use VS Community at work if your company makes more than 1 million dollars. It should be fine for personal use though. ![]() | ||
|
Manit0u
Poland17450 Posts
Plenty of comments like that in the code. All are from 2013. Is the future now? | ||
|
Lmui
Canada6216 Posts
On February 05 2019 00:10 Manit0u wrote:
Plenty of comments like that in the code. All are from 2013. Is the future now? For the product I work on: "todo" 17891 results Java: "TODO Auto-generated method stub" 1407 results txt config files: "TODO Fill in value" 911 results I'm sure there's some non-auto generated stubs in there, but I'm not inclined to look further. This is something that's older than I am... so nope, not recent. It's just tons of stuff from years and years of work. | ||
|
Blitzkrieg0
United States13132 Posts
On February 05 2019 00:10 Manit0u wrote:
Plenty of comments like that in the code. All are from 2013. Is the future now? Do you have any code review process or use any code analysis tools to prevent issues like this? The problem with removing something is that ten other things probably started using it and then refactoring because too costly to ever start working on. We have a very small amount of time worked into the schedule to fix things like this, but often don't get to use it because bad production issues come up instead. | ||
|
SC-Shield
Bulgaria832 Posts
| ||
|
Manit0u
Poland17450 Posts
On February 05 2019 03:06 Blitzkrieg0 wrote: Do you have any code review process or use any code analysis tools to prevent issues like this? The problem with removing something is that ten other things probably started using it and then refactoring because too costly to ever start working on. We have a very small amount of time worked into the schedule to fix things like this, but often don't get to use it because bad production issues come up instead. We do have code review and plenty of analysis (in general you don't want to fuck with software that's bringing in tens of millions of euros in revenue each month). But part of the assignment I've got is to identify such things, check if removing them would cause problems and get rid of them if at all possible. I'm generally doing major tech debt reduction and refactoring because the code needs to be split into smaller parts and moved to the cloud and no one wants to move dead code that hasn't been used for 5 years. Basically, I'm doing the dirty job so that others will have an easier time later. I love refactoring and stuff like that so I'm actually rather excited about it. | ||
|
Blitzkrieg0
United States13132 Posts
On February 05 2019 08:11 Manit0u wrote: We do have code review and plenty of analysis (in general you don't want to fuck with software that's bringing in tens of millions of euros in revenue each month). But part of the assignment I've got is to identify such things, check if removing them would cause problems and get rid of them if at all possible. I'm generally doing major tech debt reduction and refactoring because the code needs to be split into smaller parts and moved to the cloud and no one wants to move dead code that hasn't been used for 5 years. Basically, I'm doing the dirty job so that others will have an easier time later. I love refactoring and stuff like that so I'm actually rather excited about it. We need someone like that on our codebase. How did you pitch that to get it started? | ||
|
Manit0u
Poland17450 Posts
On February 05 2019 22:31 Blitzkrieg0 wrote: We need someone like that on our codebase. How did you pitch that to get it started? It was irking me for a long time but now I hit an opportune moment. They want to migrate to the cloud, I did some investigation on actual usage of the code etc. and found out that plenty of it can be changed/removed without much impact to the business. Big impact will be removal of obsolete stuff from the requests which can potentially save terabytes of transfer daily and reduce db load significantly (and those are some big expenses). It helps that the guy I was pitching it to is very technical and knowledgeable and understands the value in getting rid of code that produces 140k pretty heavy db queries/minute to accomplish basically nothing (2 of those queries provide meaningful information once every 10 minutes or so and it's nothing critical). | ||
|
Excludos
Norway8196 Posts
| ||
|
spinesheath
Germany8679 Posts
| ||
|
Blitzkrieg0
United States13132 Posts
On February 06 2019 01:18 Excludos wrote: If your boss is somewhat economical concerned (and, since it's their jobs, they mostly are), you can convince them that tech debt is setting your developers back hours every day, and that he'll be saving money by having cleaner code which is easier and faster to develop new features / fix bugs on. Most of the management team is actually former developers yes. It's always fun when you're in the codebase and you see ten years ago your boss's boss's boss wrote this code. The problem is we have some time allocated already. It just isn't enough for a few developers to take a day every couple months to do some cleanup. It's a matter of valuing technical debt higher so we run into fewer issues moving forward. I'd like to see a whole scrum team allocated to it, but I feel like that's a pipe dream. On February 06 2019 02:47 spinesheath wrote: I too like removing dead code and cleaning up. But it's also a huge responsibility. You don't want to be the cause of a large number of problems down the road. This is another issue, we have tons of dead code, but removing it seems to break completely unrelated things for no reason. | ||
|
SC-Shield
Bulgaria832 Posts
On February 06 2019 03:29 Blitzkrieg0 wrote: This is another issue, we have tons of dead code, but removing it seems to break completely unrelated things for no reason. Same with the project I work on, I fix one bug, then another one shows up because it wasn't reached before. How do you deal with that? Do you negotiate with management to give time for refactoring? | ||
|
Manit0u
Poland17450 Posts
It wouldn't happen normally, but the move to the cloud necessitates it so I'm happy for that. Basically, if you want to do bigger refactoring and don't have the luxury of giving it whole sprints and entire teams then you'll have to negotiate for some portion of each sprint to be dedicated to that (up to 30% of the sprint for example) and do it incrementally. It really depends on the maturity of the project though. If there aren't many new features being added constantly it's much easier to allocate time for refactoring without losing forward momentum. Edit: Visualization of new code being merged into a legacy code base... ![]() | ||
|
Deleted User 3420
24492 Posts
nevermind found what I wanted. which was a list of primes. I found the first 50 million, geeze. probably morethan I need | ||
|
spinesheath
Germany8679 Posts
| ||
| ||

![[image loading]](https://pbs.twimg.com/media/DyklOhSWwAAORtt.jpg)