• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 23:57
CET 05:57
KST 13:57
  • 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
SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2
Community News
BSL Season 2025 - Full Overview and Conclusion5Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)16Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 105
StarCraft 2
General
Stellar Fest "01" Jersey Charity Auction SC2 All-Star Invitational: Tournament Preview Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets When will we find out if there are more tournament SC2 Spotted on the EWC 2026 list?
Tourneys
SC2 All-Star Invitational: Jan 17-18 SC2 AI Tournament 2026 $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
[ASL21] Potential Map Candidates Fantasy's Q&A video BGH Auto Balance -> http://bghmmr.eu/ Potential ASL qualifier breakthroughs? BSL Season 2025 - Full Overview and Conclusion
Tourneys
[Megathread] Daily Proleagues [BSL21] Non-Korean Championship - Starts Jan 10 Small VOD Thread 2.0 Azhi's Colosseum - Season 2
Strategy
Soma's 9 hatch build from ASL Game 2 Simple Questions, Simple Answers Game Theory for Starcraft Current Meta
Other Games
General Games
Stormgate/Frost Giant Megathread Beyond All Reason Awesome Games Done Quick 2026! Nintendo Switch Thread Mechabellum
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
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread Canadian Politics Mega-thread European Politico-economics QA Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1252 users

The Big Programming Thread - Page 551

Forum Index > General Forum
Post a Reply
Prev 1 549 550 551 552 553 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.
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
November 27 2014 00:08 GMT
#11001
I do angular and what rotodyne said
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
Ben...
Profile Joined January 2011
Canada3485 Posts
November 27 2014 03:33 GMT
#11002
On November 27 2014 07:15 Xyik wrote:
Show nested quote +
On November 26 2014 13:13 FFGenerations wrote:
you guys used the java Play Framework for web app dev? i think it might be a good choice for me instead of php laveral or something...

+ give me experience in java/something new that is in industry
+ tutor knows java
+ seems to have benefits of php like faster development/iteration
- finding hosting for java application is supposed to be harder than for php ? could host on google app engine but not sure what the limitations of that would entail
- ???

when you use a framework like this... your database is part of the model of the model view controller? so you dont use an external database like phpmyadmin or sqlserver? you use use model in the framework and the data is stored in some directory there? sure ive asked this before -_-


I've tried Play! before and the documentation not only sucked back when I used it, it's impossible to google for help because Play! is not SEO friendly. Most of the tutorials you'll find will be for development in Scala.

There's a place here looking to hire CS grads in spring and they specialize in Scala and Play and do what sounds like some interesting stuff with both. I've looked at Play a bit. It seems really neat. I was teaching myself scala but that got sidelined by school. My goal is to learn some of both over the break and apply there in a couple months.
"Cliiiiiiiiiiiiiiiiide" -Tastosis
CatNzHat
Profile Blog Joined February 2011
United States1599 Posts
November 27 2014 04:47 GMT
#11003
I've done some angular work, prefer ember/react though now. I prefer the way ember handles routing, and react's JSX templating engine is pretty cool. Back end is rails, for context.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
November 27 2014 07:48 GMT
#11004
On November 27 2014 04:35 nunez wrote:
rofl.
curse the lonely life of the template metaprogrammer...

:3

doing concurrency in c++ stuff, so want to use more c11 stuff ;-;

i wish there was a run time constant sized array in c++ that could be initialized in the constructor. std::array is close, but it's compile time, and i dont want vector because its mutable :/
There is no one like you in the universe.
Manit0u
Profile Blog Joined August 2004
Poland17610 Posts
November 27 2014 09:57 GMT
#11005
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...
Time is precious. Waste it wisely.
Biolunar
Profile Joined February 2012
Germany224 Posts
November 27 2014 10:23 GMT
#11006
On November 27 2014 16:48 Blisse wrote:
i wish there was a run time constant sized array in c++ that could be initialized in the constructor. std::array is close, but it's compile time, and i dont want vector because its mutable :/

Use std::unique_ptr. (Hint: unique_ptr is specialized for array types to call delete[] instead of delete)
What is best? To crush the Zerg, see them driven before you, and hear the lamentations of the Protoss.
waffelz
Profile Blog Joined June 2012
Germany711 Posts
November 27 2014 11:21 GMT
#11007
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...


