[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / 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.png (57 KB, 800x600)
57 KB
57 KB PNG
>Python is too hard
>Scratch is too simple
what do?
>>
>>107819253
C
>>
>>107819253
unironically makecode is good
>>
>>107819253
FreeBASIC
>>
>>107819253
Javascript.
>>
scratch is actually pretty decent for learning the basic principles of programming, if you want something more interesting use Snap!
python has some really retarded syntax and it's kinda obselete by now at this point, just use go and then move up to C for "real" programming
>>
>>107819259
this
>>
>>107819259
>>107819301
scratch is superior than C
we studied it at MIT and made several computing breakthrough: https://scratch.mit.edu/
unfortunately its not popular because people think this is for children only but we managed to replace core server infrastructure legacy code for some big companies using it
>>
File: 1703663118168505.jpg (32 KB, 500x370)
32 KB
32 KB JPG
>>107819253
>>Python is too hard
Are you literally, diagnosably retarded?
>>
>>107819253
if you can't learn python, you should give up on programming entirely. it's about as easy as it gets for a language that people actually use.
>>
>>107819345
I got 122 IQ test
>>
File: file.png (1001 KB, 637x1078)
1001 KB
1001 KB PNG
>>107819333
>>
>>107819253
Python is EZPZ Japaneasy
>>
>>107819400
You are capable of learning Python then. Literal children write Python.
>>
>>107819253
Speaking of this, what does scratch use? Its own thing?
>>
>>107819409
I understand the programming part but I forgot the syntax %<({)} all that stuff is too confusing to remember I'd prefer if it wasnt there
>>
>>107819345
python is a legit difficult language
you really need a background in data structures at very minimum to understand its design
even then, the language has changed so much over the years, it always goes in one ear and out the other once i'm done with it
i've learned the fucker like 5 times at this point
>>
>>107819434
Sounds like you need to build some muscle memory then.
>>107819447
>you really need a background in data structures at very minimum to understand its design
I don't see how that's different from any other programming language. If anything, I would think Python lets you get away with knowing less since you can use the very strong standard library without knowing what's going on underneath.
What exactly did you mean here?
>>
>>107819505
>Sounds like you need to build some muscle memory then.
I don't need for COBOL.....
>>
>>107819505
>What exactly did you mean here?
e.g. trying to explain why some constructs need to be immutable to a n00b
>>
>>107819531
Go write some COBOL then. You're not required to like Python.
>>107819546
I think you can go a really long way without understanding immutability.
>>
>>107819602
i can teach a kid all the parts of C without any recourse to data structures besides a stack (which is present in any language with function calls), and even talk about how it maps onto assembly if they wanted to understand the compilation and linking process in more depth.
not so with python, even though it's branded as EaSy To LeArN
>>
>>107819621
That's true. I guess if you mean that it's harder to understand what's actually happening then I'll agree to that. Python does a ton of weird stuff under the hood that you would have no reason to expect it's doing.
I think it's very easy to get to a level of understanding where you can write working code though, which is why it has the "easy to learn" reputation.
>>
What if I just want to make a porn game
>>
>>107819253
>what do?
scratch your balls it seems
>>
>>107819758
Don't and say you did.
>>
>>107819253
Learn Go. Python is not hard, it's just a piece of shit language.
>>
>>107819253
use a real language.
>>
>>107819253
>Python is too hard
What about it has you stuck?
>>
You can scratch these nuts
You can python these nuts
You can C these nuts
You can RUST these nuts
>>
File: events.png (123 KB, 1280x416)
123 KB
123 KB PNG
>>107819253
GDevelop
>>
>>107819253
Here's a good set of tutorials for Pygame Zero and Love2d
https://berbasoft.com/simplegametutorials/
>>
>>107819447
As opposed to all of those programming languages you can understand the design of *without* any knowledge of data structures?
>>
Bash?
>>
>>107819293
>python
>obsolete
anon what world you live in?
>>
>>107822363
nobody is enthusiastic about it anymore, pypi is rotting, people go to stuff like go and javascript runtime no #19041 first instead
>>
>>107819422
It used to use Squeak, then used Adobe Flex and now it uses React.
>>
>Python is too hard
What has humanity come to?
>>
>>107822844
Ever heard of "bait"?
>>
logo programming language
>>
>>107819758
Most porn "games" are done in Ren'Py. The little programming that goes into them is Python, but mostly it's just cringe texts written by the mind of a teen (incest is a very popular theme there).
>>
>>107822859
Let's solve the 2-sum problem. Given an array `nums` find the indices of 2 numbers adding up to `target`.
In Python is:
def two_sum(nums, target):
seen = {}
for i, num in enumerate(nums):
if (need := target - num) in seen:
return [seen[need], i]
seen[num] = i

In Logo is:
to twosum :nums :target
make "i 0
make "seen []
while [:i < count :nums] [
make "num item (:i + 1) :nums
make "need :target - :num
if memberp :need :seen [
make "j position :need :seen
output (list (:j - 1) :i)
]
make "seen lput :num :seen
make "i :i + 1
]
end

Now maybe I'm used to Python, but looks simpler to me even though it uses more abstractions (enumerate, dict).
>>
>>107822828
https://www.tiobe.com/tiobe-index/
bye



[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.