On 16 February 2011 12:52, Manokaran K manoka...@gmail.com wrote:
On Wed, Feb 16, 2011 at 12:04 PM, Arun Venkataswamy arun...@gmail.com
wrote:
Not all the time, you can decide based on the logic of numbers.
Statistics
like that show what the majority of people are using. Times change.
On Fri, 2011-02-11 at 07:52 +0530, Kenneth Gonsalves wrote:
You should have started with the book The C Programming Language
by Brian Kernighan and Dennis Ritchie (2nd Edition).
yes sir - right away. I have several copies of it.
I got a fresh copy - it rocks. (although I have only
On 15/02/11 5:55 PM, Kenneth Gonsalves wrote:
I got a fresh copy - it rocks. (although I have only reached page 17, I
am confident that on this attempt I will succeed in learning C)
Good! Remember not to rush through the book. The book
feels slim, but concepts covered are indeed thick!
You
On 15 February 2011 18:06, Chandrashekar Babu l...@chandrashekar.infowrote:
On 15/02/11 5:55 PM, Kenneth Gonsalves wrote:
I got a fresh copy - it rocks. (although I have only reached page 17, I
am confident that on this attempt I will succeed in learning C)
Good! Remember not to rush
On 15/02/11 6:17 PM, Asokan Pichai wrote:
BTW, Tondo Gimpel's C Answer Book is a great
addition.
Ahem! its best to avoid buying this book before
trying all the exercises from the KR book
at-least once - as one would be tempted to peek
through the answers before even trying out the
exercises by
Hi,
There was a graph plotted by someone with stackoverflow (langauge) tags on x
axis and projects with the same programming languages on github on y axis.
They found that object C, javascript python on the top right corner,
languages like erlang on the bottom left corner.
May be this will help
On Wed, Feb 16, 2011 at 11:36 AM, Deepan Chakravarthy
codesheph...@gmail.com wrote:
Hi,
There was a graph plotted by someone with stackoverflow (langauge) tags on
x
axis and projects with the same programming languages on github on y axis.
They found that object C, javascript python on
On Wed, Feb 16, 2011 at 12:04 PM, Arun Venkataswamy arun...@gmail.comwrote:
Not all the time, you can decide based on the logic of numbers. Statistics
like that show what the majority of people are using. Times change. Also,
not everybody learns a language for their careers! I want to learn
On Thu, 2011-02-10 at 11:23 +0530, Vinod Parthasarathy wrote:
Here's one way of writing factorial in Haskell.
factorial 0=1
factorial n=n*factorial(n-1)
neat!
Nice, isn't it? Just the way you learnt it in school! Pattern matching
rules!
btw, welcome back to the list.
--
regards
KG
On 10/02/11 11:23 AM, Vinod Parthasarathy wrote:
Here's one way of writing factorial in Haskell.
factorial 0=1
factorial n=n*factorial(n-1)
And here's the pythonic way:
factorial = lambda n: n and n*factorial(n-1) or 1
Succinct :-)
Or even better:
from math import factorial #
On 02/09/2011 11:57 AM, Natarajan V wrote:
Out of personal experience, after knowing UML, switching between C++,
Visual C++, Java, Objective C and C# was trivial. You start thinking
in OOPS, and the language becomes just a language and your idea/ logic
is in OOPS. The translation becomes
Hi
Plagiarized from Cleartrips.com blog:-
http://blog.cleartrip.com/journal/2007/7/7/lisp-is-sin-and-all-data-is-code.html
I believe Lisp, as a language, attracts a very specific type of
person--and it's not the average bloke who takes computer science
classes in college or enrols in a diploma
On Thu, 2011-02-10 at 13:57 +0530, Chandrashekar Babu wrote:
And here's the pythonic way:
factorial = lambda n: n and n*factorial(n-1) or 1
lambda is not considered pythonic (by guido anyway)
--
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/
On Thu, Feb 10, 2011 at 3:19 PM, Kenneth Gonsalves
law...@thenilgiris.comwrote:
lambda is not considered pythonic (by guido anyway)
According to paul graham most of the modern languages are created by
borrowing concepts from lisp.
In his own words ( http://www.paulgraham.com/icad.html)
If
On Thu, Feb 10, 2011 at 5:12 PM, Arun SAG saga...@gmail.com wrote:
On Thu, Feb 10, 2011 at 3:19 PM, Kenneth Gonsalves
law...@thenilgiris.comwrote:
lambda is not considered pythonic (by guido anyway)
According to paul graham most of the modern languages are created by
borrowing concepts
Hi,
On 10/02/11 3:19 PM, Kenneth Gonsalves wrote:
lambda is not considered pythonic (by guido anyway)
Well, a proposal for implementing multi-line statements
in lambda was earlier rejected by Guido as the proposed
solutions were considered unpythonic. The reason being,
it was difficult to come
On 10/02/11 5:12 PM, Arun SAG wrote:
yes, lambda was borrowed from lisp and it is not pythonic.
Rather, most of python was borrowed from Modula-3. That
doesn't make python unpythonic ;-)
Cheers,
Chandrashekar
--
http://www.chandrashekar.info/
http://www.slashprog.com/
On Thu, 2011-02-10 at 17:39 +0530, Chandrashekar Babu wrote:
lambda expressions as such was not mentioned by Guido
as unpythonic anywhere.
he wanted to drop lambda and I think reduce and map - but he was made to
change his mind and reluctantly kept them.
--
regards
KG
On 10/02/11 5:59 PM, Kenneth Gonsalves wrote:
he wanted to drop lambda and I think reduce and map - but he was made to
change his mind and reluctantly kept them.
True. The lambda expressions still exist on
Python 3000 as there are no other pythonic
alternatives to create anonymous functions.
On 10/02/11 12:14 PM, Kenneth Gonsalves wrote:
However the good news is that I
seem to be getting on ok with C - feels very primitive, but the good
thing is the internet which explains all the errors and warnings. Last
three times I tried, internet had not reached India.
You should have
On Thu, Feb 10, 2011 at 12:14 PM, Kenneth Gonsalves
law...@thenilgiris.com wrote:
I have been trying to learn javascript for the past 7 years - I seem to
have some block. Just not happening. However the good news is that I
seem to be getting on ok with C - feels very primitive, but the good
On Thu, 2011-02-10 at 18:50 +0530, Chandrashekar Babu wrote:
On 10/02/11 12:14 PM, Kenneth Gonsalves wrote:
However the good news is that I
seem to be getting on ok with C - feels very primitive, but the good
thing is the internet which explains all the errors and warnings.
Last
three
Hi,
in order to improve my programming skills, I am contemplating learning a
new language. Not a scripting language - something else. So far my
research indicates either C or C++ - recommendations?
IMHO you can learn C and skip C++, assuming that you
already know Python (as C++ merely adds OO
Hi,
On 02/09/2011 11:13 AM, Kenneth Gonsalves wrote:
hi,
in order to improve my programming skills, I am contemplating learning a
new language. Not a scripting language - something else. So far my
research indicates either C or C++ - recommendations?
I'd say learn C only if you are
Hi,
On Wed, Feb 9, 2011 at 2:04 PM, steve st...@lonetwin.net wrote:
Patterns. I've yet to see UML being successfully (and /effectively/) used in a
real-world non-academic setup.
Motorola has been using UML and other model driven engg./testing
for many many years now. UML/SDL kind of
Hi,
--- On Wed, Feb 9, 2011 at 12:00 PM, Kenneth Gonsalves
law...@thenilgiris.com wrote:
| haskell sounds interesting - but is it used much?
\--
Haskell in the industry:
http://www.haskell.org/haskellwiki/Haskell_in_industry
SK
--
Shakthi Kannan
http://www.shakthimaan.com
On Wed, Feb 9, 2011 at 2:04 PM, steve st...@lonetwin.net wrote:
I'd say learn C only if you are interested in systems programming. There just
is
no way to do systems programming and /not/ know C -- but that's about the only
thing C would be useful for these days.
Since you know python, you
On Wed, 2011-02-09 at 13:55 +0530, Chandrashekar Babu wrote:
in order to improve my programming skills, I am contemplating
learning a
new language. Not a scripting language - something else. So far my
research indicates either C or C++ - recommendations?
IMHO you can learn C and skip
Hi
How about FreePascal and its IDE, Lazarus? http://freepascal.org and
http://lazarus.freepascal.org.
Object oriented, Platform independent and OS independent, write once,
compile anywhere, GTK/QT/Windows toolkit support Any of the old
Delphi VCL guys would appreciate. Too quaint for
On Wed, Feb 9, 2011 at 6:43 AM, Kenneth Gonsalves
law...@thenilgiris.com wrote:
in order to improve my programming skills, I am contemplating learning a
new language. Not a scripting language - something else. So far my
research indicates either C or C++ - recommendations?
Famous quote:
On Wed, 2011-02-09 at 09:41 +, Nataraj S Narayan wrote:
How about FreePascal and its IDE, Lazarus? http://freepascal.org and
http://lazarus.freepascal.org.
I forgot to add that I used turbo pascal from 87 to 92 and do not want
to go back
--
regards
KG
http://lawgon.livejournal.com
Hi,
On 02/09/2011 03:10 PM, Kenneth Gonsalves wrote:
On Wed, 2011-02-09 at 13:55 +0530, Chandrashekar Babu wrote:
in order to improve my programming skills, I am contemplating
learning a
new language. Not a scripting language - something else. So far my
research indicates either C
Hi Aanjhan,
Comparing these two recursive factorials in Lisp and C
(define factorial
(lambda (n)
(if ( n 1)
1
( * n (fact (- n 1))
int factorial(int i)
{
if (i1)
return (i * factorial(i-1));
}
Pardon me for a flawed logic.
Lisp code does look cool to me. Much more
Hi Ken
FPC does'nt look like TP at all, its more in lines of VB and Delphi.
Just that the syntax is Pascalish style. Everything derived from a
TObject. Of course, you are free to go without objects, if you
choose, the old procedural way. In that too, I like the nested
procedures and its
On Wed, 2011-02-09 at 10:58 +, Nataraj S Narayan wrote:
Maybe you tried Ruby?
ouch
--
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/
___
ILUGC Mailing List:
Oh no! sorry for hitting you where is hurts.
May be you are looking for something which fires you up in the cool of Nilgiris.
How about some good ol' assembler?
Program main;
function fact(x : integer):integer;assembler;
label
loop;
asm
.text
.align 2
mov r1,r0
mov r2,#1
loop:
How to train your brain to flip to a new language
:
http://www.bitesizeirishgaelic.com/blog/self-learning-non-widespread-languages/
-V
http://blizzardzblogs.blogspot.com/
___
ILUGC Mailing List:
http://www.ae.iitm.ac.in/mailman/listinfo/ilugc
On Wednesday 09 February 2011 11:48 AM, Arun SAG wrote:
I'd suggest lisp http://www.landoflisp.com/ or haskell.
+1. Every time I'm feeling rather chuffed that I managed to crack a hard
problem, I go back and try some functional programming. It quickly
brings me back to the familiar I'm not
Hi,
I think learning C would be good for a start. One advantage of C is that
it is the most used language of the kernel. So if you're interested in kernel
programming, C is a must have.
I've heard that the book Deep C Secrets written by an Indian author is a good
place to start.
With
On Feb 9, 2011 11:15 AM, Kenneth Gonsalves law...@thenilgiris.com wrote:
in order to improve my programming skills, I am contemplating learning a
new language. Not a scripting language - something else.
Still a scripting language, but do have a look at JavaScript. It has more
features and
On 9 February 2011 11:48, Arun SAG saga...@gmail.com wrote:
On Wed, Feb 9, 2011 at 11:13 AM, Kenneth Gonsalves
law...@thenilgiris.comwrote:
in order to improve my programming skills, I am contemplating learning a
new language. Not a scripting language - something else. So far my
research
On 9 February 2011 16:02, Nataraj S Narayan natara...@gmail.com wrote:
Hi Aanjhan,
Comparing these two recursive factorials in Lisp and C
(define factorial
(lambda (n)
(if ( n 1)
1
( * n (fact (- n 1))
int factorial(int i)
{
if (i1)
return (i *
On 9 February 2011 12:00, Kenneth Gonsalves law...@thenilgiris.com wrote:
On Wed, 2011-02-09 at 11:48 +0530, Arun SAG wrote:
in order to improve my programming skills, I am contemplating
learning a
new language. Not a scripting language - something else. So far my
research indicates
On Thu, 2011-02-10 at 10:50 +0530, Raja Subramanian wrote:
On Feb 9, 2011 11:15 AM, Kenneth Gonsalves law...@thenilgiris.com
wrote:
in order to improve my programming skills, I am contemplating
learning a
new language. Not a scripting language - something else.
Still a scripting
hi,
in order to improve my programming skills, I am contemplating learning a
new language. Not a scripting language - something else. So far my
research indicates either C or C++ - recommendations?
--
regards
KG
http://lawgon.livejournal.com
Coimbatore LUG rox
http://ilugcbe.techstud.org/
On Wed, Feb 9, 2011 at 11:13 AM, Kenneth Gonsalves
law...@thenilgiris.com wrote:
hi,
in order to improve my programming skills, I am contemplating learning a
new language. Not a scripting language - something else. So far my
research indicates either C or C++ - recommendations?
C++ is good.
On Wed, Feb 9, 2011 at 11:13 AM, Kenneth Gonsalves
law...@thenilgiris.comwrote:
in order to improve my programming skills, I am contemplating learning a
new language. Not a scripting language - something else. So far my
research indicates either C or C++ - recommendations?
I'd suggest lisp
On Wed, Feb 9, 2011 at 11:36 AM, Sathishkumar Duraisamy
flowers...@gmail.com wrote:
On Wed, Feb 9, 2011 at 11:13 AM, Kenneth Gonsalves
law...@thenilgiris.com wrote:
new language. Not a scripting language - something else. So far my
research indicates either C or C++ - recommendations?
C++ is
On 9 Feb 2011 11:49, Arun SAG saga...@gmail.com wrote:
On Wed, Feb 9, 2011 at 11:13 AM, Kenneth Gonsalves
law...@thenilgiris.comwrote:
in order to improve my programming skills, I am contemplating learning
a
new language. Not a scripting language - something else. So far my
research
On Wed, 2011-02-09 at 11:48 +0530, Arun SAG wrote:
in order to improve my programming skills, I am contemplating
learning a
new language. Not a scripting language - something else. So far my
research indicates either C or C++ - recommendations?
I'd suggest lisp
On Wed, Feb 9, 2011 at 12:00 PM, Salvadesswaran Srinivasan
mailing-li...@strider.in wrote:
On 9 Feb 2011 11:49, Arun SAG saga...@gmail.com wrote:
I'd suggest lisp http://www.landoflisp.com/ or haskell.
+1 for LISP
I got an intro to LISP from iLUGc .. on emacs LISP. It helped me to
scrpit in
On Wed, Feb 9, 2011 at 12:00 PM, Kenneth Gonsalves
law...@thenilgiris.comwrote:
haskell sounds interesting - but is it used much? no point learning
something that is only used by 2.5 people in Sweden ;-)
That sounds familiar :-). If you are not convinced yet please go through the
comic strip
52 matches
Mail list logo