|
theodop posted:I've never written python but it sounds bad. how do you know if your code is wrong with no compiler? Spend a lot of time writing tests that are only necessary because you don't have a compiler and hope your linter is good. Still end up turbofucked on day long debugging sessions a compiler would have prevented. You write every program 3-5x as fast though so most of the time you're still ahead unless you're writing something that needs to run quickly. Then you write those parts in C.
|
# ? Jun 9, 2019 05:36 |
|
|
# ? Apr 29, 2024 03:40 |
|
Kilometres Davis posted:Spend a lot of time writing tests that are only necessary because you don't have a compiler and hope your linter is good. Still end up turbofucked on day long debugging sessions a compiler would have prevented. sounds like a pos, op
|
# ? Jun 9, 2019 05:47 |
|
The best part about python is that it supports writing functional code, object oriented structures, newly supported static typing as well as the age old dynamic typing, all in the same awful 20k line app.py file.
|
# ? Jun 9, 2019 06:16 |
|
TimWinter posted:The best part about python is that it supports writing functional code, object oriented structures, newly supported static typing as well as the age old dynamic typing, all in the same awful 20k line app.py file. your app gets all of these things in a couple of lines by importing matplotlib and pandas
|
# ? Jun 9, 2019 09:02 |
|
Kilometres Davis posted:You write every program 3-5x as fast though so most of the time you're still ahead unless you're writing something that needs to run quickly. Then you write those parts in C. this really isn’t true, except for trivial programs with only one developer who never has to touch the code again after the first release
|
# ? Jun 9, 2019 09:31 |
|
latest opinion re: Python: It is still Bad
|
# ? Jun 9, 2019 14:51 |
|
Shaggar posted:despite the claims of the op, python is, in fact, bad.
|
# ? Jun 9, 2019 18:35 |
|
python is great when you are between zero and one person on the project. it gets terrible from there.
|
# ? Jun 9, 2019 18:37 |
|
theodop posted:I've never written python but it sounds bad. how do you know if your code is wrong with no compiler? if you run it and you get an error then you did something wrong and if you don’t then you did it right, how is this difficult to grasp and love echinopsis fucked around with this message at 23:33 on Jun 9, 2019 |
# ? Jun 9, 2019 23:23 |
|
Hammerite posted:latest opinion re: Python: It is still Bad I am here to say it’s good
|
# ? Jun 9, 2019 23:24 |
|
im sorry op but your programming language is a piece of poo poo
|
# ? Jun 9, 2019 23:28 |
|
Fatty Crabcakes posted:Game recognize game lmao
|
# ? Jun 10, 2019 00:20 |
|
pram posted:im sorry op but your programming language is a piece of poo poo python = anaconda = big dick energy go = go to the toilet
|
# ? Jun 10, 2019 01:25 |
|
theodop posted:I've never written python but it sounds bad. how do you know if your code is wrong with no compiler? if it's anything like vanilla javascript, the answer is "run it, exercise every single piece of the program, and see if you get any runtime errors" hopefully typescript liberates me from this hell. fuckin sucks to not know if i typoed a variable name until i finish the project and test it out
|
# ? Jun 10, 2019 03:26 |
|
Kilometres Davis posted:Spend a lot of time writing tests that are only necessary because you don't have a compiler and hope your linter is good. Still end up turbofucked on day long debugging sessions a compiler would have prevented. you can write C# imperatively so I can't see how python could be any faster and at the same time it doesn't tell you when you're writing it wrong
|
# ? Jun 10, 2019 09:25 |
|
lol semicolons are time consuming get real
|
# ? Jun 10, 2019 10:26 |
|
guess what language doesnt have semicolons thats right. go
|
# ? Jun 10, 2019 13:33 |
|
theodop posted:you can write C# imperatively so I can't see how python could be any faster and at the same time it doesn't tell you when you're writing it wrong yeah every program was a bit of stretch, just being glib, but I have to convince myself that there's some benefit to the tools I use every day I guess I personally find it always faster for prototyping and new poo poo but if I had written as much C# as I have Python I'd have different metrics
|
# ? Jun 10, 2019 13:37 |
|
pram posted:guess what language doesnt have semicolons
|
# ? Jun 10, 2019 14:35 |
|
python is fine
|
# ? Jun 10, 2019 14:36 |
|
really lol if anyone has any kind of opinion on actual programming languages like we don't spend all our time setting up build pipelines, or programmatically defining infrastructure, or debugging stupid bullshit or writing tests
|
# ? Jun 10, 2019 14:37 |
|
Kilometres Davis posted:yeah every program was a bit of stretch, just being glib, but I have to convince myself that there's some benefit to the tools I use every day I guess I regularly use python for prototyping. after a few weeks it regularly turns into an unmaintainable clusterfuck, at which point I use the lessons I’ve learned about the problem domain to write a good implementation in java. I would skip straight to part 2 if a second person was allocated to the project.
|
# ? Jun 10, 2019 20:18 |
|
they're optional, but only morons omit them
|
# ? Jun 10, 2019 20:20 |
|
Soricidus posted:I regularly use python for prototyping. after a few weeks it regularly turns into an unmaintainable clusterfuck, at which point I use the lessons I’ve learned about the problem domain to write a good implementation in java. maybe its a clusterfuck because youre still figuring out and prototyping, and not because python is bad (it isnt)
|
# ? Jun 10, 2019 20:23 |
|
consider this: it is okay
|
# ? Jun 10, 2019 20:25 |
|
power botton posted:maybe its a clusterfuck because youre still figuring out and prototyping, and not because python is bad (it isnt) It's pretty easy to tidy up a java program. Python, not so much.
|
# ? Jun 10, 2019 20:29 |
|
all OO languages are impossible to make clean and coherent programs in
|
# ? Jun 10, 2019 21:02 |
|
power botton posted:all languages are impossible to make clean and coherent programs in
|
# ? Jun 10, 2019 21:05 |
|
thats why APL/J/K are the only good languages. hating the programmers using it is built into the core identity. reviewing anyones code you think its an pile of garbage shat onto a screen, so instead of layers of leaky abstractions just type bullshit like thiscode:
|
# ? Jun 10, 2019 21:12 |
|
echinopsis posted:lol semicolons are time consuming get real they let you know when that bit of code's over. like a little breather for the code
|
# ? Jun 10, 2019 22:04 |
|
precious loving compilers lack confidence at accepting the end of the line means end of instruction 🙄🙄
|
# ? Jun 10, 2019 23:02 |
|
Precious compilers barfing over whitespace
|
# ? Jun 11, 2019 02:28 |
|
check out this guy over white privileged
|
# ? Jun 11, 2019 03:59 |
|
https://www.reddit.com/r/learnprogr..._medium=ios_app automate the boring stuff online course is free to sign up to this week for lifetime access are you a bad enough dude
|
# ? Jun 11, 2019 04:15 |
|
echinopsis posted:check out this guy over white privileged
|
# ? Jun 11, 2019 04:33 |
|
|
# ? Jun 11, 2019 05:44 |
|
power botton posted:maybe its a clusterfuck because youre still figuring out and prototyping, and not because python is bad (it isnt) yes? I mean there’s a reason I choose python for the prototyping. but there’s also a reason I don’t choose python for the production version. it’s easy to write bad code fast in python, but it doesn’t provide many tools for writing good code slowly.
|
# ? Jun 11, 2019 10:44 |
|
power botton posted:thats why APL/J/K are the only good languages. hating the programmers using it is built into the core identity. reviewing anyones code you think its an pile of garbage shat onto a screen, so instead of layers of leaky abstractions just type bullshit like this k/q is actually pretty great for understanding an unfamiliar and even messy codebase. there are a lot of operators, but it is a fixed and powerful set (so once you've learned them you're pretty much set), the type system is very simple (not strong, but the language pushes you pretty heavily towards homogeneous collections, often tables with descriptive names and proper typing, which causes very few surprises), and the abstractions are few and can only really be used in one way. pretty much you can pretty much look at a line and get a fairly good idea what goes in and comes out. and this touches upon my experience where python actually falls down: codebases tend to grow masses of options, leaky abstractions, and hard to track statefulness very easily. i figure one can probably build big projects in python if one was to enforce a pretty strict code standard, but that is contrary to the way most people use python.
|
# ? Jun 11, 2019 11:54 |
|
Cybernetic Vermin posted:k/q is actually pretty great for understanding an unfamiliar and even messy codebase. there are a lot of operators, but it is a fixed and powerful set (so once you've learned them you're pretty much set), the type system is very simple (not strong, but the language pushes you pretty heavily towards homogeneous collections, often tables with descriptive names and proper typing, which causes very few surprises), and the abstractions are few and can only really be used in one way. q looks on every metric as though it should be terrible but somehow manages to be good. i think it's like you say that it encourages you to structure your data properly, and code acting on data is then pretty straightforward to read once you get past the weird (but simple!) rules like right to left evaluation.
|
# ? Jun 11, 2019 13:20 |
|
|
# ? Apr 29, 2024 03:40 |
|
"Automate the Boring Stuff with Python Programming" course on Udemy is free with coupon code SCHOOLS_OUT2 https://www.udemy.com/automate/?couponCode=SCHOOLS_OUT2
|
# ? Jun 13, 2019 03:04 |