So if all programming languages have things like If, While, variables, methods, etc what's the difference between all of them? Can I really jump in say an hour to Ruby if I know Java already? Like all I have to do is read the doc syntax for that stuff or is there something else I'm missing.
Nothing Ever Happens Shirt $21.68 |
Tip Your Landlord Shirt $21.68 |
Nothing Ever Happens Shirt $21.68 |
Different languages will be structured differently, will perform differently, and will have different use cases. So no, spending an hour in an object-oriented programming language will do you no good in others that aren't like it.
Now show me if those dolls are anatomically-accurate.
Where can I buy one of those dolls? I know they are expensive but I want one.
Thanks
Sex
Eyes turned out well. Good job, anon!
Based doll enjoyer.
your question is moronic but the doll is so cute that i will answer:
different programming languages emphasize different paradigms and have different performance characteristics
for example, java is all about having everything be an object allocated on the heap and having the garbage collector take care of it all. but it can also have pretty good performance when only operating on primitive value types thanks to its sophisticated runtimes (HostSpot JVM and JIT are really good)
JS is all about having everything be dynamically and weakly typed, so you can sometimes treat an int like a string, etc. it's also the native language for client-side web.
C is all about having low-level access to memory and getting near-optimal performance
golang is about easy concurrency and simple code that has decent performance
and so forth
So I could jump from languages that share paradigm to another easier
Like JS to Python or Java to C#, something like that?
yes that is roughly correct. though python is strongly typed as opposed to JS, but both are dynamically typed.
why no more dolls? 🙁
thank you
so cute!!
Was the binkie necessary?
Yes
she has to make a call
>JS to Python
anon is moronic and doesnt understand what a paradigm is for these language
moving from a functional paradigm like python to async paradigm to JS (and viceversa) is tough
functional to object oriented paradigm is slightly easier but can be annoying
things gets even more moronic with C++ and its shitty templates. dont get me started on rust
In my mind paradigm was if variables had to be declared or something. Thanks
And Forth? Go on. What is Forth about?
>having everything be an object allocated on the heap and having the garbage collector take care of it all
Thanks for letting me know I should avoid durgasoft language and continue to learn more about C++
What's the difference in c++
c++ is similar to C in that it is uses manual memory management (it is a superset of C). some c++ users advocate for using RAII, which sounds complicated but in reality just means that the thing gets freed when it goes out of scope. this makes memory management in c++ deterministic and predictable.
>some c++ users advocate for using RAII
this is a statement that non-native c++ programmers say which is absolutely silly once you do get into c++
RAII is one of the central tenets of programming in c++, you can't opt out
it's like saying "some python users advocate for using dynamic typing", just sounds silly
i have written like a hundred thousand lines of code in c++ in total
i only used "modern" c++ with STL, rule-of-five, move semantics etc for like the first two years when i was still learning the language
some people don't use raii, you can get mad at it and cry that "it's not real C++" but it doesn't change the fact that i use a c++ compiler to compile my c++ translation units that use some c++ features.
>you can't opt out
watch me. codebase im working on right now has zero raii in it.
to add to what other anons already mentioned about languages themselves, there will be differences in what libraries (standard as well as third-party) you have available
also specific practices are considered good in one language will be considered grave sins in others
honestly these posts really make me want to get into this
like, they just look so cute and i bet it's so much fun dressing them up and stuff!!
And jacking off in front of them!
yes buy the doll
unless you want to frick them have a kid instead
A kid needs way much work and money
people in third world countries manage to do it so you could too
they do it to an insanely low standard
low bar= higher success
>drugs
>third world
you're thinking of second world countries like russia
the third world countries have ~~*community*~~ support. When you say 'third world' i think europe as a whole.
>daughters are drugged up bawds
>sons are drugged up failures
>America out of absolutely nowhere
obsessed
cute dollies
I came into this thread because Dolls.
I want to come into dolls
I am willing to invest my time and efforts into obtaining one such doll to then shoot my seed inside it.
I came in the dolls
pat pat kiss kiss
They in fact do not all have that.
Basically all procedural languages are the roughly the same. There are different classes of programming languages that tend to be much different than other classes (functional, procedural, declarative, etc.). The distinguishing differences between languages are aspects like the memory management strategy, idioms, metaprogramming features, type system, etc. The fundamental logic of programming is the same across languages.
Any good books on programming paradigms or w/e I'm a codemonkey