• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 19:53
CET 00:53
KST 08:53
  • 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
ByuL: The Forgotten Master of ZvT30Behind the Blue - Team Liquid History Book19Clem wins HomeStory Cup 289HomeStory Cup 28 - Info & Preview13Rongyi Cup S3 - Preview & Info8
Community News
Weekly Cups (March 9-15): herO, Clem, ByuN win02026 KungFu Cup Announcement5BGE Stara Zagora 2026 cancelled12Blizzard Classic Cup - Tastosis announced as captains17Weekly Cups (March 2-8): ByuN overcomes PvT block5
StarCraft 2
General
Potential Updates Coming to the SC2 CN Server Weekly Cups (March 2-8): ByuN overcomes PvT block Blizzard Classic Cup - Tastosis announced as captains Weekly Cups (March 9-15): herO, Clem, ByuN win GSL CK - New online series
Tourneys
2026 KungFu Cup Announcement [GSL CK] #2: Team Classic vs. Team Solar [GSL CK] #1: Team Maru vs. Team herO RSL Season 4 announced for March-April PIG STY FESTIVAL 7.0! (19 Feb - 1 Mar)
Strategy
Custom Maps
Publishing has been re-enabled! [Feb 24th 2026] Map Editor closed ?
External Content
The PondCast: SC2 News & Results Mutation # 517 Distant Threat Mutation # 516 Specter of Death Mutation # 515 Together Forever
Brood War
General
ASL21 General Discussion BGH Auto Balance -> http://bghmmr.eu/ Gypsy to Korea BSL 22 Map Contest — Submissions OPEN to March 10 Are you ready for ASL 21? Hype VIDEO
Tourneys
ASL Season 21 Qualifiers March 7-8 [Megathread] Daily Proleagues [BSL22] Open Qualifiers & Ladder Tours IPSL Spring 2026 is here!
Strategy
Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Fighting Spirit mining rates Zealot bombing is no longer popular?
Other Games
General Games
Stormgate/Frost Giant Megathread Dawn of War IV Path of Exile Nintendo Switch Thread PC Games Sales Thread
Dota 2
Official 'what is Dota anymore' discussion The Story of Wings Gaming
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
Five o'clock TL Mafia Mafia Game Mode Feedback/Ideas Vanilla Mini Mafia TL Mafia Community Thread
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Mexico's Drug War Russo-Ukrainian War Thread NASA and the Private Sector
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread Tokyo Olympics 2021 Thread Formula 1 Discussion General nutrition recommendations Cricket [SPORT]
World Cup 2022
Tech Support
Laptop capable of using Photoshop Lightroom?
TL Community
The Automated Ban List
Blogs
Funny Nicknames
LUCKY_NOOB
Money Laundering In Video Ga…
TrAiDoS
Iranian anarchists: organize…
XenOsky
FS++
Kraekkling
Shocked by a laser…
Spydermine0240
Unintentional protectionism…
Uldridge
ASL S21 English Commentary…
namkraft
Customize Sidebar...

Website Feedback

Closed Threads



Active: 4282 users

The Big Programming Thread - Page 983

Forum Index > General Forum
Post a Reply
Prev 1 981 982 983 984 985 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.
Excludos
Profile Blog Joined April 2010
Norway8242 Posts
December 21 2018 20:47 GMT
#19641
On December 22 2018 04:52 SC-Shield wrote:
Show nested quote +
On December 22 2018 04:40 Blisse wrote:
On December 21 2018 03:23 mantequilla wrote:
I have a coworker that knows a lot more than me, like different languages, frameworks, different programming paradigms. etc but I can't help to think he's a bad programmer.

His code is almost always buggy. Ideas he bring out and be sure "it will work" never works.

I was trying to track down a silly bug for 3 days, finally solved it, he refactored my code a bit to make it "better", now its more broken than ever :/
pissed


I mean, code reviews are a thing?


In theory, unit tests should have caught that too.


