Poll

Hello EEVBlog! I write electronics / programming tutorials at advtech.ca and i'm wondering what languages you would like to see me teach,

PHP
Python
Javascript/JQuery
Assembly / In line assembly in C
C
C++

Author Topic: POLL: Programming Subjects  (Read 3005 times)

0 Members and 1 Guest are viewing this topic.

Offline netwinderTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: ca
POLL: Programming Subjects
« on: April 27, 2016, 05:22:06 pm »
Thanks for your support everybody! If you'd like a language to be added i'd be happy to add it  to the list:)
« Last Edit: April 27, 2016, 05:24:33 pm by netwinder »
 

Offline Mechanical Menace

  • Super Contributor
  • ***
  • Posts: 1288
  • Country: gb
Re: POLL: Programming Subjects
« Reply #1 on: April 27, 2016, 05:43:35 pm »
Not a language as such but something about inline assembly could be useful. When to bother, when not to bother, best practices, some basic examples doing the same thing in say ARM, x86, and say AVR asm could be useful.

Maybe something about what to watch out for when using C++ without a runtime could be useful too.

EDIT: I'll admit these are both subjects I'd like to tackle in some form of tutorial myself but I lack the communication skills.
« Last Edit: April 27, 2016, 05:46:33 pm by Mechanical Menace »
Second sexiest ugly bloke on the forum.
"Don't believe every quote you read on the internet, because I totally didn't say that."
~Albert Einstein
 

Offline Iwanushka

  • Frequent Contributor
  • **
  • Posts: 260
  • Country: lt
Re: POLL: Programming Subjects
« Reply #2 on: April 27, 2016, 05:46:50 pm »
C/ASM/inline ASM in C
When all you've got is a hammer, everything starts looking like a nail.- Attrition.
 

Offline netwinderTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: ca
Re: POLL: Programming Subjects
« Reply #3 on: April 27, 2016, 07:24:48 pm »
I added assembly / inline assembly in C.

I haven't done alot of assembly programming to be honest, but I still have some knowledge of it. Any specifics of assembly? Or just a brief introduction
 

Offline Syntax_Error

  • Regular Contributor
  • *
  • Posts: 204
  • Country: us
Re: POLL: Programming Subjects
« Reply #4 on: April 27, 2016, 07:34:25 pm »
None of the languages listed in your poll have the slightest to do with electronics, so you need to add a "None of the above" category.

C, Verilog, basics of assembler, SPICE

and a far way down the list: MATLAB, Python, PCB Layout software, etc.
It's perfectly acceptable to not know something in the short term. To continue to not know over the long term is just laziness.
 

Offline netwinderTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: ca
Re: POLL: Programming Subjects
« Reply #5 on: April 27, 2016, 08:01:40 pm »
None of the languages listed in your poll have the slightest to do with electronics, so you need to add a "None of the above" category.

Really? Because I've used object oriented programming in C++ and Python to do electronics related simulations.

I can agree with JavaScript / JQuery and PHP, however I know these languages and I know I can write about them. If you think i shouldn't write about them, dont vote for them.
« Last Edit: April 27, 2016, 08:03:15 pm by netwinder »
 

Offline hans

  • Super Contributor
  • ***
  • Posts: 1637
  • Country: nl
Re: POLL: Programming Subjects
« Reply #6 on: April 27, 2016, 09:51:17 pm »
My take on this:
PHP - IMHO not worth much today, although I sometimes grab it when I need some website scripting that doesn't run on my own machine
Python - I pick this if I can. And it's a great productivity tool. But not essential to do the job.
Javascript/jQuery - All aboard the hype train. It's probably subpar to PHP for me.
Assembly - Not very practical. These days only very useful if you want to squeeze the upmost cycle of an algorithm for power efficiency and/or throughput. But remember that productivity in this language low, and probably not a very good initial starting point.
C - This is my vote. Most widely used for embedded micro's in electronics. I would have combined this in-line assembly in C. Because sometimes you can't avoid it. I also want to emphasize that with C, although you don't write assembly, you should read the assembly code sometimes the compiler generates.
C++ - would be my 2nd choice to C, can be used for some embedded platforms, and also to build Qt applications and various other bits and pieces.

Additionally, after having briefly looked at your website, please don't mix up Arduino and C. Arduino themselves don't want to admit you program C or C++, but rather their processing language or whatever. Under the hood you lay out a C-style program (often) but refer to C++ objects and libraries. Headers/prototypes/references to other .ino files are automatically generated, which is all very confusing.

 

