• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 18:46
CET 00:46
KST 08:46
  • 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] Finals Preview: Sweet Victory!12[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11[ASL22] Ro16 Preview: Holy Diver5
Community News
Weekly Cups (Oct 26 - Nov 1): MaxPax, herO, Solar win0Weekly Cups (October 19-25): Clem triples first in 5.0.175Evil Geniuses - shutting down23ISSL (IntoTheTV x SOOP SC2 League): Premier7Weekly Cups (October 12-18): 5.0.17 era begins1
StarCraft 2
General
[D] Hacker peak in sc2 ? No more SC2 streamers on team liquid? Liquibets sc2 season 30 Evil Geniuses - shutting down Weekly Cups (Oct 26 - Nov 1): MaxPax, herO, Solar win
Tourneys
SC4ALL: II Venue Change Announcement! Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays ISSL (IntoTheTV x SOOP SC2 League): Premier Stellar Fest TWO the Moon (Dec 16-20)
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[G] How to playtest arcade maps Starcraft 2 Advance [D] the control group Simple Questions/Answers
External Content
Mutation # 550 Graveyard Shift The PondCast: SC2 News & Results Mutation # 549 Endless Sparkles Mutation # 548 Shining Bright
Brood War
General
BGH Auto Balance -> http://bghmmr.eu/ Rollback Netcode in Brood War SC4ALL: II Venue Change Announcement! Ziemie's Starcraft 1 Prequel Campaign 🇺🇦 Ukrainian StarCraft:BroodWar community reborn
Tourneys
[$1250] International ShieldBattery League [Megathread] Daily Proleagues Small VOD Thread 2.0 KCM Race Survival 2026 Season 4
Strategy
50,000-Word Terran Builds Memo 2026-10-22 Cliff Jump Revisited (1 in a 1000 strategy) Simple Questions, Simple Answers
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Deus Ex 3!? Mobile Legends: Bang Bang Armies of Exigo - YesYes?
Dota 2
Dota 2 Champions League Season 3 Begins April 25!
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Dating: How's your luck? Trading/Investing Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread
Fan Clubs
Fan Club Resource Thread Reynor Fan Club The Flash Fan Club
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts
Blogs
Why I built Repalyzer (1.1.…
BlueStar
Innovate or Game Over?
TrAiDoS
ShieldBattery on Mac
Kraekkling
[ASL22] Ro4 Day1 Ticket Giv…
bITt.mAN
Can Bots Beat Pros?? Starcr…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 8969 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
Poland17871 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
Poland17871 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
Poland17871 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
Next event in 11h 14m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Nathanias 131
StarCraft: Brood War
Britney 7227
Shuttle 380
Dota 2
PGG 188
League of Legends
Doublelift4651
JimRising 721
Counter-Strike
jkaem72
Other Games
gofns8532
summit1g8489
Grubby2321
shahzam441
PiGStarcraft355
C9.Mang0269
syndereN168
XaKoH 107
Fuzer 79
NeuroSwarm51
ViBE42
ZombieGrub42
PPMD28
KnowMe25
Maynarde24
Railgan21
JuggernautJason6
Organizations
Other Games
BasetradeTV190
Counter-Strike
PGL85
[ Show 18 non-featured ]
StarCraft 2
• Hupsaiya 57
• RyuSc2 18
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Laughngamez YouTube
• Migwel
StarCraft: Brood War
• HerbMon 40
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• WagamamaTV661
League of Legends
• Nemesis3589
• Jankos3563
• Scarra939
Other Games
• imaqtpie660
• Shiphtur184
Upcoming Events
IntoTheTV X SOOP
11h 14m
Reynor vs Solar
ByuN vs SHIN
Clem vs MaxPax
herO vs Rogue
IPSL
17h 14m
WorsT vs nOmaD
Dewalt vs andersOn
AI Arena Tournament
19h 14m
IntoTheTV X SOOP
1d 11h
IPSL
1d 17h
Azhi_Dahaki vs ggnore13
Double vs WIZARD
Replay Cast
1d 23h
Replay Cast
2 days
Sparkling Tuna Cup
3 days
WardiTV Invitational
3 days
YoungYakov vs Lambo
SHIN vs TBD
Percival vs Shameless
Solar vs TBD
PiGosaur Cup
4 days
[ Show More ]
The PondCast
5 days
KCM Race Survival
5 days
WardiTV Invitational
5 days
Liquipedia Results

Completed

Proleague 2026-11-05
Blizzard Classic Cup 2026
HCC Season 3

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
International ShieldBattery League
BSL Season 23
IPSL Winter 2026-27
Calamity Cup Div. A Season 8
IEM Beijing 2026
PGL Masters Bucharest 2026
Stake Ranked Episode 5
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026

Upcoming

Sector 951
SC4ALL II: Brood War
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Underdog Cup 2026 Div 2-3
PGL Bucharest 2027
BLAST Bounty Winter 2027
eXTREMESLAND 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals 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.