A curious proposal

For friendly off topic discussion not covered in a forum above.
Forum rules
No politics, please.
User avatar
Oskar45
Posts: 2257
Joined: Mon Dec 05, 2005 2:35 am
Location: Vienna, Austria

A curious proposal

Unread postby Oskar45 » Mon Jul 31, 2017 10:58 am

A member of our government proposed to provide free tablets and smartphones to every school-kid. Fine. Not hardly necessary - over here all kids are fingering their mobiles all the time.

BUT - he also proposed that all should learn a programming language. Here is the catch. Which language? FP, APL2, Python, Scheme or - heaven forbid - C?
Everyone loves a lover. Romeo loves Juliet. Therefore, Trump loves Putin.

User avatar
guardian452
Donor
Donor
Posts: 3429
Joined: Tue Aug 21, 2007 10:12 pm
Location: United States
Contact:

Re: A curious proposal

Unread postby guardian452 » Mon Jul 31, 2017 11:25 am

Depending on the age of the kids and the hardware provided, Swift, Java, or (maybe, but doubtful) Python.

You were asking what will happen, not what you would like to see happen, correct?

User avatar
VenomousPinecone
Posts: 2141
Joined: Mon Jun 20, 2005 2:10 pm
Location: Groom Lake, NV

Re: A curious proposal

Unread postby VenomousPinecone » Mon Jul 31, 2017 1:38 pm

COBOL

User avatar
commodorejohn
Posts: 652
Joined: Tue Oct 02, 2012 1:22 pm
Contact:

Re: A curious proposal

Unread postby commodorejohn » Mon Jul 31, 2017 1:42 pm

INTERCAL.
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/SH-09/HS-80/MT-32/D-50, Yamaha DX7-II/V50/TX7/TG33/FB-01, Korg MS-20 Mini/ARP Odyssey/DW-8000/M1, Ensoniq SQ-80, E-mu Emax HD/Proteus-2, Casio CZ-5000, Moog Satellite, Sequential Circuits Prophet-600

User avatar
ClassicHasClass
Donor
Donor
Posts: 2080
Joined: Wed Jul 25, 2012 7:12 pm
Location: Sunny So Cal
Contact:

Re: A curious proposal

Unread postby ClassicHasClass » Mon Jul 31, 2017 8:54 pm

Unlambda
smit happens.

:Fuel: bigred, 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy, 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze, 175MHz R10000, Solid IMPACT
probably posted from Image bruce, Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * RDI PrecisionBook * BeBox * Solbourne S3000 * Commodore 128 * many more...

nyef
Posts: 72
Joined: Tue Apr 28, 2015 7:54 pm

Re: A curious proposal

Unread postby nyef » Mon Jul 31, 2017 9:06 pm

Plankalkül should be a bit closer-to-home, surely?

User avatar
Trippynet
Donor
Donor
Posts: 786
Joined: Thu Aug 15, 2013 6:22 am
Location: Aberdeen, Scotland, UK

Re: A curious proposal

Unread postby Trippynet » Tue Aug 01, 2017 12:22 am

6502 Assembly language! :)
Systems in use:
:Indigo2IMP: - Nitrogen: R10000 195MHz CPU, 384MB RAM, SolidIMPACT Graphics, 36GB 15k HDD & 300GB 10k HDD, 100Mb/s NIC, New/quiet fans, IRIX 6.5.22
:Fuel: - Lithium: R14000 600MHz CPU, 4GB RAM, V10 Graphics, 72GB 15k HDD & 300GB 10k HDD, 1Gb/s NIC, New/quiet fans, IRIX 6.5.30
Other system in storage: :O2: R5000 200MHz, 224MB RAM, 72GB 15k HDD, PSU fan mod, IRIX 6.5.30

User avatar
spiroyster
Donor
Donor
Posts: 145
Joined: Thu May 03, 2012 8:24 am
Location: Somerset, UK

Re: A curious proposal

Unread postby spiroyster » Tue Aug 01, 2017 4:14 am

Oskar45 wrote:C or - heaven forbid - anything else.

Fixed ;)

