• 2

Favourite programming language?


Question

Recommended Posts

  • 0
  On 09/02/2023 at 02:53, freedonX said:

C is still alive??
Learned it 20 years ago in collegue..loved it! Then I started leearning OOP (C++). Man, it was like knowing a new religion and telling you your current religion (C) was a fraud. Just couldn't do squat on OOP.
Thought C was so called behind. With all web and modern systems.

Did have 1 course on Assembly...oh yeah lots of fun!!!   /s


Never was into code anyways in my professional career

Expand  

Very much so. Guess what the Linux kernel is written in?

  • 0
  On 09/02/2023 at 02:53, freedonX said:

C is still alive??
Learned it 20 years ago in collegue..loved it! Then I started leearning OOP (C++). Man, it was like knowing a new religion and telling you your current religion (C) was a fraud. Just couldn't do squat on OOP.
Thought C was so called behind. With all web and modern systems.

Did have 1 course on Assembly...oh yeah lots of fun!!!   /s


Never was into code anyways in my professional career

Expand  

Every single important embedded device is, inmost probability, coded in C.

  • Like 2
  • 0
  On 09/02/2023 at 02:53, freedonX said:

C is still alive??
Learned it 20 years ago in collegue..loved it! Then I started leearning OOP (C++). Man, it was like knowing a new religion and telling you your current religion (C) was a fraud. Just couldn't do squat on OOP.
Thought C was so called behind. With all web and modern systems.

Did have 1 course on Assembly...oh yeah lots of fun!!!   /s


Never was into code anyways in my professional career

Expand  

Current version of C is C17, C23 is in preview. C++'s current version is C++20 with C++23 in preview.

 

Lower level languages like C and C++ still have their uses and modern features do get added without breaking ABI, most of the time...

  • 0
  On 09/02/2023 at 06:44, Arceles said:

Every single important embedded device is, inmost probability, coded in C.

Expand  

Yeah I’ve seen a lot of job postings for embedded software devs requiring C++ skills

  • 0
  On 09/02/2023 at 17:39, freedonX said:

Wonder then, if C/C++ will take the road of Cobol. 
15-20 years ago all the senior cobol coders were already dead, hard to find fresh meat.

Expand  

Do not think so. C is the most efficient languaje besides assembler, and the thing with embedded devices is the lack of resources, hence the pursuit for eficiency.

  • 0
  On 09/02/2023 at 17:39, freedonX said:

Wonder then, if C/C++ will take the road of Cobol. 
15-20 years ago all the senior cobol coders were already dead, hard to find fresh meat.

Expand  

That will likely never happen, WindowsNT (the Kernel not the OS, though most of the OS is still written in C++ too), XNU (macOS, iOS, iPadOS, watchOS, tvOS kernel) & BSD are all written in a mix of Assembler, C and C++,  Linux is written in C and Assembler (Linus refuses to let C++ into the kernel).

Most game engines are still written in C/C++ as well for efficiency.  

The problem with other programming technologies is their runtimes tend to be massive, and some of them wont even work without their runtimes and add to an applications size, especially when libraries are staticly linked, Kernels (especially on x86 based platforms) have a limited amount of space that can be used.  Kernels tend to either A) implement their own small language runtime or B) run a stripped down version of C/C++ without the runtime (loosing a few of the language features in the process but still usable).

  • 0
  On 09/02/2023 at 17:49, Matthew S. said:

That will likely never happen, WindowsNT (the Kernel not the OS, though most of the OS is still written in C++ too), XNU (macOS, iOS, iPadOS, watchOS, tvOS kernel) & BSD are all written in a mix of Assembler, C and C++,  Linux is written in C and Assembler (Linus refuses to let C++ into the kernel).

Most game engines are still written in C/C++ as well for efficiency.  

The problem with other programming technologies is their runtimes tend to be massive, and some of them wont even work without their runtimes and add to an applications size, especially when libraries are staticly linked, Kernels (especially on x86 based platforms) have a limited amount of space that can be used.  Kernels tend to either A) implement their own small language runtime or B) run a stripped down version of C/C++ without the runtime (loosing a few of the language features in the process but still usable).

