danger/u/
This thread is permanently archived
Studying programming

| Need some examples to study buncho programming languages

I have c++ book but it seems like a kiddy entry.

Also i wanna know the more popular ones.


| Start with one programming language, master it, and then move on to others. It’s not like human language: when you know one, you sorta know them all (with the exception of the different syntax and standard libraries between languages). C++ is far from a kiddy language, and if you have a book for it I’d say go ahead and study it, but I wouldn’t really recommend C++ to a beginner. Go for Java or Python. Pick one and don’t stop until you can read, manipulate, and write files with it.


| >>951822 i think i "sorta know" c++ and what i will be doin with it. Is that enough? Like knowing how to write tetris on c++ means i know how it will do in lisp right? Which yeah, i kinda know butis that it?


| >>951877 Lisp is sorta an exception I guess because it works very differently to a lot of other languages. like if you can do something in c++ you can probably do it in any other C-like language with a bit of effort, they all expect you to think in the same way when solving problems -- but learning to do the same thing in a lispy language would take a big shift in thinking.


| >>951883 adding on to that, if you want to get familiar with a bunch of different languages, imo the best way is to pick a project like implementing tetris, and do it in each language you want to know. it gives you a good sense for the differences between them and also the general principles that are the same between all of them


| >>951883 >>951884 hmm i guess that s all isnt it.

Though i never seen 3d projection in lisp ever... it's hard to not know how without a good reference.


But in general, i guess a "language" is but verb-nouns-adjectives-so on, right?
It's just that the delivery may be more complicated or different... but nevertheless it explains, a space of something.

Otherwise honestly, whats the better exercise then


| >>951886 yeah graphics gets weird, so I'd recommend an exercise that only deals with console I/O or file I/O, since every programming language has to have those built in

it could be something like reading from a file and then outputting an encoded version, or counting all the occurrences of a letter in a file, or just adding up numbers that the user enters on the console. whatever sounds fun for you -- it doesn't have to be super complex to get you a feel for the language.


| >>951888 hmmm... what about 3d projection. Is there any example on lisp?


| >>951889 your best bet is probably to use Clojure (a popular lisp dialect that can interoperate with Java) in combination with the LWJGL for drawing graphics -- and it looks like this repo has examples for the common setup to get them working together: https://github.com/rogerallen/hello_lwjgl


| >>951896 so it's not 3d projection.


| Separate question from OP but let's say I was interested in making a bot to play Touhou in Python
I have a rough idea of how it'll work in my head. Calculating the trajectory and spacing of bullet hitboxes and navigating whatever empty space it detects. How familiar should I be with Math/AI in Python before tackling this project?


| >>951898 i’m not really sure what you’re asking for, could you be more specific?


| >>951962 Start working on your project. By the time your project is complete, you will be as familiar as you need to be with all the skills required.


| I like writing a super basic irc bot in whatever language I'm learning as far as basic projects go has a bit of networking, file io, and string manipulation


| >>951967 >>951968 i m stuck in one issue only. The rest are at least, less harder.


| >>951775 if is kiddy, you can try lisp or assembly


| >>952041 dont find much example with em...


| >C++ book
>kiddy entry
Oh yeah this thread is definitely trolling.

Total number of posts: 18, last modified on: Sat Jan 1 00:00:00 1681957476

This thread is permanently archived