• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 16:15
CEST 22:15
KST 05:15
  • 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
[ASL19] Finals Recap: Standing Tall5HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Hiatus From ASL33Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster14Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The SCII GOAT: A statistical Evaluation Weekly Cups (June 23-29): Reynor in world title form? StarCraft Mass Recall: SC1 campaigns on SC2 thread How does the number of casters affect your enjoyment of esports? Esports World Cup 2025 - Final Player Roster
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event HomeStory Cup 27 (June 27-29) WardiTV Mondays SOOPer7s Showmatches 2025 $200 Biweekly - StarCraft Evolution League #1
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
[ASL19] Finals Recap: Standing Tall Flash Announces Hiatus From ASL Help: rep cant save Where did Hovz go? BW General Discussion
Tourneys
[Megathread] Daily Proleagues [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread [BSL20] ProLeague LB Final - Saturday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Trading/Investing Thread Things Aren’t Peaceful in Palestine Stop Killing Games - European Citizens Initiative Russo-Ukrainian War Thread
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread NBA General Discussion Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
Game Sound vs. Music: The Im…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 640 users

The Big Programming Thread - Page 743

Forum Index > General Forum
Post a Reply
Prev 1 741 742 743 744 745 1031 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
Poland17242 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
Hyrule19029 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
28087 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
Poland17242 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
Poland17242 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 1031 Next
Please log in or register to reply.
Live Events Refresh
OSC
20:00
Mid Season Playoffs
SHIN vs Bunny
Cham vs MaNa
SKillous vs TBD
PAPI vs Jumy
Gerald vs Moja
ArT vs TBD
SteadfastSC255
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 255
IndyStarCraft 200
UpATreeSC 135
goblin 126
ProTech81
Livibee 63
StarCraft: Brood War
Aegong 77
scan(afreeca) 38
yabsab 14
Dota 2
Gorgc9152
Pyrionflax165
LuMiX1
League of Legends
Grubby3998
Dendi1077
Counter-Strike
fl0m2095
pashabiceps620
Foxcn208
Heroes of the Storm
Liquid`Hasu586
Khaldor187
Other Games
summit1g5731
FrodaN2035
Beastyqt704
mouzStarbuck422
Trikslyr86
Sick83
Mew2King69
ZombieGrub54
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 21 non-featured ]
StarCraft 2
• HeavenSC 37
• davetesta36
• sooper7s
• Migwel
• LaughNgamezSOOP
• IndyKCrew
• Kozan
• AfreecaTV YouTube
• intothetv
StarCraft: Brood War
• 80smullet 19
• ZZZeroYoutube
• STPLYoutube
• BSLYoutube
Dota 2
• WagamamaTV589
League of Legends
• Jankos2510
• Doublelift1943
• TFBlade1338
• masondota2530
Other Games
• Scarra1088
• imaqtpie990
• Shiphtur254
Upcoming Events
Replay Cast
3h 45m
The PondCast
13h 45m
RSL Revival
13h 45m
ByuN vs Classic
Clem vs Cham
WardiTV European League
19h 45m
Replay Cast
1d 3h
RSL Revival
1d 13h
herO vs SHIN
Reynor vs Cure
WardiTV European League
1d 19h
FEL
1d 19h
Korean StarCraft League
2 days
CranKy Ducklings
2 days
[ Show More ]
RSL Revival
2 days
FEL
2 days
Sparkling Tuna Cup
3 days
RSL Revival
3 days
FEL
3 days
BSL: ProLeague
3 days
Dewalt vs Bonyth
Replay Cast
5 days
Replay Cast
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
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 © 2025 TLnet. All Rights Reserved.