ahahahaha... I so can relate to that, I am just at this point ...
RIP "The big travis CS degree thread", taken from us too soon | Honourable forum princess, defended by Rebs-approved white knights
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
November 27 2014 11:44 GMT
#11008
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...


I wouldn't give too much on that article. Apart from being fairly biased it's also extremely outdated with it's C# examples - which isn't surprising considering it's 8 years old and languages have developed a lot in that time.

The feeling of wanting feature X of language Y when you are developing Z is normal, no matter which language you use. All languages have a lot of features that other languages miss, because all languages specialize in different areas. While a specific feature might be useful, usually using the full language isn't, often due to missing libraries or other missing language features.

I do wish PHP had C# style lambda expressions and properties though


String.Join("\n", array.ConvertAll(x => x.Description).Where(x => x != '').ToArray());

ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2014-11-27 11:50:32
November 27 2014 11:49 GMT
#11009
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...

Worth noting that it's a very old post (2006). His comparison with C# doesn't hold anymore, C#'s handling of lambdas is elegant since C# 3.0, and Python is really not that much more powerful than C# imho. There are even constructs that are obviously more expressive in C# than in Python, like concurrency or asynchronous stuff.

I get the "demotivation" bit though. I can't fucking bear Java anymore (which is a way more stagnant language than C# ;D) now that I've tasted Scala.

Edit: Haha Morfildur sniped me baaad.
nunez
Profile Blog Joined February 2011
Norway4003 Posts
November 27 2014 12:58 GMT
#11010
On November 27 2014 16:48 Blisse wrote:
Show nested quote +
On November 27 2014 04:35 nunez wrote:
rofl.
curse the lonely life of the template metaprogrammer...

:3

doing concurrency in c++ stuff, so want to use more c11 stuff ;-;

i wish there was a run time constant sized array in c++ that could be initialized in the constructor. std::array is close, but it's compile time, and i dont want vector because its mutable :/


dynarray is in the pipe, and hopefull will make it into the standard.
in the mean time maybe valarray can help.
or write a small wrapper around vector (it has a constructor that allows you to specify how many elements).
or (as i would have done) just use vector and be disciplined.
conspired against by a confederacy of dunces.
Manit0u
Profile Blog Joined August 2004
Poland17610 Posts
Last Edited: 2014-11-28 05:58:21
November 27 2014 14:01 GMT
#11011
On November 27 2014 20:44 Morfildur wrote:
Show nested quote +
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...


I wouldn't give too much on that article. Apart from being fairly biased it's also extremely outdated with it's C# examples - which isn't surprising considering it's 8 years old and languages have developed a lot in that time.

The feeling of wanting feature X of language Y when you are developing Z is normal, no matter which language you use. All languages have a lot of features that other languages miss, because all languages specialize in different areas. While a specific feature might be useful, usually using the full language isn't, often due to missing libraries or other missing language features.

I do wish PHP had C# style lambda expressions and properties though


String.Join("\n", array.ConvertAll(x => x.Description).Where(x => x != '').ToArray());



In PHP you can do this:


implode("\n", array_filter($arr));


And in case of an array of objects:


implode("\n", array_map(function($obj) { if ($obj->description !== "") return $obj->description; }, $arr));


You can also do it with just one function and one lambda:


array_reduce($arr, function($str, $obj) { return ($obj->description !== "") ? $str . $obj->description . "\n" : $str; }, "");

Time is precious. Waste it wisely.
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
November 27 2014 14:56 GMT
#11012
On November 27 2014 20:49 ZenithM wrote:
Show nested quote +
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...

I get the "demotivation" bit though. I can't fucking bear Java anymore (which is a way more stagnant language than C# ;D)

java feels like your explaining programming to a child, you have to say everything about 3 times for it to do the simpelist things
The harder it becomes, the more you should focus on the basics.
Ben...
Profile Joined January 2011
Canada3485 Posts
November 27 2014 16:06 GMT
#11013
On November 27 2014 23:56 sabas123 wrote:
Show nested quote +
On November 27 2014 20:49 ZenithM wrote:
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...

I get the "demotivation" bit though. I can't fucking bear Java anymore (which is a way more stagnant language than C# ;D)

java feels like your explaining programming to a child, you have to say everything about 3 times for it to do the simpelist things