Offline lem_ix

  • Regular Contributor
  • *
  • Posts: 192
  • Country: cs
Re: POLL: Programming Subjects
« Reply #7 on: April 27, 2016, 09:56:01 pm »
Agree on python, it's useful for a lot of things, test generation or as a matlab replacement,etc etc.
 

Offline apelly

  • Supporter
  • ****
  • Posts: 1061
  • Country: nz
  • Probe
Re: POLL: Programming Subjects
« Reply #8 on: April 27, 2016, 10:39:11 pm »
Of interest, in decreasing preference are C++, Python, C
 

Offline netwinderTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: ca
Re: POLL: Programming Subjects
« Reply #9 on: April 28, 2016, 12:05:56 am »
My take on this:
PHP - IMHO not worth much today, although I sometimes grab it when I need some website scripting that doesn't run on my own machine
Python - I pick this if I can. And it's a great productivity tool. But not essential to do the job.
Javascript/jQuery - All aboard the hype train. It's probably subpar to PHP for me.
Assembly - Not very practical. These days only very useful if you want to squeeze the upmost cycle of an algorithm for power efficiency and/or throughput. But remember that productivity in this language low, and probably not a very good initial starting point.
C - This is my vote. Most widely used for embedded micro's in electronics. I would have combined this in-line assembly in C. Because sometimes you can't avoid it. I also want to emphasize that with C, although you don't write assembly, you should read the assembly code sometimes the compiler generates.
C++ - would be my 2nd choice to C, can be used for some embedded platforms, and also to build Qt applications and various other bits and pieces.

Additionally, after having briefly looked at your website, please don't mix up Arduino and C. Arduino themselves don't want to admit you program C or C++, but rather their processing language or whatever. Under the hood you lay out a C-style program (often) but refer to C++ objects and libraries. Headers/prototypes/references to other .ino files are automatically generated, which is all very confusing.

I agree, I remember programming for an Arduino for the first time and I noticed how simplified it is. On my website I do call it C, because the programming concepts used still apply. The user experience is simplified, however under the hood is rather interesting. http://www.arduino.cc/en/Hacking/BuildProcess

IMO i'm not really a fan of the arduino platform, i'm happier with something closer to the metal (PIC, anyone?)

My question for you: if i were to do a C tutorial, would i make it general or would i focus it on a specific platform?

Thanks everybody for the feedback!
 

Offline amspire

  • Super Contributor
  • ***
  • Posts: 3802
  • Country: au
Re: POLL: Programming Subjects
« Reply #10 on: April 28, 2016, 12:42:52 am »
Javascript is something I have always wanted to get into. I love the fact that it is the language you can run with just a browser, but you have to work around the lack of any system access.

Specifically, what I want to learn to do is to easily be able to connect micro-based devices I make to a PC's ethernet. Then with just a very basic web interface in these devices, they can send javascript files + data to a browser and you can get a graphical display on any computer with a browser. Cannot save data locally with javascript, but I probably could synchronise it to cloud storage.

The beauty of this is if I make a micro-based device with Ethernet either directly of via a custom hub box (say micro-device->RS232->CustomHub->Ethernet->PC Browser), I can connect it to any computer and get a full graphical interface - no drivers needed, no programs on the PC, no hardware dependant software.

If Javascript is to unstructured, there are alternatives like the Dart javascript compiler.

Richard
 

Offline netwinderTopic starter

  • Regular Contributor
  • *
  • Posts: 69
  • Country: ca
Re: POLL: Programming Subjects
« Reply #11 on: April 28, 2016, 01:03:11 am »
Javascript is something I have always wanted to get into. I love the fact that it is the language you can run with just a browser, but you have to work around the lack of any system access.

Specifically, what I want to learn to do is to easily be able to connect micro-based devices I make to a PC's ethernet. Then with just a very basic web interface in these devices, they can send javascript files + data to a browser and you can get a graphical display on any computer with a browser. Cannot save data locally with javascript, but I probably could synchronise it to cloud storage.

The beauty of this is if I make a micro-based device with Ethernet either directly of via a custom hub box (say micro-device->RS232->CustomHub->Ethernet->PC Browser), I can connect it to any computer and get a full graphical interface - no drivers needed, no programs on the PC, no hardware dependant software.

If Javascript is to unstructured, there are alternatives like the Dart javascript compiler.

Richard

Interesting project, by the way you can save files locally with Javascript. Also if i were to write Javascript tutorials I don't think they would involve an implementation like that. I like the idea though
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf