• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:55
CEST 17:55
KST 00:55
  • 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
[ASL22] Ro24 Preview: Summer's End0Serral wins HomeStory Cup 2915Serral wins Maestros of the Game 243ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7
Community News
GSTL Returns in 2026!40Weekly Cups (Aug 3-9): Protoss get shut out7RSL goes to London! 2026 Offline Finals Nov 21-2212Weekly Cups (July 27-Aug 2): SHIN's big week0SC4ALL II: Brood War - $2500 - Dec 5-611
StarCraft 2
General
GSTL Returns in 2026! Balance hotfix patch 5.0.16b (July 16) SC4ALL: II Talent Announcement! Protoss AoE skill expression Weekly Cups (Aug 3-9): Protoss get shut out
Tourneys
PIG STY FESTIVAL 8.0! (13 - 23 August) 2026 KungFu Cup Announcement Sparkling Tuna Cup - Weekly Open Tournament 2026 GSTL Announcement Sea Duckling Open (Global, Bronze-Diamond)
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 538 Media Blackout The PondCast: SC2 News & Results Mutation # 537 Hostile Territory Mutation # 536 Railroad Switch
Brood War
General
BW General Discussion Best Games Kespa era [ASL22] Ro24 Preview: Summer's End Your past clans ASL22 General Discussion
Tourneys
CSLAN 4 is Coming! [ASL22] Ro24 Group A Small VOD Thread 2.0 Escore Tournament - Season 3
Strategy
Odyssey Mineral Stack Saturation Fighting Spirit mining rates Any training maps people recommend? Simple Questions, Simple Answers
Other Games
General Games
General RTS Discussion Thread Nintendo Switch Thread Anyone here play Quakeworld back in the day? Stormgate/Frost Giant Megathread EVE Corporation
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Power Rank TL Mafia Community Thread NeO.D_StephenKing vs This Guy From 1 Million Dance
Community
General
US Politics Mega-thread Artificial Intelligence Thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread The Letting Off Steam Thread
Fan Clubs
MarineLorD Fan Club The ShoWTimE Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! Anime Discussion Thread Series you have seen recently... [Req][Books] Good Fantasy/SciFi books
Sports
MLB/Baseball 2023 Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion Formula 1 Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Simple Questions Simple Answers FPS when play League Of Legend on laptop
TL Community
The Automated Ban List Northern Ireland Global Starcraft
Blogs
LOCKPICKING NOOB
LUCKY_NOOB
Chinese Gen Z: Between Dream…
TrAiDoS
Cathedral Of CS And NY pizza a…
FuDDx
Please support my new stand…
Peanutsc
Hello guys!
LIN1s
Customize Sidebar...

Website Feedback

Closed Threads



Active: 6994 users

The Big Programming Thread - Page 743

Forum Index > General Forum
Post a Reply
Prev 1 741 742 743 744 745 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.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
July 20 2016 08:47 GMT
#14841
--- Nuked ---
Manit0u
Profile Blog Joined August 2004
Poland17831 Posts
July 20 2016 08:57 GMT
#14842
Browser JS can be fine if you're just doing some small work with it. As soon as you start using more than 200 lines of it then it becomes a shitfest.

Also, why would anyone use Java when you can use Scala which is like 10x better and gives you access to all of Java?
Time is precious. Waste it wisely.
RoomOfMush
Profile Joined March 2015
1296 Posts
July 20 2016 11:36 GMT
#14843
On July 20 2016 15:29 Manit0u wrote:
I've learned something funny today: Java and JavaScript, the two languages that have probably the most job offerings in the world are the two languages I hate working with the most...

No matter how hard I try to convince myself to just let go and dive into them I can't help but be repelled by them

I must say I find it quite odd since I don't really mind working with any other language I know (and that includes PHP) but J and JS somehow elicit a strongly aversive reaction in me.

I just hope I'm not alone in this one

I like java. Its not perfect, there are plenty of things I would love to see changed (and I know its never going to happen) but overall its a solid language with many advantages. I much prefer it over C#, C++ and C. I like Javas simplicity and openess.


On July 20 2016 15:36 TheEmulator wrote:
Never worked with Java but I hate JS so much. From what I've seen I'd hate Java too