Expand  

There is also another thing, portability. C can adapt pretty much to any hardware, provided you have some sort of wrapper for each and one of the low level instructions used for that specific device.

  • 0

So I have a junior dev in my team, he has a basic handle on PHP but… very basic.

I spent a couple of hours writing a task for him to complete. A basic “who is in the team” web app, you know - add users, remove users, update users. I expanded it so that later parts can be added such as “lookup the users photo from an API using AJAX”.

I then broke this down into essentially 20 small steps. When complete he will have had hands-on experience with PHP, JavaScript (jQuery), HTML, CSS, Bootstrap, AJAX, APIs, SQL (tables, views, stored procedures)…  As a precursor I took him through a very quick hour long intro to OOP also.  I know this stuff is very basic but… I know he has ability to be a good dev, can tell from the way he solves problems - and I really enjoy mentoring, so I’ll be very pleased when he completes it. So will he be cos I gave him a £2000 incentive to get it done. I’ve given him about 2 weeks, which seems fair to me and will be on-call for him to assist/steer.

  • Like 2
  • 0
  On 09/02/2023 at 23:54, Dick Montage said:

So I have a junior dev in my team, he has a basic handle on PHP but… very basic.

I spent a couple of hours writing a task for him to complete. A basic “who is in the team” web app, you know - add users, remove users, update users. I expanded it so that later parts can be added such as “lookup the users photo from an API using AJAX”.

I then broke this down into essentially 20 small steps. When complete he will have had hands-on experience with PHP, JavaScript (jQuery), HTML, CSS, Bootstrap, AJAX, APIs, SQL (tables, views, stored procedures)…  As a precursor I took him through a very quick hour long intro to OOP also.  I know this stuff is very basic but… I know he has ability to be a good dev, can tell from the way he solves problems - and I really enjoy mentoring, so I’ll be very pleased when he completes it. So will he be cos I gave him a £2000 incentive to get it done. I’ve given him about 2 weeks, which seems fair to me and will be on-call for him to assist/steer.

Expand  

Ah wow!

Most companies don’t train junior devs these days, it’s great that yours does!! 👍 

 

Most require a CS degree or demonstratable programming exp

  • 0
  On 10/02/2023 at 03:01, Software Dev Expert said:

Ah wow!

Most companies don’t train junior devs these days, it’s great that yours does!! 👍 

 

Most require a CS degree or demonstratable programming exp

Expand  

I don’t fully subscribe to that. I’ve seen plenty of roles advertised that train devs up on the job, alongside knowing other managers who do the same.

  • 0
  On 09/02/2023 at 17:49, Matthew S. said:

That will likely never happen, WindowsNT (the Kernel not the OS, though most of the OS is still written in C++ too), XNU (macOS, iOS, iPadOS, watchOS, tvOS kernel) & BSD are all written in a mix of Assembler, C and C++,  Linux is written in C and Assembler (Linus refuses to let C++ into the kernel).

Expand  

How about Rust? Neither language is my thing but I hear that it's starting to gain popularity vs C/C++, and is now officially supported by the Linux kernel along with C. As I read it, safer, supposedly faster in some cases, etc. Also read somewhere that Mark Russinovich from MS would like to switch to Rust over C/C++ too eventually. Doubt it would ever send C to pasture alongside Cobol, but it might give it a good run for the money. 

  • 0
  On 10/02/2023 at 08:46, Dick Montage said:

I don’t fully subscribe to that. I’ve seen plenty of roles advertised that train devs up on the job, alongside knowing other managers who do the same.

Expand  

When I was a graduate and I searched junior software dev positions online, they all required a degree or substantial programming experience. Both small and large companies. And even when I came across apprentice roles they mostly required some coding experience.

 

Softwire is the only employer I know taking on employees without programming experience. 

 

I was about to ask where you’re based... funnily enough you are also based in the UK. I guess we use different job boards. What do you use?

  • 0
  On 10/02/2023 at 09:25, Max Norris said:

How about Rust? Neither language is my thing but I hear that it's starting to gain popularity vs C/C++, and is now officially supported by the Linux kernel along with C. As I read it, safer, supposedly faster in some cases, etc. Also read somewhere that Mark Russinovich from MS would like to switch to Rust over C/C++ too eventually. Doubt it would ever send C to pasture alongside Cobol, but it might give it a good run for the money. 

Expand  

Widely unknown in embedded.

  • 0
  On 10/02/2023 at 09:56, Software Dev Expert said:

What do you use?

Expand  

I don’t, I have a recruitment team that do all that so I just end up with vetted CVs

 

  On 10/02/2023 at 09:56, Software Dev Expert said:

they all required a degree or substantial programming experience

Expand  

Keyword being “or”… but to my mind, I value experience sure, but that doesn’t imply commercial. If someone has been programming for years and they now want to do it as a job, fantastic! Shows they have a personal interest in it.

One question I always ask in interviews is “What was that moment when you decided you wanted to be a dev, what go you into programming?”. If they give me some boring “Well I went to uni and…”, bye! I want someone who’s gonna say they tinkered with computers, they broke stuff, they had an idea and tried. And then they found “wow I can make this do things”, I want a passionate answer!

  • Like 3
  • 0
  On 10/02/2023 at 22:51, Matthew S. said:

If I'm not mistaken I believe it has been ported to AVR's.

Expand  

It still widely unknown. Yes, Rust maybe an alternative, but C is very well proven and also is still more efficient whenever we are talking about kilobytes of RAM. There is also the fact that very well developed tools to check for misbehaviours in C exist (i,e. MISRA, LINT) whicih also help to check for potential problems in code. C in itself is a language that I do not think will be ever phased away, unless something drastic, like quantum computing, replaces all embedded devices.

  • 0
  On 10/02/2023 at 23:09, Dick Montage said:

I don’t, I have a recruitment team that do all that so I just end up with vetted CVs

 

Keyword being “or”… but to my mind, I value experience sure, but that doesn’t imply commercial. If someone has been programming for years and they now want to do it as a job, fantastic! Shows they have a personal interest in it.

One question I always ask in interviews is “What was that moment when you decided you wanted to be a dev, what go you into programming?”. If they give me some boring “Well I went to uni and…”, bye! I want someone who’s gonna say they tinkered with computers, they broke stuff, they had an idea and tried. And then they found “wow I can make this do things”, I want a passionate answer!

Expand  

Ah yeah of course, I wasn't suggesting that experience always implies commercial, provided the company is open to hiring junior devs. 

I'd say that hiring someone with no programming experience at all, however, is the exception rather than the rule. Recently our team had an employee who transferred from another role within the company on the basis of their problem-solving skills. The new employee was given all the necessary training to excel.

From my personal experience university doesn't teach all the skills necessary to be a good software developer. However it teaches the foundations and problem-solving skills. Most of the projects assigned are ones that have already been accomplished previously a million times and can be found with a google search easily. Nothing like what you'd encounter in a workplace. I found that it was my final year project at university which involved a bunch self-learning, problem solving and creativity (a crucial skill to succeed on the job)  in addition to side projects I undertook to learn more modern programming practices e.g. React framework rather than legacy code, and blog-reading. These are the main things that have helped me get the job, especially my first job. My passion for continuous learning through blog-reading outside of work is what helped to give me the edge when changing companies.

  • 0
  On 11/02/2023 at 18:49, Software Dev Expert said:

From my personal experience university doesn't teach all the skills necessary to be a good software developer.

Expand  

I didn’t learn a damn thing at uni that helped me become a good dev.

  • 0
  On 11/02/2023 at 21:49, Dick Montage said:

I didn’t learn a damn thing at uni that helped me become a good dev.

Expand  

Regarding what’s relevant to my current role, I learnt the Java Spring framework and Ruby on Rails framework. I self-taught Node and Express and built a web application using this for my final year project at university. I also learnt Android studio, building Java desktop apps, C++ and python. 

 

As I say it helped with the foundations but I didn’t face the type of problems that I face in my job. I think progression would occur fastest if someone started out in an apprentice role. Software dev in a professional environment is very different to a student environment. 

I think the issue was the way we were marked. We had many coursework assignments. We were marked based on the number of programming language features we use. That led to higher marks for those who over-complicate their code. You know what they say... writing more lines of code does not make someone a better programmer, quite the opposite in fact.

I’d say that helped me become a dev but not necessarily a good one. I gained knowledge helping me to become a good dev through self-learning and professional experience. 

 

What sort of programming did you learn at university? I chose the university I did due to the heavy emphasis on coursework. I knew I wanted to be a software dev prior to commencing university. I wouldn’t go for any course that relied heavily on exams. Because memorising stuff does NOT make you a good programmer. 

  • 0
  On 12/02/2023 at 06:17, Jose_49 said:

In my case

 

1. TypeScript

2. C#

3. Rust (I'm still getting the basics)

4. Python

 

I don't mind learning a new one. As long as it gets the job done!

Expand  

What are you trying to accomplish? What are your goals? 

 

I wish you the best of luck in your journey and feel free to post a question if you have any :)

  • 0

Being older than dirt, I think my favourite language will always be my FIRST language, Z80 assembler... But it was terribly difficult to learn and code that on a Sinclair ZX81, then the Spectrum 48k as they both had TERRIBLE keyboards, but later on, in college, I learned to program in Z80 using hex on the Mulitech Micro-Professor MPF-1...

multitech_mpf-1b_1.jpg

I had so much fun programming that little thing to control a robot arm to grab stuff off my lecturer's desk... So much so that he ended up disconnecting it's grabber! :p  I got the Zaks Z80 programming bible thrown at me so many times in class... :p

