Programming Languages-Other

19K

Solutions

19K

Contributors

A programming language is a formal constructed language designed to communicate instructions to a machine, particularly a computer. Thousands of different programming languages have been created, mainly in the computer field, and many more still are being created every year. The description of a programming language is usually split into the two components of syntax (form) and semantics (meaning). Some languages are defined by a specification document (for example, the C programming language is specified by an ISO Standard), while other languages (such as Perl) have a dominant implementation that is treated as a reference. Some languages have both, with the basic language defined by a standard and extensions taken from the dominant implementation being common.

Share tech news, updates, or what's on your mind.

Sign up to Post

FlightsDestination.valueOf("price")


i was wondering how valueOf() method there on a custom objet
i thought it is just method on String class
https://study.com/academy/lesson/how-to-convert-int-to-string-in-java-valueof-method.html

does take string as input parameter like below
FlightsDestination.valueOf("price")

or
FlightsDestination.valueOf(price)

or

FlightsDestination.valueOf("400")

or
FlightsDestination.valueOf(400)



please advise
0
How to compare a String in scala against a constant value?

def desks(sorted:Boolean, includeNtf:Boolean) = {

    val output = for {
        desk <- TableQuery[Desks] if(includeNtf && desk.test === Some("Y"))
    }

I want to set "desk" to only the records in TableQuery[Desks] that have test="Y"

test is type String

This does not work with various errors... desk.test === Some("Y")

I have never touched scala code before.

Thanks
0
restfu get and post example


https://www.mkyong.com/webservices/jax-rs/restfull-java-client-with-java-net-url/
i am trying above example in eclipse.

I am not sure what all jars needed and what set up is needed to see that outputs

Please advise
0
Return Keyword in Javascript function.
I have the code below that runs and gets the results as expected:
var person = function(name,age,state){
var temp={};
	temp.name = name;
	temp.age = age;
	temp.state = state;

temp.printperson=function(){
	document.write(this.name);
};
[b]return[/b] temp;
};

var person1=person('Omar','25','CS');

person1.printperson();

Open in new window


I would like to know what the keyword "return" does in the code above.

Thank you
0
Desktop Vs Web Application

I would like to know if Nowadays there is any difference between Desktop Application and Web Application, seeing that you can make web application do what classic Desktop application does. I mean you can create forms on the Browser, validate data, connect to the database and  modify/ add  /fetch data, and present it to end user. The good thing about it, you do not need to install the client application on the end user's desktop, user can just open the browser and go to the link you provided them.

I could be wrong though.
Any insights will be considered

Thanks
1
JavaScript Web Developer foundation Skills.

I would like to learn Web development (Front End/Back End) using JavaScript, however after reading online the skills that goes with JavaScript developer are numerous..
Initially I Thought you will have to know:
for Front End Development
HTML
CSS
JavaScript

for Back End Development
JavaScript
NodeJs

However, when reading online, they mention : Jquery ,Angular,Bootstrap,Json,AJAX , probably more than that....

What I would like to know is what are the main areas I should focus in learning to become either Front/Back end Developer

Thank you,
0
Is SOLID Outdated?

What are more modern definitions/terms for design principles for OOP?

Thanks
1
object aid

when i try to add object aid uml plugin worked on one laptop

other laptop
when i gave the name

Name as Object Aid UML Explorer
Location http://objectaid.com/update/current

from eclipse-->help->install new softwares


getting below error

Unable to read repository at http://objectaid.com/update/current/content.xml.
Unable to read repository at http://objectaid.com/update/current/content.xml.
Malformed reply from SOCKS server


please advise
0
GUI Language for user input and Database programming.

I would like to know , which programming language nowadays is good to use for Database programming using GUI ,Visual Drag and Drop components, that have event handlers, and visual Data Object that connects you to the Database.
If I remember well in VB, a programmer will use a Form, then drag and drop Data Object widget that will connect the Application to the Database, then drag and drop other widgets such as , Textbox,Buttons,Drop down arrow to select an object from the list, also List box, Check box, radio button.....etc.... these mentioned components all have their properties and Event in a visual panel, where you can change their properties and select what Event you want to associate with the component.
The only thing a programmer left to do  is to write a code for the specific event that is chosen for the specific component.

I have looked at Python, as it is advertised as an easy language and you can do a lot with it. But I did not like at all the way it uses GUI (Tkinter,PyQT,etc...) , as the programmer has to write a code to produce the widget, the size and the placement of it in the main window.  which can be a lot of waste of time.

I have not looked at Java JDBC to see if it has a GUI like VB.
It is like you cannot find a programming language good for everything ( Web and Desktop Apps). JavaScipt is said to be better than other languages in Web Dev, but not great at Desk Apps for database Dev

Any …
0
when we go to eclipse market place vs when we go
install new software option under eclise-->help

please advise
0
objectaid ul plugin now working

i went to eclipse -->help--->install new software

then i put url
http://www.objectaid.net/update
it brings windwo with saying
Add Repository
with 3 text boxes
Name
Location
not sure what to give above text boxes
after some times says
it says coulld find
http://www.objectaid.net/update

please advise
0
JavaScript,PHP,Python, XML

I have read that JavaScript is Front End, but what does that mean in a development standpoint?.  Does the Developer change the Webpages in an automation way on the web server?
I am not sure how Javascript is used in the business world ,whether it is installed on the Server(windows server or Linux) or on a workstation( windows 7)
Let's say we have Javascript installed on Windows Server , then web server is installed on the same box(windows server), then JS will automate the web pages that got generated in the web server. is that the Front End

Back End, probably they mean the Program language used such as PHP or Python or Java, will use  the Web Server as well as the Database( MSSQL,MySQL,SQLLITE.etc...)

I threw in this question XML, because I am not sure if it gets created automatically or a developer has to manually write it like he/she will write HTML

Thank you
0
Python forms for Database programming.

In other programming languages, programmers use forms to drop labels, buttons, textboxes, drop down arrows,etc....they also create links to the database from the form.
programmers will write code for the Events created, for instance when user click on a button, or tabs to another textbox,etc....
I wonder what type of forms that Python use to achieve similar goal.

Thank you
0
Hi

Best way to download email body from MS exchange to text file, in an automated fashion?

Thanks
0
web applications vs. custom desktop software.  These are the two scenarios that I am posed with in designing an attendance/registration system for our organization.  Are there disadvantages to web application vs. a desktop software.  I imagine there is more power in the coding aspect of most programs compared to web application development.  I know its an abstract question, but I wanted to see what the experts have to say on this subject.   Is there really no difference?  The application I will need to design will register individuals, take their daily attendance, and then output statistics.  Also any ideas on how to best develop such a program may be appreciate.
0
Python Class classname (Object)

I have the codes below if I declare the class Car(object) or just class Car, I get the same result. I am not sure what the keyword (Object) is for.

Thanks


class Car:

    wheels = 4

    def __init__(self, make, model):
        self.make = make
        self.model = model

mustang = Car('Ford', 'Mustang')
print (mustang.wheels)
# 4
print (Car.wheels)
# 4
0
Design Pattern for object oriented design question...

What is that 5 letter word that has 5 OOP Design Patterns in that one word?

Once I hear the word, I will recall the 5 patterns.

"S," is Single Responsibility..

Thanks.
0
Python is Interpreter or Compiler based language

I have read that Python is an Interpreter based language. Does that mean it can be slow to render the results when it is run ?

Thank you
0
Java usage vs Javascript usage.

If I undestand:

--- knowing Java  you can develop Applications that interacts with Databases. I am not sure knowing Java by itself if you can develop Dynamic Web Applications that interacts with Databases and fetch the results.( I mean probably you will have to learn other languages too, such as HTML, JSS,etc..)

---knowing Javascript what kind of advantage you get over know just Java ? I believe JavaScripts also interacts with Databases on the server and fetch the result and render the result to end user via the browser.

so it sounds to me, Java can be used for Non Web Application. JavaScript for Web Application.

If that's the case it sounds to me that knowing Java Scripts is more useful that knowing Java, Web Apps are much more in demand.


Any Expert to shade some lights on that?

Thank you
0
Abstract Class in Java

abstract class Animal{
   //abstract method
   public abstract void sound();
}
//Dog class extends Animal class
public class Dog extends Animal{

   public void sound(){
      System.out.println("Woof");
   }
   public static void main(String args[]){
      Animal obj = new Dog();
      obj.sound();
   }
}


in the Example above, I thought you cannot create and Object from from an Abstract Class, as it is done here:
Animal obj = new Dog();

**Unless I missunderstood the term:
Abstract classes cannot be instantiated

Can someone Help Explain it ?

Thank you
0
hi,



I am not clear on producer extends vs consumer super​ for generics



usually in ejb jms mdb world

if some one says consumer means who consumes messages which producer puts in queue right



But here concept seems reverse

producer extends

can read but cannot add
 consumer super​​
can add but cannot read to list?


please advise
0
why String is an Object but Collection<String> is not a Collection<Object> with respect to unbounded wildcards of java generics

Please advise
0
How to Add MIME type like .json  type in iis by installer.
0
spring boot security

how SimplePasswordValidationCallbackHandler dfferent from other implementatons like
SpringCertificateValidationCallbackHandler

SpringDigestPasswordValidationCallbackHandler


what is meaning of call back handler

Please advise
0
<wsdl:portType name="CoursePort">...</wsdl:portType>
<wsdl:binding name="CoursePortSoap11" type="tns:CoursePort">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="GetAllCourseDetails">


Similar to above SOAP over http


any examples on below

<wsdl:portType name="CoursePort">...</wsdl:portType>
<wsdl:binding name="CoursePortSoap11" type="tns:CoursePort">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/mq"/>
<wsdl:operation name="GetAllCourseDetails">


basically i am looking for examples on soap over mq not soap over http
what are advantages, disadvantages, practical uses of SOAP over MQ vs SOAP over http
Please advise
0

Programming Languages-Other

19K

Solutions

19K

Contributors

A programming language is a formal constructed language designed to communicate instructions to a machine, particularly a computer. Thousands of different programming languages have been created, mainly in the computer field, and many more still are being created every year. The description of a programming language is usually split into the two components of syntax (form) and semantics (meaning). Some languages are defined by a specification document (for example, the C programming language is specified by an ISO Standard), while other languages (such as Perl) have a dominant implementation that is treated as a reference. Some languages have both, with the basic language defined by a standard and extensions taken from the dominant implementation being common.