Does the language provide everything for the programmer? Let's say a web developer wants to implement a very specific feature into their website. How would they go about approaching it?
Tom: There is no 'one' language which is capable of doing everything. It's for this reason that we have plugin's, addons, modules, frameworks and API's. Where each language falls short in it's own right, there will be another which can achieve the desired outcome. For websites, the foundation code with functions and operations is managed in HTML while the styling and images are handled by CSS. Furthermore java, flash or activeX are responsible for video playback, downloads and user interaction.
There are lots of sites out there dedicated to making webdesign "code free" essentially creating a UI with drag and drop elements which are adaptive and interpretive with the coding happening 'organically' as the user adjusts their site layout, color and content.
You may have to do research. How does ANYONE do ANYTHING that they've never done before?
How did you, Tom, learn to post a question here — since it appear that you just joined this site?
A good programmer tries to generalize.
So, you can write a program that produces
But instead of using constants, if you use parameters then the same code can produce
The programming language usually provides various libraries to do common things that can be dynamically linked (like Windows DLL files), so you do not have to write everything from scratch. But if you want to do something special, you need to figure out how to do that, possibly making it a function for reuse within the same program or as your own separate library if you want to use it for multiple programs.
Now most people probably use PHP or ASP in Windows for server side dynamic web content. But 20 years ago I did that with perl CGI scripts. Your output needs to be technically correct HTML and follow other HTTP standards.
Programming languages allow the programmer to write custom functions to do things unique to their application.
First you would start by figuring out what kind of input or data you have, what you want to happen to the input or data, and what kind of output or data you want. You would usually plan the logic out on paper before you start coding. Also, coders will pick which programming language to use based on which is best suited for what they are trying to accomplish.
Thanks to all.
How would programmers go about this? "possibly making it a function for reuse within the same program or as your own separate library if you want to use it for multiple programs" I'm very new to programming. How would one go about doing this?
I screwed up and have to retype my answer so I'll keep it short.
– In general: https://en.wikipedia.org/wiki/Transfer_o…
– with respect to your "update": google "Python function" and you will learn how to create Python functions.
If they can't, they are not "programmers"…
read the documentation on the new feature and test it out.