They have absolutely nothing in common. JS is just called that to cash in on the success of java but its a completely different language.
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
Last Edited: 2016-07-20 12:19:07
July 20 2016 12:18 GMT
#14844
On July 20 2016 17:57 Manit0u wrote:
Browser JS can be fine if you're just doing some small work with it. As soon as you start using more than 200 lines of it then it becomes a shitfest.

Also, why would anyone use Java when you can use Scala which is like 10x better and gives you access to all of Java?

Scala is a wonderful little thing and I should learn it asap.

EDIT: 10x better? Even preproduction Kotlin is 10x better, Scala is much better than 10x.
"windows bash is a steaming heap of shit" tofucake
tofucake
Profile Blog Joined October 2009
Hyrule19237 Posts
July 20 2016 12:38 GMT
#14845
ES6 is a huge step in the right direction for JS, even if it's still bleh

But I enjoy using it wayyyyy more than Java. Java is dumb like wordpress
Liquipediaasante sana squash banana
shz
Profile Blog Joined October 2010
Germany2687 Posts
July 20 2016 14:18 GMT
#14846
Did you guys try Kotlin yet? I'm still a Java / everything noob but it seems to be more fun doing Android with it.
Liquipedia
-Zoda-
Profile Blog Joined April 2011
France3578 Posts
July 20 2016 14:21 GMT
#14847
On July 18 2016 10:09 ShoCkeyy wrote:

Ehh, the problem with Mithril, it still seems to be filled with a bit more issues, but you can definitely look into it Manit0u.

Oh yeah ? Can you elaborate ?
In a similar sort of lightweight framework, Mercury seems interesting as well, but its documentation seems to be lacking compared to Mithril. Once I have time and a project idea I'll have to try one of these.

On the topic of Java huh, I can 't say I hate it but it's not very enjoyable imo. Way too verbose and rigid imo.
♪ 最初はi つなぐdo それ つまりlife 常に移動 ♪ - IGN: Uhryks
RoomOfMush
Profile Joined March 2015
1296 Posts
July 20 2016 15:09 GMT
#14848
On July 20 2016 23:21 -Zoda- wrote:
Show nested quote +
On July 18 2016 10:09 ShoCkeyy wrote:

Ehh, the problem with Mithril, it still seems to be filled with a bit more issues, but you can definitely look into it Manit0u.

On the topic of Java huh, I can 't say I hate it but it's not very enjoyable imo. Way too verbose and rigid imo.

Then better dont try C#. If you think java is verbose you are not going to have a good time with C# at all.
Fwmeh
Profile Joined April 2008
1286 Posts
July 20 2016 16:10 GMT
#14849
On July 21 2016 00:09 RoomOfMush wrote:
Show nested quote +
On July 20 2016 23:21 -Zoda- wrote:
On July 18 2016 10:09 ShoCkeyy wrote:

Ehh, the problem with Mithril, it still seems to be filled with a bit more issues, but you can definitely look into it Manit0u.

On the topic of Java huh, I can 't say I hate it but it's not very enjoyable imo. Way too verbose and rigid imo.

Then better dont try C#. If you think java is verbose you are not going to have a good time with C# at all.


Not my experience at all. Do you have any concrete examples?
A parser for things is a function from strings to lists of pairs of things and strings
TheEmulator
Profile Blog Joined July 2010
28100 Posts
July 20 2016 18:05 GMT
#14850
On July 20 2016 20:36 RoomOfMush wrote:
Show nested quote +
On July 20 2016 15:29 Manit0u wrote:
I've learned something funny today: Java and JavaScript, the two languages that have probably the most job offerings in the world are the two languages I hate working with the most...

No matter how hard I try to convince myself to just let go and dive into them I can't help but be repelled by them

I must say I find it quite odd since I don't really mind working with any other language I know (and that includes PHP) but J and JS somehow elicit a strongly aversive reaction in me.

I just hope I'm not alone in this one

I like java. Its not perfect, there are plenty of things I would love to see changed (and I know its never going to happen) but overall its a solid language with many advantages. I much prefer it over C#, C++ and C. I like Javas simplicity and openess.


