How Could I Know By What Language this Code Or/And Program Is Written? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How Could I Know By What Language this Code Or/And Program Is Written?

5th Jan 2018, 11:15 PM
Nasser Z.
Nasser Z. - avatar
12 Answers
+ 7
looks like php
5th Jan 2018, 11:44 PM
Kamil
Kamil - avatar
+ 11
the syntax or the extension (like .cs for c#)
5th Jan 2018, 11:22 PM
Kamil
Kamil - avatar
+ 10
1) look at the libraries that are imported 2) look at the main function (is there even one) 3) are there semicolons? look at the capitalization for example c# vs java in c# almost everything starts with a capitalised letter, in java only classes 4) look at the input and output 5) are there data types or only the keyword var? 6) is there any weird syntax (like the $ sign for variables like in php) 7) do you see references and pointers? 8) are there brackets? {}
5th Jan 2018, 11:27 PM
Kamil
Kamil - avatar
+ 10
I don't think this code is correct obviously I don't know all languages my guess would be it's a piece of code that only works with a specific api/framework IMO the closest would be javascript because of alert and the object notation but it would produce a lot of errors
5th Jan 2018, 11:38 PM
Kamil
Kamil - avatar
+ 9
whooot? that is the code?
5th Jan 2018, 11:34 PM
Kamil
Kamil - avatar
+ 1
i remember a website that tells you in what language the code or program is written, but i forgot it, now. thanks Kamil... for Participating i learned programming long time ago... but i kept away from using.. busy with something else. and i am returning back online couple of days ago.
5th Jan 2018, 11:53 PM
Nasser Z.
Nasser Z. - avatar
0
it's written.. (script) only.
5th Jan 2018, 11:23 PM
Nasser Z.
Nasser Z. - avatar
0
that's it alert tcp 🇴🇲 any -> 🇦🇪 any (flags:GulfCup ; ack: 5/4; time: 5/1/2018; msg: "Oman🇴🇲 is the Champions Of Gulf Cup 23";)
5th Jan 2018, 11:32 PM
Nasser Z.
Nasser Z. - avatar
0
yes
5th Jan 2018, 11:34 PM
Nasser Z.
Nasser Z. - avatar
0
i am gonna get you another one
5th Jan 2018, 11:39 PM
Nasser Z.
Nasser Z. - avatar
0
$winner = GulfCup::findOrFail(23)->name; echo $winner; ------------------------- - - - #Oman - - - -------------------------
5th Jan 2018, 11:44 PM
Nasser Z.
Nasser Z. - avatar
0
yes it is.
5th Jan 2018, 11:49 PM
Nasser Z.
Nasser Z. - avatar