• Some users have recently had their accounts hijacked. It seems that the now defunct EVGA forums might have compromised your password there and seems many are using the same PW here. We would suggest you UPDATE YOUR PASSWORD and TURN ON 2FA for your account here to further secure it. None of the compromised accounts had 2FA turned on.
    Once you have enabled 2FA, your account will be updated soon to show a badge, letting other members know that you use 2FA to protect your account. This should be beneficial for everyone that uses FSFT.

Which programming language should I learn?

I don't know what greater_less_equal_5(3) does because they said not to worry about because I haven't gotten that far :rolleyes:
They said exactly the opposite -- they said that your function is returning the wrong result for the input value of 3. Why are you rolling your eyes?
 
I have a question related to this topic.

I currently know Perl and a little of Ruby. I really like Perl, and probably some of that is because Perl is a "lazy" language that lets me get away with stuff that I probably shouldn't.

However, here is my problem. I am getting to the point that people at work are starting to ask me to develop small programs fro them to process various data sets. I also like that it moves between LInux and Windows very easily. But what I don't like about Perl is that the user has to install the compiler to run it. So this puts a lot of effort on the end user.

I would like to be able to learn a language that I can easily make executables (or rather self contained programs) from. So far the Perl 2 Binary programs I have tried cannot even consistently execute my test scenarios. I know C++ is a powerful language and can easily create OS agnostic executables. But I wouldn't mind being able to stay with the high level languages. I looked at Java, and although most people do have Java Run Time installed on Windows, its not guaranteed on the Linux systems we have here. Python looks to have the capability if you stay in the 2.x version, but again not sure. And it sounds like it still has potential for problems when trying to compile a scripting language as opposed to native compiling language. And C#, I'm not sure if that is Linux compatible.

So is C++ the only (popular) OS agnostic language that can consistently be compiled into executable binaries?

Languages themselves aren’t generally OS/platform specific (implementations of them can be).

C/C++ is probably the most commonly encountered natively compiled language, and if you statically link your libraries can deliver self-contained executables. If you’re careful with which libraries you use and how you write your code, C/C++ code can be recompiled for different platforms.

That binary executable package certainly won’t be OS-agnostic however.

You can use C# on Linux via Mono, but you’re not likely to find the RTE pre-installed.

Go is interesting academically, but even Google don’t seem to use it for anything terribly substantive. While it has interesting design goals, in its current evolution is causes at least as many issues as it purports to address – including deployment and library usage annoyances.

If the individual programs you’re being asked to write are not different for every user then PTNLs suggestion makes sense. Otherwise you’ll need to either recompile your code for each OS or deal with installing some kind of RTE.
 
They said exactly the opposite -- they said that your function is returning the wrong result for the input value of 3. Why are you rolling your eyes?

Because I'm confused and annoyed with making amateur mistakes... It's bound to happen. The machine is only doing what I told it to :p

Its going pretty well though, I've progressed to importing modules.
 
Last edited:
The languages you will need to know/use will vary based on the type of programming you do.

Embedded/OS/Drivers: C
Application development: C++/C#/Java
Scripting: Python/Haskell

For developing a Windows application where performance isn't a major factor, I find I'm most productive with MSVS+C#. If I care about the performance though, I go C++. I dislike Java due to both the performance hit of the JVM, and the fact C# is a stronger language, though you'll likely be exposed to it at some point.

Note that if you learn the concepts, learning the different languages should be simple.
 
The languages you will need to know/use will vary based on the type of programming you do.

Embedded/OS/Drivers: C
Application development: C++/C#/Java
Scripting: Python/Haskell

For developing a Windows application where performance isn't a major factor, I find I'm most productive with MSVS+C#. If I care about the performance though, I go C++. I dislike Java due to both the performance hit of the JVM, and the fact C# is a stronger language, though you'll likely be exposed to it at some point.

Note that if you learn the concepts, learning the different languages should be simple.

This is pretty much exactly what I said
 
Back
Top