• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:29
CEST 18:29
KST 01:29
  • 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 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists22[ASL21] Ro16 Preview Pt1: Fresh Flow9
Community News
RSL Revival: Season 5 - Qualifiers and Main Event7Code S Season 1 (2026) - RO12 Results02026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced92026 GSL Tour plans announced15
StarCraft 2
General
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun Code S Season 1 (2026) - RO12 Results Team Liquid Map Contest #22 - The Finalists Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool MaNa leaves Team Liquid
Tourneys
RSL Revival: Season 5 - Qualifiers and Main Event GSL Code S Season 1 (2026) SC2 INu's Battles#15 <BO.9 2Matches> WardiTV Spring Cup SEL Masters #6 - Solar vs Classic (SC: Evo)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base Mutation # 521 Memorable Boss
Brood War
General
Why there arent any 256x256 pro maps? Pros React To: Leta vs Tulbo (ASL S21, Ro.8) Missed out on ASL tickets - what are my options? ASL21 General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues Escore Tournament StarCraft Season 2 [BSL22] RO16 Group Stage - 02 - 10 May [ASL21] Ro8 Day 2
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Daigo vs Menard Best of 10 Dawn of War IV Diablo IV
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
European Politico-economics QA Mega-thread US Politics Mega-thread Russo-Ukrainian War Thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Sexual Health Of Gamers
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1266 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
Poland17741 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
Poland17741 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
Poland17741 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
IPSL
16:00
Ro24 Group E
Ret vs Art_Of_Turtle
Radley vs TBD
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
LamboSC2 409
Railgan 97
SteadfastSC 91
BRAT_OK 67
Ketroc 51
gerald23 35
StarCraft: Brood War
Britney 32827
Calm 7515
Sea 2512
Horang2 1638
Shuttle 1270
Soma 541
Hyuk 435
EffOrt 416
ggaemo 398
Rush 254
[ Show more ]
hero 171
Nal_rA 143
actioN 84
Hyun 60
sorry 38
Movie 32
Barracks 32
Rock 27
Sharp 25
Hm[arnc] 23
yabsab 15
JulyZerg 14
Terrorterran 11
IntoTheRainbow 10
SilentControl 8
Dota 2
Gorgc4055
qojqva1885
monkeys_forever336
420jenkins231
Heroes of the Storm
Khaldor449
MindelVK8
Other Games
B2W.Neo1601
Beastyqt813
ArmadaUGS361
Hui .174
crisheroes149
KnowMe140
Trikslyr38
Rex18
Organizations
Dota 2
PGL Dota 2 - Main Stream71
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 18 non-featured ]
StarCraft 2
• iHatsuTV 18
• Adnapsc2 16
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• IndyKCrew
StarCraft: Brood War
• Michael_bg 40
• Airneanach38
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV476
League of Legends
• Jankos1825
• Nemesis1721
Other Games
• Shiphtur249
Upcoming Events
BSL
2h 31m
Replay Cast
7h 31m
RSL Revival
17h 31m
herO vs TriGGeR
NightMare vs Solar
uThermal 2v2 Circuit
21h 31m
BSL
1d 2h
IPSL
1d 2h
eOnzErG vs TBD
G5 vs Nesh
Patches Events
1d 7h
Replay Cast
1d 16h
Wardi Open
1d 17h
Afreeca Starleague
1d 17h
Jaedong vs Light
[ Show More ]
Monday Night Weeklies
1d 23h
Replay Cast
2 days
Sparkling Tuna Cup
2 days
Afreeca Starleague
2 days
Snow vs Flash
WardiTV Invitational
2 days
GSL
3 days
Classic vs Cure
Maru vs Rogue
GSL
4 days
SHIN vs Zoun
ByuN vs herO
OSC
4 days
Replay Cast
5 days
Escore
5 days
The PondCast
5 days
WardiTV Invitational
5 days
Replay Cast
6 days
CranKy Ducklings
6 days
RSL Revival
6 days
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
6 days
Liquipedia Results

Completed

Escore Tournament S2: W5
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
KK 2v2 League Season 1
Acropolis #4
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

BSL 22 Non-Korean Championship
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
Asian Champions League 2026
IEM Atlanta 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.