C opens the door to all the other C-like languages. Even the java virtual machine is written in C.... nuff said (imo, that makes java nothing more than a glorified scripting language, and python, that relies on java, well...:roll: ). You can learn all the others, or just learn C properly and spend all the excess time learning algorithms and application thus solving actual real world problems rather than arguing over who has the most elegant, general purpose syntax which still requires bindings of some description to expose anything that is practical about a computer platform these days... or another 'virtual machine' installed (I don't need another layer of abstraction from my runtime thank you very much :evil:).

Does APL2 use the same glyphs as the rest of the world? Or is it still that mystical runic symbolism which invokes loki every time you attempt to write a program in it o.0

swift will be good, but by the time they hit puberty, swift will probably not be around, swift developers migrated to java etc… that’s the problem with all these *new* jabberwocky 4GL stuff. All fads, which rely on something which relies on something which relies on something which relies on C. I still have valuable neuro-real-estate wasted with Obj-C knowledge for exactly this reason. I used to be able to write C/C++ for iOS in xCode, when Apple were slacking (the good ol'days :roll: ).

In summary:
C#/Obj-C/<or equivelent strongly typed c-esque language> for OO.
C as a macro for assembly.
C++ for everything, since life isn't restricted to assembly, OO, structural, procedural or any other. Sometimes you just gotta mix and match and not marshal o.0
And not to mention there is a world of embedded out there. I'm guessing C will get you through most of it?

'C' has you covered. You won't regret learning C, because at some point in a programmers life, they will encounter C or a C-like language. You probably will regret the others when all the <insert hipster language support> jobs are gone. As a C developer (in case you hadn’t guessed), I feel it my duty to save the world and rid the future of terrible code bloat by suggesting we all learn C (well, C++ if I had my way, but appreciate that’s a bit of an extremist perspective) and learn it properly. Better/faster/null-ptr-prone future for us all. :D

You could burn all the programming literature on the planet, all knowledge lost. Then in 5000 years time after we have done a 'hard-reset' and when we re-discover these 'thinking machines' (no affiliation), I guarantee there will be a 'C' compiler for it!

User avatar
ClassicHasClass
Donor
Donor
Posts: 2080
Joined: Wed Jul 25, 2012 7:12 pm
Location: Sunny So Cal
Contact:

Re: A curious proposal

Unread postby ClassicHasClass » Tue Aug 01, 2017 7:43 am

because at some point in a programmers life, they will encounter C or a C-like language.


In that case, maybe Algol is more appropriate. ;)
smit happens.

:Fuel: bigred, 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy, 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze, 175MHz R10000, Solid IMPACT
probably posted from Image bruce, Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * RDI PrecisionBook * BeBox * Solbourne S3000 * Commodore 128 * many more...

Y888099
Posts: 523
Joined: Mon Jul 11, 2016 11:00 am

Re: A curious proposal

Unread postby Y888099 » Tue Aug 01, 2017 8:43 am

Python is a good hypothesis, as well as Lua.
Head Full of Snow. Lemon Scented You

tingo
Donor
Donor
Posts: 319
Joined: Sat Jun 26, 2010 5:40 pm
Location: Oslo, Norway

Re: A curious proposal

Unread postby tingo » Tue Aug 01, 2017 2:13 pm

It will be Python or Scratch, depending of the age of the kids.
Torfinn

User avatar
uunix
Donor
Donor
Posts: 1796
Joined: Sun Mar 27, 2011 12:48 pm
Location: Stourbridge / England / UK

Re: A curious proposal

Unread postby uunix » Tue Aug 01, 2017 3:03 pm

Alice and once Microsoft get a sniff, C#, which wouldn't be an awful thing in my opinion.
-----------------------------------------------------------------------
Hey Ho! Pip & Dandy!
:Octane2: :O2: :Indigo: :Indy:
-----------------------------------------------------------------------

User avatar
Dodoid
Posts: 604
Joined: Mon Jul 04, 2016 1:36 pm
Location: Ottawa, Canada
Contact:

Re: A curious proposal

Unread postby Dodoid » Tue Aug 01, 2017 5:09 pm

I hope it will be Python, or maybe Lua. I think it strikes a good balance between being relatively easy to learn and understand, while simultaneously introducing real code that those who learn it can adapt to other languages if you want.

A lot of people seem to think that Scratch is a great way to teach kids how to program, and maybe at an extremely early level I can sort of see that. It includes real programming concepts like objects, events, if/else statements, loops, input an output, etc., but the problem I have noticed is that friends of mine who learn Scratch first (remember, I'm 14, so that's a good chunk of them) get very good at the concepts, and very good at Scratch itself, but hit a brick wall when they try to translate that into real, text code.

I think Apple has the right idea with Swift Playground. Rather than trying to dumb down how programs are input, it gives you real Swift code and instead simplifies the output (with the monster puzzle game type thing). That way, users see real code in a real language, and transitioning to traditional programming is only a matter of changing how the output works, not the input.
:Onyx: :O2000: :Fuel: :Octane: :Octane: :Octane: :O2: :O2: :Indigo2: :Indigo2: :Indy: :Indy:
and a small army of Image

User avatar
commodorejohn
Posts: 652
Joined: Tue Oct 02, 2012 1:22 pm
Contact:

Re: A curious proposal

Unread postby commodorejohn » Tue Aug 01, 2017 10:24 pm

I'm with spiroyster, C is where it's at. Every time I learn a new language, I find myself learning about all its fancy features and gradually coming to realize that it's simpler without them. In other words, the more unnecessary cruft you drop from a language, the more it comes to resemble C ;)
Computers: Amiga 1200, DEC VAXStation 4000/60, DEC MicroPDP-11/73
Synthesizers: Roland JX-10/SH-09/HS-80/MT-32/D-50, Yamaha DX7-II/V50/TX7/TG33/FB-01, Korg MS-20 Mini/ARP Odyssey/DW-8000/M1, Ensoniq SQ-80, E-mu Emax HD/Proteus-2, Casio CZ-5000, Moog Satellite, Sequential Circuits Prophet-600

User avatar
ClassicHasClass
Donor
Donor
Posts: 2080
Joined: Wed Jul 25, 2012 7:12 pm
Location: Sunny So Cal
Contact:

Re: A curious proposal

Unread postby ClassicHasClass » Wed Aug 02, 2017 1:12 pm

Yes, but keep dropping stuff from C and you get assembly language. ;)

Yes, but keep dropping stuff from assembly language and you get machine language. ;)

Oh, never mind :P
smit happens.

:Fuel: bigred, 900MHz R16K, 4GB RAM, V12 DCD, 6.5.30
:Indy: indy, 150MHz R4400SC, 256MB RAM, XL24, 6.5.10
:Indigo2IMP: purplehaze, 175MHz R10000, Solid IMPACT
probably posted from Image bruce, Quad 2.5GHz PowerPC 970MP, 16GB RAM, Mac OS X 10.4.11
plus IBM POWER6 p520 * Apple Network Server 500 * RDI PrecisionBook * BeBox * Solbourne S3000 * Commodore 128 * many more...


Return to “Everything Else”

Who is online

Users browsing this forum: Bing [Bot] and 3 guests