Show nested quote +
On July 20 2016 15:36 TheEmulator wrote:
Never worked with Java but I hate JS so much. From what I've seen I'd hate Java too

They have absolutely nothing in common. JS is just called that to cash in on the success of java but its a completely different language.

hmm, what part of my post implied that I think they have something in common? I
Administrator
Nyxisto
Profile Joined August 2010
Germany6287 Posts
Last Edited: 2016-07-20 19:02:10
July 20 2016 18:58 GMT
#14851
C# is great as a language imo but I'm not enjoying the windows eco system so It'd be great if there's full Linux support at some point, it's gotten a lot better though. As someone above pointed out Java is just horribly verbose. I had to do a lot of Java in college and had to either use Apache Commons or just copy the same things over and over again because I always forgot how the syntax for a BufferedReader works. It takes a bazillion lines of code to read in a textfile : (
RoomOfMush
Profile Joined March 2015
1296 Posts
Last Edited: 2016-07-20 19:31:32
July 20 2016 19:29 GMT
#14852
On July 21 2016 01:10 Fwmeh wrote:
Show nested quote +
On July 21 2016 00:09 RoomOfMush wrote:
On July 20 2016 23:21 -Zoda- wrote:
On July 18 2016 10:09 ShoCkeyy wrote:

Ehh, the problem with Mithril, it still seems to be filled with a bit more issues, but you can definitely look into it Manit0u.

On the topic of Java huh, I can 't say I hate it but it's not very enjoyable imo. Way too verbose and rigid imo.

Then better dont try C#. If you think java is verbose you are not going to have a good time with C# at all.


Not my experience at all. Do you have any concrete examples?

I am talking about all the additional syntax. A for-each loop in java:
for (Object obj : collection) {/*doStuff*/}

The same in C#
foreach (Object obj in collection) {/*doStuff*/}

Its a minor thing, but why is it there in the first place?

Or the fact you need to write "override" in front of a method that overrides another. I can see how this might help some people understand the code better, but we've got IDE's for that without having to write anything. Besides, you can do the same thing in java with the optional @Overrides annotation if you want to have compile-time warnings.

Its many similar little things like that. C# just seems to have way more syntax keywords which you need to use at certain points for no obvious reason.

On July 21 2016 03:05 TheEmulator wrote:
Show nested quote +
On July 20 2016 20:36 RoomOfMush wrote:
On July 20 2016 15:29 Manit0u wrote:
I've learned something funny today: Java and JavaScript, the two languages that have probably the most job offerings in the world are the two languages I hate working with the most...

No matter how hard I try to convince myself to just let go and dive into them I can't help but be repelled by them

I must say I find it quite odd since I don't really mind working with any other language I know (and that includes PHP) but J and JS somehow elicit a strongly aversive reaction in me.

I just hope I'm not alone in this one

I like java. Its not perfect, there are plenty of things I would love to see changed (and I know its never going to happen) but overall its a solid language with many advantages. I much prefer it over C#, C++ and C. I like Javas simplicity and openess.


On July 20 2016 15:36 TheEmulator wrote:
Never worked with Java but I hate JS so much. From what I've seen I'd hate Java too

They have absolutely nothing in common. JS is just called that to cash in on the success of java but its a completely different language.

hmm, what part of my post implied that I think they have something in common? I

It seemed to me that way but I guess I misunderstood you.


On July 21 2016 03:58 Nyxisto wrote:
C# is great as a language imo but I'm not enjoying the windows eco system so It'd be great if there's full Linux support at some point, it's gotten a lot better though. As someone above pointed out Java is just horribly verbose. I had to do a lot of Java in college and had to either use Apache Commons or just copy the same things over and over again because I always forgot how the syntax for a BufferedReader works. It takes a bazillion lines of code to read in a textfile : (

Its actually quite simple:
		try {
Path filePath = new File("test.txt").toPath();
List<String> linesOfText = Files.readAllLines(filePath);
} catch (IOException e) {
e.printStackTrace();
}
Prillan
Profile Joined August 2011
Sweden350 Posts
Last Edited: 2016-07-20 21:30:12
July 20 2016 21:29 GMT
#14853
On July 21 2016 04:29 RoomOfMush wrote:
I am talking about all the additional syntax. A for-each loop in java:
for (Object obj : collection) {/*doStuff*/}