That's an apt way of describing it. It's so tedious. I haven't had to write any since spring and just the thought of having to write it again gives me a bit of a headache. The verboseness of java is something I really do dislike.
"Cliiiiiiiiiiiiiiiiide" -Tastosis
mostevil
Profile Joined February 2011
United Kingdom611 Posts
November 27 2014 16:25 GMT
#11014
On November 27 2014 20:44 Morfildur wrote:
Show nested quote +
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...


I wouldn't give too much on that article. Apart from being fairly biased it's also extremely outdated with it's C# examples - which isn't surprising considering it's 8 years old and languages have developed a lot in that time.

The feeling of wanting feature X of language Y when you are developing Z is normal, no matter which language you use. All languages have a lot of features that other languages miss, because all languages specialize in different areas. While a specific feature might be useful, usually using the full language isn't, often due to missing libraries or other missing language features.

I do wish PHP had C# style lambda expressions and properties though


String.Join("\n", array.ConvertAll(x => x.Description).Where(x => x != '').ToArray());


I really need to start using lambdas at some point. Legacy OS' of my customers have me trapped at older versions of .NET. They still don't look natural to me yet, it's a weird ass syntax in a world that mostly looks like c.
我的媽和她的瘋狂的外甥都
berated-
Profile Blog Joined February 2007
United States1134 Posts
November 27 2014 16:58 GMT
#11015
On November 28 2014 01:06 Ben... wrote:
Show nested quote +
On November 27 2014 23:56 sabas123 wrote:
On November 27 2014 20:49 ZenithM wrote:
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...

I get the "demotivation" bit though. I can't fucking bear Java anymore (which is a way more stagnant language than C# ;D)

java feels like your explaining programming to a child, you have to say everything about 3 times for it to do the simpelist things

That's an apt way of describing it. It's so tedious. I haven't had to write any since spring and just the thought of having to write it again gives me a bit of a headache. The verboseness of java is something I really do dislike.


