Home Download Buy Blog Forum Support

ExportHtml Plugin (rename from PrintHtml)

Re: ExportHtml Plugin (rename from PrintHtml)

Postby sublimator on Fri Nov 23, 2012 2:24 pm

agibsonsw wrote:int(*f(char *c))(int, long*); ?

or, to put it another way..

void *((*fnp[4])())();


precisely
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Re: ExportHtml Plugin (rename from PrintHtml)

Postby facelessuser on Fri Nov 23, 2012 4:57 pm

castles_made_of_sand wrote:
agibsonsw wrote:int(*f(char *c))(int, long*); ?

or, to put it another way..

void *((*fnp[4])())();


precisely

You guys are ridiculous :).

Once you can code in C, you can pretty much code in anything. As soon as you get used to managing your memory and cleaning up, other languages are much easier. The one exception is assembly; that is just painful to code in. I did a small project in straight assembly in college...it was not fun...interesting and a good exercise, but not fun. That is why Python can be so fun, you don't have to worry about memory so much and types etc. and you can dynamically do stuff, where in C, things are much more rigid.
facelessuser
 
Posts: 1576
Joined: Tue Apr 05, 2011 7:38 pm

Re: ExportHtml Plugin (rename from PrintHtml)

Postby agibsonsw on Fri Nov 23, 2012 7:59 pm

Once you can code in C, you can pretty much code in anything.


I quite agree. I wish I had pursued C early on (and Turbo Assembler..). It's challenging to revisit though, after all the hand-holding that other languages and IDEs offer.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Re: ExportHtml Plugin (rename from PrintHtml)

Postby sublimator on Sat Nov 24, 2012 2:12 am

>>> Once you can code in C, you can pretty much code in anything.

Learn C in 21 days (while mastering haskell and clojure as byproduct)

A brain once stretched or something eh?

I'll try and learn C properly one day. One day...
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Re: ExportHtml Plugin (rename from PrintHtml)

Postby facelessuser on Sat Nov 24, 2012 4:37 am

I never formally learned C; I had one intro to C class (learned about very basic programming things like for loops etc.; basically stuff I already knew) the rest I have had to teach myself on the fly because I had to program robots and embedded projects trying to get my EE degree. As engineers, it is expected we can just learn it.

I remember learning assembly. The professor took about week and gave us a crash course and a very large book on assembly programming for the Motorola HCS12 processor and that was it. Next thing I knew, I was up to my eyeballs in assembly trying to remember if I pulled everything off the stack or not...ugghh. It was the same way with Verilog code for FPGAs and such.

After you start picking up new languages, you realize they are all basically the same, it is just a matter of learning the syntax to express the logic. The trickiest part with C is having to deal with the memory stuff and dealing with data structures like link lists and such...stuff you usually don't have to do in high level languages because they garbage collect for you, they allocate the memory for you, they provide useful structures for you to use. That is what makes scripting fun, not getting bogged down by all of the memory management crap.
facelessuser
 
Posts: 1576
Joined: Tue Apr 05, 2011 7:38 pm

Re: ExportHtml Plugin (rename from PrintHtml)

Postby sublimator on Sat Nov 24, 2012 6:52 am

Yeah, I don't think I have the ability for that micromanagement. Handy to learn just enough to debug ctypes errors though.
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Previous

Return to Plugin Announcements

Who is online

Users browsing this forum: No registered users and 5 guests