[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: Python-logo-notext.svg.png (89 KB, 1280x1280)
89 KB PNG
>took python class a year ago
>spend the previous year slacking off, playing games
>i've forgotten everything i've learned
>can't even remember if it's print or printf.
>just know it's either of the two
>>
File: python_print_or_f.png (25 KB, 913x274)
25 KB PNG
>>108891969
Only one way to make sure ig
>>
>>108891969
so just try one and if its wrong use the other. its not like you cant iterate
>>
>took python class a year ago
>spend the previous year slacking off, playing games
>i've forgotten everything i've learned
>all i know is that python is a snake
>>
>>108891969
ngmi
>>
>>108891969
>learning to code in the post-GPT era
Lol.
>>
>>108891969
In my personal experience it's actually more efficient to learn all by yourself than taking a class.
And this happens specifically for python to me, classes make other stuff easier, but for python? It feels like a gigantic waste of time.
>>
>>108892950
KYS FAGGOT
>>
>>108892950
>Hurr don't learn anything, learning is bad for you! The cult demands you be dumb, 'cuz that's GOOD!
>>
>>108891969
i've learned this dogshit language like 8 times now.
every time i need it, i learn it, and once my task is done it leaks back out of my head.
it doesn't help that each time more crap is piled onto this heap.
i'm saying this as a programmer that has done things most pyfag normies can't even begin to get into (e.g. programming against the C interface, using the async library, embedding it in applications, developing blender addons, hell even setting up the environment)
christ i hate this gay ass language.
give me C any time any day over python.
>>
>>108891969
You can Google the syntax nigger. You can program in just about any language as long as you have a decent grasp on program flow, data structures, and algorithms.
>>
>>108893302
>You can program in just about any language
poorly
i think it's funny that every single normie language suffers from a GIL
>>
>>108893374
from a language design pov, python is liquid shit and javascript is burning liquid shit
>>
>>108892950
They need all hands on deck to fix the pajeetcode
>>
>>108893391
>LoOk HoW SiMpLe iT iS To PrInT ThInGs!!
i guess that's why python has like 3 different competing and/or deprecated ways to print things
also the f stands for format, dipshit
>>
>>108893402
baby duck goes quack quack quack
if i'm doing systems programming, i'm doing it in C because that's what the API is in
>>
>>108893424
t. no codes
>>
>>108893402
Python is a mediocre language full of stupid idiosyncrasies. No encapsulation/private in a fucking OO language, no consts, SINGLE LINE LAMBDAS, the GIL, etc etc. The tooling is god awful, every major language update breaks things so you need to futz with venvs. It's very clunky to use for simple scripts but a terrible choice for complex projects.
>>
>>108893443
sounds like a (You) problem, kiddo
>>
>>108893402
>Forces indentation
>Private / public attributes and methods are your personal responsibility mate
>Allows you to read from global variables, but when you try to write it you need to announce it global otherwise it creates a new local variable
>Copy code from somewhere in any other language, use beautifier to fix indentation but not so in Python since whitespaces define blocks, IDE can't know where your code goes
>Have to scroll the whole script for debugging
>Ecosystem where minor changes break the entire dependency tree
>>
>>108893443
hate to break it to you anon, but python is not a shell
if you are doing system admin using python, you are fundamentally misusing your tools
>>
>>108893510
keep on rationalizing why your baby duck language solves everything elegantly and there is almost no reason to use anything else unless for highly specific niche use cases
>>
Syntax is the lowest form of pajeet reasoning but if you need it just Google learn x in y minutes but remember, you won't get far without training your algorithmic thinking, like yeah good job you now know the syntax and but how can you glue LOC together in order to produce a fully functioning program?
That's right, algorithmic thinking.
Then you can choose platforms such as Code Wars, Project Euler and Leetcode.
>>
>>108893500
Yeah start with Python, then switch to C - or vice versa. Best to know both worlds.
>>
Whitespaces, beyond single space characters, shouldn't be part of any syntax. EOD
>>
File: python_hurt.png (71 KB, 500x494)
71 KB PNG
>>108893547
>>
File: 1759753163177018.jpg (38 KB, 512x411)
38 KB JPG
I use console.log();
>>
>>108893330
he's right and your a tard
>>
>>108893553
>Python beautifies itself.
The exact opposite, retard. It can't beautify itself because it doesn't know where you wanted the block to start and end. With brackets a simple parser with rules can beautify it. Python doesn't.
>No you don't.
>t. no code
Yes you do. If you ever worked on a project greater than a quick-and-dirty script.
>CTRL-F and grep
neither is able to explain context, retard
>>
>>108891969
when youre a beginner syntax specifics seem very important, but theyre really not. just continue learning and eventually you'll focus more on concepts
>>
>>108893568
>Quit splitting hairs
i'm not splitting hairs
if you fail to understand the difference between a shell and python's interactive mode, that's a PEBKAC issue that leads to enshitification. don't like bash? use zsh, csh, or any of the other standard shells (e.g. not shit like fish)
>>
>>108893235
>i'm saying this as a programmer that has done things most pyfag normies can't even begin to get into (e.g. programming against the C interface, using the async library, embedding it in applications,
maybe if you use python proper instead of the archaic mess that is c extensions you would have a better time remembering
>>
>>108893604
>That's what i meant by shell. Python runs really good in a shell.
holy shit, this jeet is retarded. this is what python does to your brain.
>>
>>108893432
>No encapsulation/private
what
python has both of those
>>
>>108893615
you are insane if you prefer to use bash if you have to do non-trivial iteration over directory trees and string processing
>>
>>108893645
>he deleted his comment out of shame
humility is the first step towards enlightenment
humiliation not so much
>>
>>108893665
what
you are talking to several people
>>
File: echos_of_a_thought.png (23 KB, 899x207)
23 KB PNG
>>
>>108893432
i dont even
>>
>>108893604
>Yes it can, seems like someone is bad at grepping.
Grep is a search along an expression, not a semantic analyzer. Stop pretending



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.