In an enterprise environment it's something that I've come to love. Sure, if I'm trying to script or do something quick and dirty or only for myself, I agree that it's a bit overkill. However, when you have to maintain a project for many years and developers come in and out like a revolving door the verbosity of java is quite nice.
ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2014-11-27 17:15:09
November 27 2014 17:13 GMT
#11016
I'm going to go ahead and say it. Java is still super used not only because there are huge code bases in Java (obviously it's true), but because programmers are in general bad and Java is conveniently easily drilled into the masses (I'm not saying that it's taught quickly, but eventually everyone is able to piss some Java code). A really verbose and inflexible language at least forces bad programmers into routine procedures and strict patterns: "one class per file!", "type annotations everyfuckingwhere so you won't forget what your types are!", "No functions! Only methods!" (though it's starting to evolve a bit with Java 8).
The downside is, it forces good programmers to code like bad programmers.

It's not really something that can be changed too. There are nicer "mainstream" "for the masses" languages, like Python, which is both easy and expressive, but every programmer won't be able to code in Haskell, for example.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
November 27 2014 17:21 GMT
#11017
On November 27 2014 21:58 nunez wrote:
Show nested quote +
On November 27 2014 16:48 Blisse wrote:
On November 27 2014 04:35 nunez wrote:
rofl.
curse the lonely life of the template metaprogrammer...

:3

doing concurrency in c++ stuff, so want to use more c11 stuff ;-;

i wish there was a run time constant sized array in c++ that could be initialized in the constructor. std::array is close, but it's compile time, and i dont want vector because its mutable :/


dynarray is in the pipe, and hopefull will make it into the standard.
in the mean time maybe valarray can help.
or write a small wrapper around vector (it has a constructor that allows you to specify how many elements).
or (as i would have done) just use vector and be disciplined.


dynarray sounds like it!

i'm finding it's less about discipline and more about i shouldnt have to tell my brain how to interpret arrays as resizable or not, the compiler should do it for me
There is no one like you in the universe.
nunez
Profile Blog Joined February 2011
Norway4003 Posts
Last Edited: 2014-11-27 17:41:54
November 27 2014 17:40 GMT
#11018
ah good.

i think making your assumptions explicit in code (f.ex that this container is not resizeable) is ~always a bonus.
dynarray also hopefully will have the added bonus of using stack allocation if the size is small enough.
but if that's not a concern, then vector is a safe bet: it's everyones favorite container.

dynarray will be a nice addition when the holy binary, GCC, selects it for ascension.
conspired against by a confederacy of dunces.
Blisse
Profile Blog Joined July 2010
Canada3710 Posts
November 27 2014 22:42 GMT
#11019
cant wait @_@

vectors are nasty
deques master race
There is no one like you in the universe.
Manit0u
Profile Blog Joined August 2004
Poland17610 Posts
Last Edited: 2014-11-28 06:01:08
November 28 2014 02:40 GMT
#11020
On November 28 2014 01:25 mostevil wrote:
Show nested quote +
On November 27 2014 20:44 Morfildur wrote:
On November 27 2014 18:57 Manit0u wrote:
http://lukeplant.me.uk/blog/posts/why-learning-haskell-python-makes-you-a-worse-programmer/

Kinda sad...


I wouldn't give too much on that article. Apart from being fairly biased it's also extremely outdated with it's C# examples - which isn't surprising considering it's 8 years old and languages have developed a lot in that time.

The feeling of wanting feature X of language Y when you are developing Z is normal, no matter which language you use. All languages have a lot of features that other languages miss, because all languages specialize in different areas. While a specific feature might be useful, usually using the full language isn't, often due to missing libraries or other missing language features.

I do wish PHP had C# style lambda expressions and properties though


String.Join("\n", array.ConvertAll(x => x.Description).Where(x => x != '').ToArray());


I really need to start using lambdas at some point. Legacy OS' of my customers have me trapped at older versions of .NET. They still don't look natural to me yet, it's a weird ass syntax in a world that mostly looks like c.


I must say that I'm not a big fan of lambdas. Just like I'm not a big fan of chaining in PHP. It seems like trying to cram as much code as possible into one line which can make it less readable.

Don't get me wrong, I'm all for using anonymous functions and recursion when declaring "variables" but apart from that I think you start introducing too much clutter in imperative languages.
Time is precious. Waste it wisely.
Prev 1 549 550 551 552 553 1032 Next
Please log in or register to reply.
Live Events Refresh
All-Star Invitational
03:00
Day 2
herO vs SolarLIVE!
Clem vs Reynor
Rogue vs Oliveira
WardiTV1172
PiGStarcraft690
EnkiAlexander 109
3DClanTV 53
IntoTheiNu 12
LiquipediaDiscussion
AI Arena Tournament
20:00
Swiss - Round 2
Laughngamez YouTube
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft690
WinterStarcraft543
RuFF_SC2 144
IndyStarCraft 90
BRAT_OK 85
StarCraft: Brood War
Britney 18784
EffOrt 127
Shuttle 84
Noble 31
ajuk12(nOOB) 21
Models 15
Icarus 8
Dota 2
monkeys_forever161
febbydoto45
LuMiX0
League of Legends
JimRising 783
C9.Mang0512
Super Smash Bros
Mew2King33
Other Games
summit1g6708
KnowMe714
minikerr18
Organizations
Other Games
gamesdonequick1854
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• Hupsaiya 75
• AfreecaTV YouTube
• intothetv
• Kozan
• sooper7s
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• RayReign 63
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Stunt394
Other Games
• Scarra1074
Upcoming Events
Sparkling Tuna Cup
5h 4m
OSC
7h 4m
Shameless vs NightMare
YoungYakov vs MaNa
Nicoract vs Jumy
Gerald vs TBD
Creator vs TBD
BSL 21
15h 4m
Bonyth vs Sziky
Mihu vs QiaoGege
Sziky vs XuanXuan
eOnzErG vs QiaoGege
Mihu vs DuGu
Dewalt vs Bonyth
IPSL
15h 4m
Dewalt vs Sziky
Replay Cast
1d 4h
Wardi Open
1d 7h
Monday Night Weeklies
1d 12h
The PondCast
3 days
Big Brain Bouts
5 days
Serral vs TBD
BSL 21
6 days
Liquipedia Results

Completed

Escore Tournament S1: W4
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
OSC Championship Season 13
SC2 All-Star Inv. 2025
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025

Upcoming

Escore Tournament S1: W5
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Nations Cup 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 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.