Post number #951775, ID: 03ffe3
|
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.
Post number #951822, ID: 3125b9
|
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.
Post number #951877, ID: 03ffe3
|
>>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?
Post number #951883, ID: aaae18
|
>>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.
Post number #951884, ID: aaae18
|
>>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
Post number #951886, ID: 03ffe3
|
>>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
Post number #951888, ID: aaae18
|
>>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.
Post number #951889, ID: 03ffe3
|
>>951888 hmmm... what about 3d projection. Is there any example on lisp?
Post number #951896, ID: aaae18
|
>>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
Post number #951898, ID: 1a0db6
|
>>951896 so it's not 3d projection.
Post number #951962, ID: c9a61a
|
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?
Post number #951967, ID: 964f97
|
>>951898 i’m not really sure what you’re asking for, could you be more specific?
Post number #951968, ID: 964f97
|
>>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.
Post number #952000, ID: 72d2a2
|
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
Post number #952039, ID: 81aa29
|
>>951967>>951968 i m stuck in one issue only. The rest are at least, less harder.
Post number #952041, ID: 739cae
|
>>951775 if is kiddy, you can try lisp or assembly
Post number #952061, ID: 5b1a02
|
>>952041 dont find much example with em...
Post number #952327, ID: 17cc74
|
>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
| 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.