The same in C#
foreach (Object obj in collection) {/*doStuff*/}

Its a minor thing, but why is it there in the first place?


It really is a minor thing.

On July 21 2016 04:29 RoomOfMush wrote:
Or the fact you need to write "override" in front of a method that overrides another. I can see how this might help some people understand the code better, but we've got IDE's for that without having to write anything. Besides, you can do the same thing in java with the optional @Overrides annotation if you want to have compile-time warnings.


It's not just there to tell the dev that the function is overridden. Without it the method just hides the old one, which is different from overriding it.

(This was true last time I wrote C#, which was version 3.0 I believe, they had just introduced lambda expressions.)
TheBB's sidekick, aligulac.com | "Reality is frequently inaccurate." - Douglas Adams
phar
Profile Joined August 2011
United States1080 Posts
Last Edited: 2016-07-21 07:08:52
July 21 2016 07:07 GMT
#14854
Not having an @Overrides makes it much more difficult to tell what's going on under the hood, if you're trying to read code. Hidden magic will burn you.

Proper java should have lint set up to require @Overrides


If you're writing any significant amount of Java you should also be using good libraries, e.g. Guava. Save yourself a lot of headache.
Who after all is today speaking about the destruction of the Armenians?
Manit0u
Profile Blog Joined August 2004
Poland17831 Posts
Last Edited: 2016-07-21 07:18:07
July 21 2016 07:16 GMT
#14855
On July 21 2016 04:29 RoomOfMush wrote:
I am talking about all the additional syntax. A for-each loop in java:
for (Object obj : collection) {/*doStuff*/}

The same in C#
foreach (Object obj in collection) {/*doStuff*/}

Its a minor thing, but why is it there in the first place?


The same in Scala:

// foreach
collection.foreach { /*doStuff*/ }

// for
for (obj <- collection) { /*doStuff*/ }


Syntax is syntax. Java's verbosity comes not from syntax but from incrediblyLongAndUnnecessarilySoClassAndMethodNames.

Also, XML (yuck!).
Time is precious. Waste it wisely.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
July 21 2016 07:50 GMT
#14856
On July 21 2016 16:16 Manit0u wrote:
Show nested quote +
On July 21 2016 04:29 RoomOfMush wrote:
I am talking about all the additional syntax. A for-each loop in java:
for (Object obj : collection) {/*doStuff*/}

The same in C#
foreach (Object obj in collection) {/*doStuff*/}

Its a minor thing, but why is it there in the first place?


The same in Scala:

// foreach
collection.foreach { /*doStuff*/ }

// for
for (obj <- collection) { /*doStuff*/ }


Syntax is syntax. Java's verbosity comes not from syntax but from incrediblyLongAndUnnecessarilySoClassAndMethodNames.

Also, XML (yuck!).


The same in actually modern C#
list.ForEach(item => item.DoStuff());

Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
July 21 2016 13:38 GMT
#14857
On July 21 2016 16:50 Morfildur wrote:
Show nested quote +
On July 21 2016 16:16 Manit0u wrote:
On July 21 2016 04:29 RoomOfMush wrote:
I am talking about all the additional syntax. A for-each loop in java:
for (Object obj : collection) {/*doStuff*/}

The same in C#
foreach (Object obj in collection) {/*doStuff*/}

Its a minor thing, but why is it there in the first place?


The same in Scala:

// foreach
collection.foreach { /*doStuff*/ }

// for
for (obj <- collection) { /*doStuff*/ }


Syntax is syntax. Java's verbosity comes not from syntax but from incrediblyLongAndUnnecessarilySoClassAndMethodNames.

Also, XML (yuck!).


The same in actually modern C#
list.ForEach(item => item.DoStuff());


The same in actually modern Java:
list.forEach(item -> item.doStuff());


"windows bash is a steaming heap of shit" tofucake
Manit0u
Profile Blog Joined August 2004
Poland17831 Posts
July 21 2016 15:00 GMT
#14858
This thread is the best on TL
Time is precious. Waste it wisely.
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
July 21 2016 16:56 GMT
#14859
On July 21 2016 16:16 Manit0u wrote:
Show nested quote +
On July 21 2016 04:29 RoomOfMush wrote:
I am talking about all the additional syntax. A for-each loop in java:
for (Object obj : collection) {/*doStuff*/}

The same in C#
foreach (Object obj in collection) {/*doStuff*/}

Its a minor thing, but why is it there in the first place?


The same in Scala:

// foreach
collection.foreach { /*doStuff*/ }

// for
for (obj <- collection) { /*doStuff*/ }


Syntax is syntax. Java's verbosity comes not from syntax but from incrediblyLongAndUnnecessarilySoClassAndMethodNames.

Also, XML (yuck!).


Verbosity is good as long as it's not abused. You should really read Clean Code before you go further with this discussion.
Doodsmack
Profile Blog Joined August 2010
United States7224 Posts
July 21 2016 17:36 GMT
#14860
Are Microsoft SQL Server skills (including T-SQL obv) valuable and future-secure?
Prev 1 741 742 743 744 745 1032 Next
Please log in or register to reply.
Live Events Refresh
PiG Sty Festival
12:00
PiGfest 8.0 Group D
PiGStarcraft1536
IntoTheiNu 887
ComeBackTV 599
IndyStarCraft 181
Rex134
BRAT_OK 119
3DClanTV 114
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft1536
IndyStarCraft 181
Rex 134
BRAT_OK 119
SHIN 32
EmSc Tv 10
StarCraft: Brood War
Light 334
Snow 175
Mong 102
soO 65
Hyun 56
Sexy 50
ToSsGirL 46
ZZZero.O 38
zelot 24
Free 24
[ Show more ]
Bale 23
Rock 22
scan(afreeca) 21
NaDa 21
Sacsri 12
Noble 6
Dota 2
qojqva4156
Counter-Strike
fl0m5396
ScreaM1833
kRYSTAL_611
Super Smash Bros
Mew2King218
Chillindude25
Other Games
singsing1501
Liquid`RaSZi989
B2W.Neo842
KnowMe64
Organizations
StarCraft 2
TaKeTV 247
EmSc Tv 10
EmSc2Tv 10
[ Show 15 non-featured ]
StarCraft 2
• poizon28 31
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• HerbMon 33
• Michael_bg 8
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV1172
League of Legends
• Jankos1801
• Nemesis1546
Other Games
• Shiphtur178
Upcoming Events
IPSL
5m
OSC
8h 5m
Afreeca Starleague
18h 5m
Rush vs Hm
Bisu vs Shuttle
WardiTV Weekly
19h 5m
The Patches Monday
1d
Afreeca Starleague
1d 18h
Sharp vs Shinee
Action vs Shine
GSL
1d 19h
PiGosaur Cup
2 days
Replay Cast
2 days
Afreeca Starleague
2 days
BeSt vs Paralyze
Jaedong vs Speed
[ Show More ]
Kung Fu Cup
2 days
Replay Cast
3 days
The PondCast
3 days
KCM Race Survival
3 days
Replay Cast
4 days
PiG Sty Festival
4 days
CranKy Ducklings
5 days
PiG Sty Festival
5 days
Sparkling Tuna Cup
6 days
PiG Sty Festival
6 days
Liquipedia Results

Completed

Escore Tournament S3: W7
CranK Gathers Season 4: BW vs SC2 Team League
Eternal Conflict S2 Finale

Ongoing

KCM Race Survival 2026 Season 3
K-JUNGMAN
Acropolis #5
CSLAN 4
RSL Revival: Season 6
PiG Sty Festival 8.0
META DYMY #4
Esports World Cup 2026
Esports World Cup 2026: LCQ
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026

Upcoming

ASL Season 22
CSL Season 22: Qualifier 1
Escore Tournament S3: W8
CSL Season 22: Qualifier 2
CSL 2026 AUTUMN (S22)
Acropolis #5 - TRS
Blizzard Classic Cup 2026
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Big Dog Cup 2026 Div 1
Stake Ranked Episode 5
PGL Masters Bucharest 2026
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 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.