Only if you write them in the first place!
Silvanel
Profile Blog Joined March 2003
Poland4742 Posts
December 21 2018 21:13 GMT
#19642
If it compiles it works! Works on my machine! Its better that way! And other things i as tester love to hear
Pathetic Greta hater.
Excludos
Profile Blog Joined April 2010
Norway8242 Posts
December 21 2018 23:10 GMT
#19643
On December 22 2018 06:13 Silvanel wrote:
If it compiles it works! Works on my machine! Its better that way! And other things i as tester love to hear


"This isn't working"
"Works on my machine!"
"Yes, but this is an iOS app.."
"Works. On. My. Machine!"
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
December 22 2018 05:58 GMT
#19644
A library I used released a feature that I've been waiting on 8 months ago. They finally released the android version 4 days ago...
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
SC-Shield
Profile Joined December 2018
Bulgaria837 Posts
December 22 2018 11:52 GMT
#19645
On December 22 2018 14:58 WarSame wrote:
A library I used released a feature that I've been waiting on 8 months ago. They finally released the android version 4 days ago...


I guess you were a good boy so Santa brought you gift.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2018-12-24 00:42:58
December 23 2018 22:17 GMT
#19646
im considering writing some machine learning stuff to predict NBA outcomes

anyone heard of machine learning for sports betting? I would have to imagine its what las vegas uses and they are probably really really good at it.
tofucake
Profile Blog Joined October 2009
Hyrule19196 Posts
December 24 2018 00:27 GMT
#19647
Yeah, there's at least one guy who's won a few hundred thousand by using machine learning to run his fantasy teams
Liquipediaasante sana squash banana
Wrath
Profile Blog Joined July 2014
3174 Posts
December 24 2018 06:16 GMT
#19648
Question, would it be logical to install python on every single Windows server to use it as scripting language instead of batch script? I really feel it is awkward and limited to use.
LightTemplar
Profile Blog Joined August 2011
Ireland481 Posts
December 24 2018 09:56 GMT
#19649
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.
"Thoughts are always there, the mind can't stop" - Grubby
Silvanel
Profile Blog Joined March 2003
Poland4742 Posts
December 24 2018 10:38 GMT
#19650
To elaborate even more if You want to make sure You have exact same environment on multiple machines and at the same time make sure this enviroment doesnt affect different apps potentially also running python use:
venv + install modules from one requirements.txt.
Pathetic Greta hater.
SC-Shield
Profile Joined December 2018
Bulgaria837 Posts
Last Edited: 2018-12-24 13:55:48
December 24 2018 13:54 GMT
#19651
On December 24 2018 18:56 LightTemplar wrote:
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.


Avoid Python 2. Official support will be dropped in 2020. You only have 1 year in this case.
Link: https://www.python.org/dev/peps/pep-0373/#update
Excludos
Profile Blog Joined April 2010
Norway8242 Posts
December 24 2018 14:13 GMT
#19652
On December 24 2018 22:54 SC-Shield wrote:
Show nested quote +
On December 24 2018 18:56 LightTemplar wrote:
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.


Avoid Python 2. Official support will be dropped in 2020. You only have 1 year in this case.
Link: https://www.python.org/dev/peps/pep-0373/#update


Also avoid Python 3. It's a bad language for bad people who should feel bad!
Manit0u
Profile Blog Joined August 2004
Poland17694 Posts
December 24 2018 14:47 GMT
#19653
Also avoid Python. There are better scripting languages
Time is precious. Waste it wisely.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
December 24 2018 15:14 GMT
#19654
like what? my hackles have immediately raised in defense of python, despite very little experience with other languages lol
Excludos
Profile Blog Joined April 2010
Norway8242 Posts
Last Edited: 2018-12-24 15:19:56
December 24 2018 15:18 GMT
#19655
On December 25 2018 00:14 travis wrote:
like what? my hackles have immediately raised in defense of python, despite very little experience with other languages lol