Nowadays it's all fancy high level stuff that pretty much anyone can do, but back then, you really needed to understand things down to the metal, which is why I also studied microelectronics and robotics.  Hell, most programmers these days can't even count in binary...  I've used so many languages over the decades that it's actually hard to keep track but these days it's mostly web stuff.... HTML, CSS, Javascript (yuk!), C# and so on... I suppose if I had to pick a favourite of modern languages, I'd probably go with C#, but I do so miss hitting the metal directly...

 

  • Like 3

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Posts

    • Hello, Yes, and yes. More specifically, there are lots of features in Windows that I do not use--I cannot recall the last time I needed to run EUDCEDIT.EXE or ODBCAD32.EXE on a computer I own, but I'm sure that for some people they are useful, and for a smaller set of people they might even be indispensable. I don't begrudge Microsoft for including them as part of the standard Windows installation nor the people who need such tools; sometimes it is convenient to have some little utility or feature readily available. One thing I do begrudge is Microsoft's over-reliance on its own telemetry, and perhaps surpisingly on the flip side, customers who disable it. Collecting telemetry is generally a good thing, if it is done for good reasons and does not include any customer PII. However, how you interpret that telemetry is even more important, as that can lead to all sorts of disastrous decisions. On the customer side of things, telemetry is your "vote:" it's how you tell companies what features you use in the program, and lets them prioritize things appropriately. One glaring example is Windows 8, which shipped with the full-screen Start Screen because Microsoft's telemetry told them the average Windows user pressed the Windows key to bring up the Start Menu less than once a day. I have often wondered how many "power users" of previous versions of Windows (XP, Vista, and 7) that relied on the Start Menu disabled the telemetry that would have told Microsoft a difference story about its usage. More recently, I came across a young lady who had a problem with a third-party sync program on her computer running Windows 7. An update for the utility removed Windows 7 compatibility, and broke her backup process. Now, support for Windows 7 ended over 5 years ago in 2020, but there are ISVs who still support their software on it, but decisions about stuff like that are made, in part, by knowing what percentage of your customer base is on what operating system version. When I asked about that, she mentioned she had specifically disabled the telemetry from the sync program to its developers, which was optional to begin with. What made things even worse was that this was an open source utility, and its authors had a very clear, well-designed and scoped policy on the telemetry they collected, the pains they went through to avoid collecting any PII, and even other ancillary risks involving information disclosure (like just using of the software) because of the network connection made for the checks. Yet, she took herself out of telling the project maintainers "Hey, I use your software and I'm running Windows 7" by disabling the telemetry checks, which could have let them know they needed to continue supporting it. In a sense, sending telemetry is just like voting: Individually, you may not think it matters much, but it is often the basis for very important decisions. Regards, Aryeh Goretsky
    • Hello, My thoughts on this are mixed. Microsoft has hosted malicious code in the Microsoft Update Catalog where third party device drivers are stored; I wrote about one such incident about fifteen years ago, so if there are any other old malicious drivers floating around in the catalog, this will be a good step towards preventing any infestations from reoccurring. Another thing, which surprisingly is not mentioned in Microsoft's announcement, is that this helps protect against BYOVD (Bring Your Own Vulnerable Driver) attacks, where malware either comes with or downloads an older device drivers with vulnerabilities in it that can be exploited to gain access to kernel memory. Removing all those old device drivers from the Windows Update Catalog, potentially with all sorts of undisclosed vulnerabilities in them, means an attacker can no longer leisurely count on being able to download them from Microsoft's servers--something that may go unnoticed or ignored by security analysts. This makes the adversary attack a little more noisy, since they have to either include the device driver with the rest of their initial payload or download it from a third-party site at some point prior to beginning their BYOVD attack. On the other hand, it means that people who are looking for a specific version of an older device driver for whatever legitimate reasons, like compatibility, performance or stability, may end up going to dodgy third-party sites in search of older drivers, which increases the risk of exposure to everything from nuisance advertisements and unwanted software to actual malicious code. As for me, I have keeping copies of all the device drivers, firmware updates, etc. I have downloaded over the years, some dating back to DOS and Windows 3.x era, not just for hardware I won, but popular things like unified chipset and video card drivers, just in case I ever needed it. It might seem silly to collect such a thing, but the hardware drivers, firmware updates, and documentation are just about 2 TB in size. From my perspective, it is an inexpensive form of insurance, especially given that disk space is always getting cheaper over time. Regards, Aryeh Goretsky
    • @Raze Bold it boy. (I admit, we all did it from time to time..)
    • Fan Control V227 by Razvan Serea Fan Control is a powerful and versatile portable utility that allows you to monitor, control and customize the fans of your GPU and CPU to keep your machine cool and running smoothly. Fan Control supports a wide range of devices and hardware configurations, giving you complete control over your computer's cooling system. Fan Control backend is mainly based on LibreHardwareMonitor, an open source fork of the original OpenHardwareMonitor. This means that hardware compatiblity is entirely open for anyone to contribute, and doesn't rely on a single developer who may stop caring at some point. Combined with the plugin system, Fan Control is unlocked for many generations of hardware to come. Main features Guided setup process on first launch Save, edit and load multiple profiles Change the theme and color of the application. Multiple temperature sources ( CPU, GPU, motherboard, hard drives... ) Multiple fan curve functions, including a custom graph Mix fan curves or sensor togethers (max, min, average) Low resource usage Advanced tuning with steps, start %, stop %, response time and hysteresis FanControl V227 changelog: Allow decimal with hysteresis values Radeon Pro support through ADLX Fix a bug when cancelling the graph editing dialog Update LibreHardwareMonitorLib Download: FanControl V227 | Installer ~15.0 MB (Open Source) View: Fan Control Homepage | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • Lol tf you are talking about. People are PAYING by using this app exclusively, just indirectly. Do you have any idea how much facebook charges for api access to WhatsApp which has become more or less a monopoly in e-commerce.
  • Recent Achievements

    • Contributor
      GravityDead went up a rank
      Contributor
    • Week One Done
      BlakeBringer earned a badge
      Week One Done
    • Week One Done
      Helen Shafer earned a badge
      Week One Done
    • First Post
      emptyother earned a badge
      First Post
    • Week One Done
      Crunchy6 earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      660
    2. 2
      ATLien_0
      266
    3. 3
      Michael Scrip
      235
    4. 4
      Steven P.
      165
    5. 5
      +FloatingFatMan
      149
  • Tell a friend

    Love Neowin? Tell a friend!