• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:58
CET 15:58
KST 23:58
  • 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
Intel X Team Liquid Seoul event: Showmatches and Meet the Pros9[ASL20] Finals Preview: Arrival13TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3
Community News
Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win52025 RSL Offline Finals Dates + Ticket Sales!10BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION1Crank Gathers Season 2: SC II Pro Teams10Merivale 8 Open - LAN - Stellar Fest4
StarCraft 2
General
RotterdaM "Serral is the GOAT, and it's not close" Intel X Team Liquid Seoul event: Showmatches and Meet the Pros Weekly Cups (Oct 20-26): MaxPax, Clem, Creator win Weekly Cups (Oct 13-19): Clem Goes for Four DreamHack Open 2013 revealed
Tourneys
SC4ALL $6,000 Open LAN in Philadelphia Kirktown Chat Brawl #9 $50 8:30PM EST 2025 RSL Offline Finals Dates + Ticket Sales! Merivale 8 Open - LAN - Stellar Fest Crank Gathers Season 2: SC II Pro Teams
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment
Brood War
General
Ladder Map Matchup Stats Map pack for 3v3/4v4/FFA games BW General Discussion SnOw's ASL S20 Finals Review [ASL20] Ask the mapmakers — Drop your questions
Tourneys
[ASL20] Grand Finals Small VOD Thread 2.0 The Casual Games of the Week Thread BSL21 Open Qualifiers Week & CONFIRM PARTICIPATION
Strategy
PvZ map balance Current Meta How to stay on top of macro? Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Path of Exile Dawn of War IV Beyond All Reason Stormgate/Frost Giant Megathread
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine US Politics Mega-thread The Big Programming Thread YouTube Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece Korean Music Discussion Series you have seen recently...
Sports
TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion MLB/Baseball 2023 2024 - 2026 Football Thread NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
Career Paths and Skills for …
TrAiDoS
KPDH "Golden" as Squid Game…
Peanutsc
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1666 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
Poland17412 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
Hyrule19150 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
28092 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
Poland17412 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
Poland17412 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
SC4ALL
14:00
SC4All Day 1
LiquipediaDiscussion
SC4ALL
14:00
SC4ALL - Day 1
RotterdaM292
IndyStarCraft 121
SteadfastSC84
CranKy Ducklings82
LiquipediaDiscussion
BSL Team A[vengers]
14:00
Day 3
Dewalt vs ZeLoT
UltrA vs ZeLoT
ZZZero.O115
LiquipediaDiscussion
Epic.LAN
12:00
Epic.LAN 46 Playoffs Stage
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Artosis 535
Lowko422
RotterdaM 292
IndyStarCraft 121
LamboSC2 101
Rex 94
SteadfastSC 84
Codebar 28
StarCraft: Brood War
Calm 6605
PianO 2572
Barracks 518
sorry 358
Last 206
ZZZero.O 115
zelot 86
Dewaltoss 80
Bonyth 72
HiyA 39
[ Show more ]
Shine 32
ToSsGirL 31
Rock 28
910 12
Terrorterran 11
Dota 2
Gorgc3506
qojqva2863
syndereN153
League of Legends
Reynor130
Counter-Strike
fl0m908
PGG 129
Heroes of the Storm
Khaldor282
Other Games
singsing1779
B2W.Neo1410
DeMusliM338
Hui .229
Liquid`LucifroN168
XcaliburYe143
KnowMe104
QueenE66
nookyyy 54
Mew2King52
Trikslyr8
Organizations
Counter-Strike
PGL22743
Other Games
gamesdonequick1001
StarCraft 2
ComeBackTV 63
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• StrangeGG 64
• Adnapsc2 16
• iHatsuTV 7
• IndyKCrew
• Migwel
• AfreecaTV YouTube
• intothetv
• Kozan
• LaughNgamezSOOP
• sooper7s
StarCraft: Brood War
• Michael_bg 5
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV368
• Ler85
League of Legends
• Nemesis4075
Upcoming Events
BSL 21
4h 2m
BSL Team A[vengers]
23h 2m
Cross vs Sobenz
Sziky vs IcaruS
SC4ALL
1d
SC4ALL
1d
BSL 21
1d 4h
Replay Cast
1d 18h
Wardi Open
1d 21h
Monday Night Weeklies
2 days
Replay Cast
2 days
Sparkling Tuna Cup
2 days
[ Show More ]
WardiTV Korean Royale
2 days
Replay Cast
3 days
WardiTV Korean Royale
3 days
The PondCast
4 days
Korean StarCraft League
6 days
CranKy Ducklings
6 days
Liquipedia Results

Completed

CSL 2025 AUTUMN (S18)
CranK Gathers Season 2: SC II Pro Teams
Eternal Conflict S1

Ongoing

BSL 21 Points
BSL 21 Team A
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
SC4ALL: Brood War
SC4ALL: StarCraft II
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025

Upcoming

YSL S2
BSL Season 21
SLON Tour Season 2
BSL 21 Non-Korean Championship
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
META Madness #9
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
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.