Depends entierly on the use. I'm personally very pragmatic with what I program in, depending entierly on what needs to be done. If you're working with machine learning, Python is the way to go simply because at some point, everyone in the field decided to use it. So nearly all material, guides and software is available only in Python (and a bit in c++). If you're running scripts for windows, powershell works well enough for that. If you're running a server, nodejs is excellent (despite my hate for js in general), if you need a front end: Qt. If you need a 3D world: Unity, etc etc.
SC-Shield
Profile Joined December 2018
Bulgaria837 Posts
Last Edited: 2018-12-24 18:08:12
December 24 2018 18:03 GMT
#19656
On December 24 2018 23:13 Excludos wrote:
Show nested quote +
On December 24 2018 22:54 SC-Shield wrote:
On December 24 2018 18:56 LightTemplar wrote:
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.


Avoid Python 2. Official support will be dropped in 2020. You only have 1 year in this case.
Link: https://www.python.org/dev/peps/pep-0373/#update


Also avoid Python 3. It's a bad language for bad people who should feel bad!


I dislike scripting languages, including Python, but come on Python is good for prototyping for some scientists, I had a colleague who was doing imaging science in Python first to try algorithms because it was quick to write. Of course, you can later write an algorithm in a faster language like in C or C++.
mantequilla
Profile Blog Joined June 2012
Turkey781 Posts
Last Edited: 2018-12-24 18:30:00
December 24 2018 18:23 GMT
#19657
Python feels weird to me, I usually categorize languages in my head in two, either javascript like (everything is allowed, very flexible but can be a pain if used badly) or java like (very strict, not flexible but everything is according to a rule, easy to follow someone else's code). Python is neither, it allows too many things, like runtime modification of class methods etc. but at the same time can't print("number is: " + 1) or print("list is : " + null) and whole thing terminates because of this. It can concat two arrays with + operator but can't concat a string and a number.

When writing js, I usually think "im sure I can do that in js" and when writing java "let me think how I can do sth like that". In python, I have no idea

Try Groovy

PS: Anyone know Scala here?
Age of Mythology forever!
Excludos
Profile Blog Joined April 2010
Norway8242 Posts
December 24 2018 18:30 GMT
#19658
On December 25 2018 03:03 SC-Shield wrote:
Show nested quote +
On December 24 2018 23:13 Excludos wrote:
On December 24 2018 22:54 SC-Shield wrote:
On December 24 2018 18:56 LightTemplar wrote:
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.


Avoid Python 2. Official support will be dropped in 2020. You only have 1 year in this case.
Link: https://www.python.org/dev/peps/pep-0373/#update


Also avoid Python 3. It's a bad language for bad people who should feel bad!


I dislike scripting languages, including Python, but come on Python is good for prototyping for some scientists, I had a colleague who was doing imaging science in Python first to try algorithms because it was quick to write. Of course, you can later write an algorithm in a faster language like in C or C++.


This is indeed the biggest usecase for Python: Scientists who doesn't really know how to program and/or doesn't have the time for it. I don't know exactly when or why all scientists decided to band togheter to use one language above all others, but that is the situation we're in atm.
SC-Shield
Profile Joined December 2018
Bulgaria837 Posts
Last Edited: 2018-12-24 18:49:32
December 24 2018 18:47 GMT
#19659
On December 25 2018 03:30 Excludos wrote:
Show nested quote +
On December 25 2018 03:03 SC-Shield wrote:
On December 24 2018 23:13 Excludos wrote:
On December 24 2018 22:54 SC-Shield wrote:
On December 24 2018 18:56 LightTemplar wrote:
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.


Avoid Python 2. Official support will be dropped in 2020. You only have 1 year in this case.
Link: https://www.python.org/dev/peps/pep-0373/#update


Also avoid Python 3. It's a bad language for bad people who should feel bad!


I dislike scripting languages, including Python, but come on Python is good for prototyping for some scientists, I had a colleague who was doing imaging science in Python first to try algorithms because it was quick to write. Of course, you can later write an algorithm in a faster language like in C or C++.


This is indeed the biggest usecase for Python: Scientists who doesn't really know how to program and/or doesn't have the time for it. I don't know exactly when or why all scientists decided to band togheter to use one language above all others, but that is the situation we're in atm.


Well, "why" is obvious, it's a very high level language which allows you to write something in just a few lines. In C++, you have a lot more to write, but performance won't be an issue at least. It's very easy to pick between the two: speed of writing or performance and stricter rules (predictable deallocation, static typing, etc).
Excludos
Profile Blog Joined April 2010
Norway8242 Posts
December 24 2018 19:06 GMT
#19660
On December 25 2018 03:47 SC-Shield wrote:
Show nested quote +
On December 25 2018 03:30 Excludos wrote:
On December 25 2018 03:03 SC-Shield wrote:
On December 24 2018 23:13 Excludos wrote:
On December 24 2018 22:54 SC-Shield wrote:
On December 24 2018 18:56 LightTemplar wrote:
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.


Avoid Python 2. Official support will be dropped in 2020. You only have 1 year in this case.
Link: https://www.python.org/dev/peps/pep-0373/#update


Also avoid Python 3. It's a bad language for bad people who should feel bad!


I dislike scripting languages, including Python, but come on Python is good for prototyping for some scientists, I had a colleague who was doing imaging science in Python first to try algorithms because it was quick to write. Of course, you can later write an algorithm in a faster language like in C or C++.


This is indeed the biggest usecase for Python: Scientists who doesn't really know how to program and/or doesn't have the time for it. I don't know exactly when or why all scientists decided to band togheter to use one language above all others, but that is the situation we're in atm.


Well, "why" is obvious, it's a very high level language which allows you to write something in just a few lines. In C++, you have a lot more to write, but performance won't be an issue at least. It's very easy to pick between the two: speed of writing or performance and stricter rules (predictable deallocation, static typing, etc).


Sure, but there are plenty of other high level languages to pick from. The probable reason Python has been used over anything else for this purpose is probably due to it compiling to c++ code, which makes it very easy to integrate c/c++ libraries, of which there are many (like OpenCV). Unlike something like javascript which compiles to bytecode, so all preexisting libraries for other languages have to be rewritten for it.
Prev 1 981 982 983 984 985 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 7m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft366
SpeCial 200
SteadfastSC 131
ProTech34
StarCraft: Brood War
GuemChi 1455
Artosis 598
Nal_rA 62
Britney 0
Dota 2
monkeys_forever490
League of Legends
JimRising 595
Super Smash Bros
hungrybox504
C9.Mang0248
AZ_Axe92
PPMD43
Other Games
summit1g13937
shahzam438
Maynarde115
Trikslyr81
ViBE33
Mew2King26
Organizations
Other Games
gamesdonequick647
Dota 2
PGL Dota 2 - Main Stream338
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• davetesta5
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Eskiya23 20
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• Scarra1508
• imaqtpie1141
Upcoming Events
Replay Cast
7m
CranKy Ducklings6
WardiTV Team League
12h 7m
PiGosaur Cup
1d
Kung Fu Cup
1d 11h
OSC
2 days
The PondCast
2 days
KCM Race Survival
2 days
WardiTV Team League
2 days
Replay Cast
3 days
KCM Race Survival
3 days
[ Show More ]
WardiTV Team League
3 days
Korean StarCraft League
4 days
RSL Revival
4 days
Maru vs Zoun
Cure vs ByuN
uThermal 2v2 Circuit
4 days
BSL
4 days
RSL Revival
5 days
herO vs MaxPax
Rogue vs TriGGeR
BSL
5 days
Replay Cast
6 days
Replay Cast
6 days
Afreeca Starleague
6 days
Sharp vs Scan
Rain vs Mong
Wardi Open
6 days
Monday Night Weeklies
6 days
Liquipedia Results

Completed

Proleague 2026-03-15
WardiTV Winter 2026
Underdog Cup #3

Ongoing

KCM Race Survival 2026 Season 1
Jeongseon Sooper Cup
BSL Season 22
CSL Elite League 2026
RSL Revival: Season 4
Nations Cup 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual

Upcoming

ASL Season 21
Acropolis #4 - TS6
2026 Changsha Offline CUP
Acropolis #4
IPSL Spring 2026
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
NationLESS Cup
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
CCT Season 3 Global Finals
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 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.