29
R-C-D
6y

What is your favorite programming language and why?

Comments
  • 9
    C#
    Easier to setup than java,
    Exelent IDE (at least for me)
    Great integration with windows
    A lot of libraies for everythin in NuGet (C# npm but better)
  • 1
    @Gregozor2121 no problem with closed source?
  • 0
    @R1100
    Wut do you mean?
  • 1
    @Gregozor2121 well you might want to see the code of the language.
  • 6
    When I first started programming, I was in love with C++. These days I find myself narrowing my eyes at every framework, language, etc, for one reason or another (too much bloat, to many variations, doesn't do what I need, etc).

    Friend of mine told me as I ranted about languages, etc, that I should just give up and go deeper and just do machine code.. get back to the basics.
  • 1
    @lovesudo you code assembly for creating applications?
    That is awesome man !
  • 1
    @R1100 I wish! I'm actually just a web dev person. I know several who do hardware dev, but I like to rant like the old person I am. ;)
  • 1
    @lovesudo is it practical to code with assembly?
    Doesn't it take a very long time?
  • 2
    @R1100 Based on what my friends have told me, there are actually several IDEs that make it relatively "easy". Though practical is more a matter of what you're working on. As an example, a friend does the code work for devices that control parts of huge ships, like the engine, the tanks, the propellers and turning parts. In that case they have to get really nitty gritty as they have incredibly limited hardware devices. Another friend just likes to push hardware to where they can, and thus they have a mixture of machine code, and other bits and bobs.
  • 2
    @R1100
    I dont care, it works it is enough.
    It is fast in comparason to other launguages that i used before i dont care about anything else.

    Ok you can see the code that java is based on, but are you even going to use that knowlege?
    The same argument works with C, C++ and other launguages
  • 1
    @Gregozor2121 just a bit of curiousity , bo actual use
  • 0
    @lovesudo cool man !
    Mixing different machine codes sounds awesome!
    Any reference you would recommand for that?
    (I worked with intel x86/64 but I'm curious about AMD or ARM priccessors)
  • 1
    @R1100 Let me hit up my friends and get that info for you. Every they tell me I say, "I'll remember this!" and then I totally forget. >.>
  • 1
    @lovesudo thanks 😁
  • 1
    @R1100 Righteo, so one friend uses Structured text as it is under the IEC 61131-3 standard. As they do PLC programming, their IDEs tend to be provided by the PLC manufacturer as the compilers are not available outside the software. Though PC WORX is one of the tools used to do the modifications. I'm hoping to here back from my other friend, but he's insanely busy.
  • 1
    @R1100 Oh! And to make it even more fun, each manufacturer of the PLC equipment likes do their own variation of structured text. So .. if you have to deal with multiple different types of equipment.. well joy!

    See! We're back to my complaint and narrowed eyes at variations, and things.
  • 2
    Bash for utils

    Java for applications

    C for hi-perf simple utils

    Py for playing around with OS API (no need to compile -> saves time; hate the syntax tho)
  • 2
    C. I can go so close to the machine that it's nearly assembly, but still portable. The language model is nice and compact (unlike C++). Compilers for everything including microcontrollers. Proper language standards cross-platform and cross-compiler (unlike Pascal).
  • 1
    Ocaml, because fast and good for crypto and data
    Java, because easy to make applications
  • 0
    @ganjaman can you explain more about ocaml?
  • 0
    @netikras don't you prefare c for os api?
  • 0
    @lovesudo as different microes have diffetent architecture,can i still run one code for all of them using one IDE?
  • 1
    @R1100 Let me check in on that and get back to you.
  • 0
    @lovesudo I'll be waiting 😀
  • 1
    @R1100 Based on what my friend just told me for the PLC world yes.. and no. Seems most modern PLC IDEs have export to standard format features, but you have to use the right IED in most cases to be able to transfer software and debug. So... kind of is the best answer.
  • 0
    @lovesudo so great!
    What is the common IDE for this?
  • 1
    @R1100 Sadly it depends on the manufacturer for the PLC. There's a lot of secrecy. But some use PC WORX for some of the configurations for inputs/outputs.
  • 0
    @lovesudo is PC WORX used for indusrial purposes?
    Can I use it to program plcs used in robotic?
  • 1
    @R1100 Based on some of the things I've seen my friend accomplish I think it's possible, but honestly, I am not sure.
  • 1
    @R1100 yeah, its an oop functional language, kinda like if haskell and java had a child. Theres a huge community behind it and a lot of the blockchain communities use it
  • 0
    @ganjaman great!
    Where is it's main use? (Web,Desktop,application...)
  • 0
    @24th-Dragon what is the difference?
    I'm already android dev with java.
    Would it be faster to code using kotlin?
  • 0
    @arcsaber what is cython?
  • 1
    @R1100 For utils - sure I do. But it's quite a pain to keep recompiling things while I'm testing utils out/building them up. Once I get it working in Py I rewrite it in C to make rock-solid and as fast as it can be.

    Py is just a very handy OS API playground. Just like Perl used to be. Funny enough I hate both of them as languages - because of their syntax (Py and Pl) :)
  • 1
    @netikras stupid tabs in py 😂
  • 1
    Kotlin! It's less verbose than Java and has features that make the job easier.
    It has three versions: JVM (supports Java), Native (supports C), and JS (compiles to JS).

    Also, it's supported very well in IntelliJ since they both are developed by JetBrains.
  • 2
    (modern) C++
    There is always something new and awesome to discover in C++. To be able to make stuff efficient and beautiful/elegant.
  • 1
    Kotlin S2
  • 2
    Mine's Crystal or Rust by far, simply cause of speed with power in one.

    Also, for next time, refer to the image :p
  • 1
    @Proximyst oops !
    Each time I want to post simply click on rant then start thinking about the content 😬
  • 2
    Wireshark, because im a hacker
  • 0
    @PreyK cool !
    You use it for sniffing?
    Anyway it is not a programming language 😂
  • 1
    @R1100 If I recall correctly, the specification of C# is open and there are open source implementations.
  • 0
    @Teabagging4Life that way C# is even better than java
  • 1
    C#. Started off like Java but routinely pulls in the best parts of f#. Switching to default non Nullable reference types in c# 8.

    @R1100 most of . Net is open now, https://github.com/Microsoft/dotnet
  • 0
  • 0
    @24th-Dragon time to migrate to kotlin !
  • 1
    I enjoy using R, and I love some of typescript's ideas. But I am mostly using c#
  • 1
    Does Javascript count as programming nowadays? If not, I have poked around in Java, and I like it so far.
  • 2
    I learned a couple of languages over the years, including Java, Javascript, C#, C++, Scala (which I'm terrible at), Kotlin (which I've recently pushed to be used at my job!), and Go..

    But if I have to pick favorites, it would have to be Rust.
    The macro system is INSANE; Testing is easy and intuitive; The type system is really elegant; and the final executable will be fast with guaranteed memory safety which is just insane all things considered..

    BUT, until the Rust ecosystem matures, when assigned a new project - my language of choice will be Python.
    While usually I'm against the whole dynamically-typed imperative languages, Python has gone a long way in its latest iterations. Type hinting + mypy eliminates common pit-falls of dinamically-typed languages, so that's not really a problem anymore..
    That, and the fact that testing is almost trivial (and mocking, thanks to the dynamic nature of Python), makes the ecosystem one that I feel comfortable with to deliver a great product.
  • 1
    I love Go (Golang). It's nearly as fast a C/C++ and really easy and comfortable to use.
Add Comment