• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:20
CEST 22:20
KST 05:20
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Code S Season 1 - RO8 Preview3[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10
Community News
Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event11Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced9
StarCraft 2
General
Code S Season 1 - RO8 Preview Behind the Blue - Team Liquid History Book Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results
Tourneys
GSL Code S Season 1 (2026) Sparkling Tuna Cup - Weekly Open Tournament RSL Revival: Season 5 - Qualifiers and Main Event StarCraft Evolution League (SC Evo Biweekly) 2026 GSL Season 2 Qualifiers
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ (Spoiler) Asl ro8 D winner interview BW General Discussion Do we have a pimpest plays list? AI Question
Tourneys
[ASL21] Ro8 Day 4 [ASL21] Ro8 Day 3 [Megathread] Daily Proleagues [ASL21] Ro8 Day 2
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Dawn of War IV Stormgate/Frost Giant Megathread OutLive 25 (RTS Game) Daigo vs Menard Best of 10 Nintendo Switch Thread
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread European Politico-economics QA Mega-thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread Formula 1 Discussion McBoner: A hockey love story
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Movie Stars In Video Games: …
TrAiDoS
ramps on octagon
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1388 users

The Big Programming Thread - Page 994

Forum Index > General Forum
Post a Reply
Prev 1 992 993 994 995 996 1032 Next
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
Profile Joined October 2010
Denmark184 Posts
February 02 2019 12:58 GMT
#19861
Mostly because the community edition is free and that I assumed the default IDE would be acceptable to begin with.
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
Profile Blog Joined April 2010
Norway8255 Posts
Last Edited: 2019-02-02 14:01:09
February 02 2019 14:00 GMT
#19862
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
Profile Joined November 2002
Belgium2841 Posts
February 02 2019 18:35 GMT
#19863
If you like Resharper, you could also try the real thing: CLion.
If we hit that bull's eye, the rest of the dominoes will fall like a house of cards. Checkmate.
Excludos
Profile Blog Joined April 2010
Norway8255 Posts
February 02 2019 19:54 GMT
#19864
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
Profile Blog Joined June 2009
Germany8679 Posts
Last Edited: 2019-02-03 06:48:03
February 03 2019 06:47 GMT
#19865
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.
If you have a good reason to disagree with the above, please tell me. Thank you.
SC-Shield
Profile Joined December 2018
Bulgaria843 Posts
February 03 2019 10:59 GMT
#19866
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
Profile Blog Joined August 2004
Poland17743 Posts
February 04 2019 15:10 GMT
#19867

# TODO: don't use it, remove in future


Plenty of comments like that in the code. All are from 2013.
Is the future now?
Time is precious. Waste it wisely.
Lmui
Profile Joined November 2010
Canada6223 Posts
February 04 2019 16:39 GMT
#19868
On February 05 2019 00:10 Manit0u wrote:

# TODO: don't use it, remove in future


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
Profile Blog Joined August 2010
United States13132 Posts
Last Edited: 2019-02-04 18:24:17
February 04 2019 18:06 GMT
#19869
On February 05 2019 00:10 Manit0u wrote:

# TODO: don't use it, remove in future


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.
I'll always be your shadow and veil your eyes from states of ain soph aur.
SC-Shield
Profile Joined December 2018
Bulgaria843 Posts
Last Edited: 2019-02-05 18:52:34
February 04 2019 19:30 GMT
#19870
[deleted]
Manit0u
Profile Blog Joined August 2004
Poland17743 Posts
February 04 2019 23:11 GMT
#19871
On February 05 2019 03:06 Blitzkrieg0 wrote:
Show nested quote +
On February 05 2019 00:10 Manit0u wrote:

# TODO: don't use it, remove in future


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.


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.
Time is precious. Waste it wisely.
Blitzkrieg0
Profile Blog Joined August 2010
United States13132 Posts
February 05 2019 13:31 GMT
#19872
On February 05 2019 08:11 Manit0u wrote:
Show nested quote +
On February 05 2019 03:06 Blitzkrieg0 wrote:
On February 05 2019 00:10 Manit0u wrote:

# TODO: don't use it, remove in future


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.


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?
I'll always be your shadow and veil your eyes from states of ain soph aur.
Manit0u
Profile Blog Joined August 2004
Poland17743 Posts
Last Edited: 2019-02-05 15:34:42
February 05 2019 15:29 GMT
#19873
On February 05 2019 22:31 Blitzkrieg0 wrote:
Show nested quote +
On February 05 2019 08:11 Manit0u wrote:
On February 05 2019 03:06 Blitzkrieg0 wrote:
On February 05 2019 00:10 Manit0u wrote:

# TODO: don't use it, remove in future


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.


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?


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).
Time is precious. Waste it wisely.
Excludos
Profile Blog Joined April 2010
Norway8255 Posts
February 05 2019 16:18 GMT
#19874
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.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
February 05 2019 17:47 GMT
#19875
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.
If you have a good reason to disagree with the above, please tell me. Thank you.
Blitzkrieg0
Profile Blog Joined August 2010
United States13132 Posts
Last Edited: 2019-02-05 18:34:57
February 05 2019 18:29 GMT
#19876
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.
I'll always be your shadow and veil your eyes from states of ain soph aur.
SC-Shield
Profile Joined December 2018
Bulgaria843 Posts
February 05 2019 19:29 GMT
#19877
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
Profile Blog Joined August 2004
Poland17743 Posts
Last Edited: 2019-02-06 12:09:59
February 06 2019 11:55 GMT
#19878
We had time each sprint allocated for refactoring before to do some small fixes (about 10% of sprint was for that). For bigger cleanups (like I'll be doing now) we'll be dedicating entire sprints to.

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...

[image loading]
Time is precious. Waste it wisely.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2019-02-08 18:42:16
February 08 2019 18:39 GMT
#19879
edit:

nevermind found what I wanted. which was a list of primes. I found the first 50 million, geeze. probably morethan I need
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
February 09 2019 07:07 GMT
#19880
You really should get your own primes, not steal someone else's.
If you have a good reason to disagree with the above, please tell me. Thank you.
Prev 1 992 993 994 995 996 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 13h 10m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 432
UpATreeSC 67
EmSc Tv 12
StarCraft: Brood War
Britney 15836
Calm 3358
Mini 255
Soma 175
Dewaltoss 96
Mind 49
sSak 46
Aegong 41
Pusan 12
Dota 2
monkeys_forever385
Counter-Strike
fl0m2210
Heroes of the Storm
Liquid`Hasu447
Other Games
Grubby2212
FrodaN1592
Liquid`RaSZi1319
B2W.Neo567
C9.Mang0216
ArmadaUGS171
Trikslyr48
Fuzer 37
ZombieGrub36
Organizations
Other Games
BasetradeTV610
Dota 2
PGL Dota 2 - Main Stream23
StarCraft 2
EmSc Tv 12
EmSc2Tv 12
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 16 non-featured ]
StarCraft 2
• Reevou 5
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Michael_bg 5
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota269
League of Legends
• imaqtpie2081
• TFBlade971
Other Games
• Shiphtur306
Upcoming Events
GSL
13h 10m
SHIN vs Zoun
ByuN vs herO
OSC
14h 40m
OSC
16h 40m
Replay Cast
1d 3h
Escore
1d 13h
The PondCast
1d 13h
WardiTV Invitational
1d 14h
Zoun vs Ryung
Lambo vs ShoWTimE
Big Brain Bouts
1d 19h
Fjant vs Bly
Serral vs Shameless
OSC
2 days
Replay Cast
2 days
[ Show More ]
CranKy Ducklings
2 days
RSL Revival
2 days
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
2 days
Krystianer vs TriGGeR
Cure vs Rogue
uThermal 2v2 Circuit
2 days
BSL
2 days
Replay Cast
3 days
Sparkling Tuna Cup
3 days
RSL Revival
3 days
Cure vs Zoun
Clem vs Lambo
WardiTV Invitational
3 days
BSL
3 days
GSL
4 days
Afreeca Starleague
4 days
Soma vs Leta
Monday Night Weeklies
4 days
CranKy Ducklings
5 days
Afreeca Starleague
5 days
Light vs Flash
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-05-05
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
YSL S3
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026

Upcoming

Escore Tournament S2: W6
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.