• 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

    • Or, it is Apple simply overinflated the screens.
    • Is it that easy though? WhatsApp is the default way the majority message in a lot of countries these days. I would prefer Signal to be as popular as WhatsApp and probably could get a few people to use it, most people are probably going to stick with WhatsApp sadly. Which leaves SMS or Facebook Messenger as alternatives a lot of people also have. (Here anyway, I know iMessage, LINE and WeChat dominate in certain parts of the world). It annoying Meta purchased WhatsApp all those years ago.
    • Do they tell Google not to scrape their content via something like robots.txt? Do they specify anywhere that certain agents aren't to scrape? If not, tough. Plus there's no obligation on anyone's part to adhere to any directives that might be in this file anyway...
    • DMDE 4.3.5.823 Beta by Razvan Serea DMDE is a software designed to effectively recover lost data. It retrieves files and folders swiftly and stores them in the user-defined location. It is an easy to use yet powerful tool that will assist both novice and experienced users in getting back lost files in just a few simple steps. Free Edition includes all basic features but a single recovery operation recovers up to 4000 files in the current panel only (you should first open a subdirectory in the current panel and then recover files in the panel). In paid licenses there is no this restriction, and recovery of nested directories is allowed. Can paid versions recover more files than the free version of DMDE? If a file cannot be recovered in the DMDE Free Edition (or it is damaged after recovery) the same will occur in the paid versions. DMDE paid versions are capable of recovering the same files. The only difference is that paid versions can recover all found files in one go, as well as restore the directory structure presented in the free version. Professional Edition provides additional features: rights to provide data recovery services portable use on different computers one-time activation on client computers (including remote use) data recovery reports (include logs and file checksums) read support for E01 disk image files using logs when copying a disk (resume copying, multiple passes) customizable I/O handler script recovery of NTFS alternate data streams DMA access in DOS (for ATA interface) DMDE key features: Portable run without installation Support for NTFS, FAT12/16, FAT32, exFAT, ReFS, Ext2/Ext3/Ext4, btrfs, HFS+/HFSX, APFS Thorough FS and Raw scan, FS reconstruction for data recovery in complex cases Simple partition manager for express search, diagnostics, and restoration of partitions Disk cloning and disk image creating, including I/O error handling, reverse copying, and other features RAID constructor for virtual RAID reconstruction supporting levels RAID-0, RAID-1, RAID-4, RAID-5, RAID-6, delayed parity, custom striping, JBOD/spanned disks; automatic calculation of RAID configurations Cluster map to investigate file allocation Disk editor compatible with the most recent Windows versions which allows viewing, editing, and navigating through different disk structures using built-in and custom templates NTFS tools to work bypassing NTFS driver (copy, delete file, create, repair directory) Support for various device I/O interfaces and settings to work with damaged devices, disk images, NTFS compression and encryption, national names, large disks, large files, large sectors, and other features DMDE 4.3.5.823 Beta changelog: Expanded built-in signatures for RAW search functionality Added file list export to HTML format (DMDE Professional Edition only, view sample) Improved handling of I/O errors with selective skipping by error code Enabled preview support for additional image (graphic) file types (Windows only) Improved extfs reconstruction when copies of superblocks with group descriptors are found Fixed potential hang during Btrfs volume reconstruction Resolved issue with cluster list creation when subfolders are present Other improvements and fixes Download: DMDE 64-bit | 2.4 MB (Free, paid upgrade available) Download: DMDE 32-bit | 2.0 MB Link: DMDE Home Page | DMDE Manual | Screenshot Get alerted to all of our Software updates on Twitter at @NeowinSoftware
    • The BBC might have gone about this the wrong way, but if there is a revenue sharing program then they and all other "providers" of data should be included in the plan.
  • Recent Achievements

    • Week One Done
      Crunchy6 earned a badge
      Week One Done
    • One Month Later
      KynanSEIT earned a badge
      One Month Later
    • One Month Later
      gowtham07 earned a badge
      One Month Later
    • Collaborator
      lethalman went up a rank
      Collaborator
    • Week One Done
      Wayne Robinson earned a badge
      Week One Done
  • Popular Contributors

    1. 1
      +primortal
      680
    2. 2
      ATLien_0
      276
    3. 3
      Michael Scrip
      221
    4. 4
      +FloatingFatMan
      170
    5. 5
      Steven P.
      164
  • Tell a friend

    Love Neowin? Tell a friend!